summaryrefslogtreecommitdiffstats
path: root/ocata
AgeCommit message (Collapse)AuthorFilesLines
2018-07-04Add logic to backlog for VM fault event for ocataYun Huang3-0/+103
place the MultiCloud proxy endpoint into backlog so later the worker will query VM status via MultiCloud Change-Id: Id9cfba9c411b6aecf23f0dfd221c68d5a806f076 Issue-ID: MULTICLOUD-230 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-07-04Add outer loop to build&store backlogs for ocataYun Huang1-1/+69
Post action will build and store all backlogs pertaining to a single VIM instance Change-Id: I96547797a9e61d4082d94e6ed6e5a7e4e229d2db Issue-ID: MULTICLOUD-230 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-07-04Add API to configure VESagent for ocataYun Huang3-0/+222
VESagent is designed to monitor FACAPS and report to VES Change-Id: I1f6239ec7ba4683a58335d1eaafc71806a80cfe3 Issue-ID: MULTICLOUD-230 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-06-12Fix project environmentVictor Morales1-1/+2
The PROJECT environment seems to be provided by Jenkins job, as result that the default "openstack" value is used during the creation of the image. This behaviour causes different names. This change fixes the default value for the PROJECT enviroment variable. Change-Id: Ice521ecf58b4fe111553561e60dae92172248025 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: MULTICLOUD-242
2018-06-12Provide default value for AAI_SERVICE_URLYun Huang1-1/+5
In the MultiCloud HPA CSIT, the setup.sh script requires to control the value of AAI_SERVICE_URL in order to avoid the use of certificates. when AAI_SERVICE_URL not be set by CSIT, the system need to provide a default value. Change-Id: I70dd7074162f75d2d26aa6580da454ea369910ce Issue-ID: MULTICLOUD-244 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-06-12Bump version after Beijing releaseYun Huang2-3/+3
Bump version from 1.1.2 to 1.2.0 Change-Id: I72d8f5ba7fef9546120222f1d76133cc1fbf8341 Issue-ID: MULTICLOUD-245 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-06-05Fix check capacity exception for newton and ocatav1.1.22.0.0-ONAP2.0.0-ONAPYun Huang1-7/+23
Change-Id: I6ed7722ee0a8e4148d9a0ed9414c736187bdedf3 Issue-ID: MULTICLOUD-168 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-06-05Remove inactive code for imagefile APIYun Huang2-217/+0
Change-Id: Ifa8f3bdf763bbf9e15c1de904a8708065d03ceb3 Issue-ID: MULTICLOUD-207 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-05-17Fix logger setting errorBin Yang1-1/+1
Change-Id: I3cca48226d5a18bfb650aa11c609d83d5fdc2456 Issue-ID: MULTICLOUD-235 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2018-05-17Merge "Fix hpa-attribute-value string format for ocata"Bin Hu1-27/+64
2018-05-17Merge "Add console logging output"Bin Hu6-36/+21
2018-05-17Fix hpa-attribute-value string format for ocataYun Huang1-27/+64
Change-Id: I4dd803f986a08fd5fbbe34dd3dc1511d3cc9c501 Issue-ID: MULTICLOUD-232 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-05-16Fix AAI_SERVICE_URL env in Ocata DockerfileVictor Morales1-1/+1
The AAI_SERVICE_URL environment variable requires to be set into the Dockerfile. This change provides an empty default value. Change-Id: I4c10c1b877af1b725e57fe4c0f04eebe8c60ae6f Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: MULTICLOUD-214
2018-05-14Merge "Fix hpa registration cloud_extra_info format"Bin Yang1-0/+7
2018-05-14Fix ovsdpdk registration version nameHaibin Huang1-1/+1
Change-Id: I8c7797c2a8c22e0107cf5805d5fae609afc75561 Issue-ID: MULTICLOUD-206 Signed-off-by: Haibin Huang <haibin.huang@intel.com>
2018-05-14Fix hpa registration cloud_extra_info formatHaibin Huang1-0/+7
Change-Id: Ie597bc2b93a7538138558a38b33e1014c2364687 Issue-ID: MULTICLOUD-206 Signed-off-by: Haibin Huang <haibin.huang@intel.com>
2018-05-11Add console logging outputVictor Morales6-37/+22
The log.yml is configured to place the log entries in a file to be collected by the ONAP logging project. But for containerized deployments, it's better to place then into the standard output. This commit adds the console log handler. Change-Id: If325780c1739490adeb731dfbd13e2f1b8a9e3f4 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: MULTICLOUD-214
2018-05-08Add AAI_SERVICE_URL environment variableVictor Morales2-2/+3
The settings.py file uses the values of AAI_ADDR and AAI_PORT to create AAI_SERVICE_URL config value. This last value uses a template which contains the https protocol. Using secure protocols are good practice for production deployments but can be a restriction during testing. This change allows to modify this value. Change-Id: Idc7b0b709caf79e03c2f66774ef780223b913946 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: MULTICLOUD-214
2018-05-04Add logging AOP middleware for ocataYun Huang3-1/+67
Change-Id: I62d7397306805425559f0b2bb4829518d0ccf276 Issue-ID: MULTICLOUD-220 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-04-28Fix HPA registration bug for ocataYun Huang1-24/+24
Change-Id: Ie3f97c99d1e328f449893868baa521e0408a40a4 Issue-ID: MULTICLOUD-206 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-04-26Merge "Fix the token parse issue while get openstack auth"Bin Yang5-5/+5
2018-04-27Fix the token parse issue while get openstack authliboNet5-5/+5
remove the mismatch \r sign and use cat -v to show the exact result Change-Id: Ida7da6da7dbb0eb9bfe67e470bbfbe892505f90d Issue-ID: MULTICLOUD-200 Signed-off-by: liboNet <libo.zhu@intel.com>
2018-04-25Bump and align versionsYun Huang2-3/+3
Change-Id: I8e92f27271b01c9d5e0f3897b9e7f60aa4b8db75 Issue-ID: MULTICLOUD-215 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-04-25Fix HPA registration bug for ocataYun Huang1-73/+73
Change-Id: Id5193e118161a52411cb2d11a30b5b9af03be5c6 Issue-ID: MULTICLOUD-206 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-04-23Fix some minor issues in codebaseShashank Kumar Shankar1-1/+1
Fixes some minor issues found when writing CSIT tests. Change-Id: I44d2bbc3a661b44824cc98eaf7588a74bac02f8e Issue-ID: MULTICLOUD-214 Signed-off-by: Shashank Kumar Shankar <shashank.kumar.shankar@intel.com>
2018-04-23Fix flavor UT test dataYun Huang1-2/+2
Change-Id: I363373bf51728ae1b3fd0ddfdf8466b4beb851c8 Issue-ID: MULTICLOUD-206 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-04-20Fix log format for ocataYun Huang1-4/+3
Change-Id: Ia31c5378be32581a294fb76992f9c1ccb4095f67 Issue-ID: MULTICLOUD-178 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-04-20Fix HPA memorypagesize unit issue for ocataYun Huang1-2/+15
Change-Id: I5f5d50720b0e4e81cbe22c77499c00a862d639ad Issue-ID: MULTICLOUD-206 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-04-20Update AAI schema version for ocataYun Huang3-3/+3
Change-Id: I3c0e10ea28c92dcdc645cf1686e92272b370c607 Issue-ID: MULTICLOUD-179 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-04-20Fix ocata registration test and implementationliboNet2-5/+5
fix the typo of cpupinning feature and rename its function name remove the unit of ram size, the MB is the agreement unit in openstack Change-Id: Ia798cfa85edc5821a536db7f5ba5335dc7948b4b Issue-ID: MULTICLOUD-200 Signed-off-by: liboNet <libo.zhu@intel.com>
2018-04-14Fix ocata test multicloud issueliboNet1-1/+1
Change-Id: I7878cbaeabe4aa163bf7e1bc080d75e5329488cc Issue-ID: MULTICLOUD-200 Signed-off-by: libo zhu <libo.zhu@intel.com>
2018-03-29Add image API for ocataYun Huang3-0/+231
Change-Id: Ic39982c232428ef277fa37aa540a5e69bc01ce37 Issue-ID: MULTICLOUD-207 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-03-28ocata test_register_pcipassthrough_successfullyYun Huang2-11/+49
Change-Id: I8be683ecd85b88481876c150deae55e460f5bcaa Issue-ID: MULTICLOUD-206 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-03-28ocata test_register_instructionset_successfullyYun Huang1-0/+38
Change-Id: Iec05cb7a735279ac87f24e9deb4bd5aa15ec9558 Issue-ID: MULTICLOUD-206 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-03-28ocata test_register_hpa_numa_successfullyYun Huang1-0/+44
Change-Id: I0e19f41161481a328e3f16454249a068e43fc7d2 Issue-ID: MULTICLOUD-206 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-03-28ocata test_register_hpa_hugepage_successfullyYun Huang2-16/+82
Change-Id: Ib4b4aa415d32fde8d8ca0736f9b06b754e8757d0 Issue-ID: MULTICLOUD-206 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-03-28ocata test_register_hpa_cputopology_successfullyYun Huang1-0/+41
Change-Id: I69b8284ee951cfde0c108c69adac3b4a1da204bd Issue-ID: MULTICLOUD-206 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-03-28ocata test_register_hpa_cpupining_successfullyYun Huang1-83/+75
Change-Id: I1ea3349660158842df891ddf824965b6a85ea9de Issue-ID: MULTICLOUD-206 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-03-28Enhancement ocata HPA functionYun Huang1-270/+238
Change-Id: If2a92be6cd65d4233d60fde465eedb8e1cc8ad97 Issue-ID: MULTICLOUD-206 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-03-28Fix ocata registration UT bugYun Huang1-9/+9
Change-Id: I65ba771e013615464e7c0bbce3bf19d694d33bef Issue-ID: MULTICLOUD-200 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-03-28Ocata capacity_check_volume_limits_outofstorageYun Huang1-0/+33
Change-Id: I30528936349d45225217f8ee0df348aa24d73bb2 Issue-ID: MULTICLOUD-203 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-03-28Ocata test_capacity_check_nova_limits_outoframYun Huang1-0/+31
Change-Id: I7ff4321cb3af69e66c09bc62fc9a94ae4134e71d Issue-ID: MULTICLOUD-203 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-03-28Ocata capacity_check_nova_hypervisor_outofvcpuYun Huang1-0/+31
Change-Id: Ib603915bdc66cc8b905eae9d25df88473678f0f0 Issue-ID: MULTICLOUD-203 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-03-28Ocata UT for capacity_check fail in hypervisorYun Huang1-0/+31
fail due to out of storage Change-Id: I82644ff666d3b9930e4536edd2730af04f2760f3 Issue-ID: MULTICLOUD-203 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-03-28Ocata UT for capacity_check fail in hypervisorYun Huang1-0/+31
fail due to out of RAM Change-Id: I8fdc222fdcd915ec40b846b2e1570b1b6f875bc1 Issue-ID: MULTICLOUD-203 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-03-28Fix bug of capacity_check for ocataYun Huang1-9/+9
Change-Id: I945a06451647324edcf7bcb86e664479311e4ed0 Issue-ID: MULTICLOUD-168 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-03-27Add ocata UT for token test with project idYun Huang1-0/+56
Change-Id: I7a94863de682412e42b9ceff9e0f611ef6c6ecda Issue-ID: MULTICLOUD-203 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-03-27Add ocata UT for v2.0 token API with tenant nameYun Huang1-0/+51
Change-Id: I0c82642b23cda80ab3b723c58efd14a4d8867590 Issue-ID: MULTICLOUD-203 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-03-27Add ocata UT for token request with project nameYun Huang1-0/+59
Change-Id: I38500b955a542f0ead4e7e7b9e00ac28d5b22adc Issue-ID: MULTICLOUD-203 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-03-27Fix UT capacity check url for ocataYun Huang1-6/+4
Change-Id: I114f21e43139df5be5a2764acdba4da9426d5563 Issue-ID: MULTICLOUD-168 Signed-off-by: Yun Huang <yun.huang@windriver.com>