summaryrefslogtreecommitdiffstats
path: root/ocata
AgeCommit message (Collapse)AuthorFilesLines
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-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>
2018-03-27Disable DEBUG mode for MC plugin ocataYun Huang6-7/+7
Change-Id: I89e0d449b430e8a9fc0b0785d87c4a21425a4247 Issue-ID: MULTICLOUD-196 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-03-27Add UT event/alert check successfully for ocataYun Huang2-3/+365
Change-Id: Ic55faacbd568edc8b3f5ba8566105ea0bf14298d Issue-ID: MULTICLOUD-204 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-03-27Add event/alert check api for ocataYun Huang2-0/+106
Change-Id: I63725749d71182ef6729b3ce50c1a373b85fdbf2 Issue-ID: MULTICLOUD-204 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-03-27Merge "Modify hpa json format unit test"Bin Yang1-35/+9
2018-03-27Update ovsdpdk of hpa to AAI flavorHuang Haibin1-0/+16
Change-Id: I59eb91e9641e2016e307c8f0ae034edf7c03472c Issue-ID: MULTICLOUD-195 Signed-off-by: Huang Haibin <haibin.huang@intel.com>
2018-03-27Modify hpa json format unit testHuang Haibin1-35/+9
Change-Id: I83e8437a8b9227ecd902632a9df0ebae098111ac Issue-ID: MULTICLOUD-194 Signed-off-by: Huang Haibin <haibin.huang@intel.com>
2018-03-26Add UT for ocata token v2 identityYun Huang1-0/+43
Change-Id: I79d0137277541282fc1fda57357fce7a4de17d23 Issue-ID: MULTICLOUD-203 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-03-27Modify hpa json formatHuang Haibin1-116/+115
Change-Id: I9ab7f08b04811d6f7d00f008a1ea0e04aea33f4d Issue-ID: MULTICLOUD-194 Signed-off-by: Huang Haibin <haibin.huang@intel.com>
2018-03-24Merge "Update ovsdpdk of hpa to AAI"Bin Hu1-0/+94
2018-03-25Update ovsdpdk of hpa to AAI unit testHuang Haibin1-1/+38
Change-Id: Ic73a6e99b4f1082ab7423cf96c917b0c5db566f9 Issue-ID: MULTICLOUD-195 Signed-off-by: Huang Haibin <haibin.huang@intel.com>
2018-03-24Update ovsdpdk of hpa to AAIHuang Haibin1-0/+94
Change-Id: Ie8d89e272f3cc29e5cef7e7ac100c23bd5975249 Issue-ID: MULTICLOUD-195 Signed-off-by: Huang Haibin <haibin.huang@intel.com>
2018-03-22Ocata UT for capacity check nova limits failedYun Huang2-0/+30
Change-Id: I35ada8f65c37fadf47dc36fa05e209bbde5726ed Issue-ID: MULTICLOUD-168 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-03-21Update pci passthrough of HPA to AAI unit testHuang Haibin1-4/+11
Change-Id: Ic88bbad22f01d9d9d63013f5ec0814425a36bd6d Issue-ID: MULTICLOUD-194 Signed-off-by: Huang Haibin <haibin.huang@intel.com>
2018-03-21Ocata UT for capacity check successfullyYun Huang2-0/+106
Change-Id: I1a1720e073d6906cb0969e1765c0fd6a924b87f2 Issue-ID: MULTICLOUD-168 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-03-21Merge "Update CPU IA extension of HPA to AAI unit test"zhang ab1-0/+7
2018-03-21Update CPU IA extension of HPA to AAI unit testHuang Haibin1-0/+7
Change-Id: I42be506ad157bfb609a4f7aea42034a09727cfb6 Issue-ID: MULTICLOUD-193 Signed-off-by: Huang Haibin <haibin.huang@intel.com>