summaryrefslogtreecommitdiffstats
path: root/windriver/titanium_cloud/resource
AgeCommit message (Collapse)AuthorFilesLines
2019-01-28Extract some code to shareHaibin Huang4-730/+2
Change-Id: I6dffc1bf47c5839f077f3c7f93f021ed0b414d24 Issue-ID: MULTICLOUD-428 Signed-off-by: Haibin Huang <haibin.huang@intel.com>
2018-11-30Fix issue of Delete Infra_workloadXiaohua Zhang1-0/+6
Enforce client to pass in workload_id Change-Id: I017321920aad665bee352499e0b43f5c5db5898c Issue-ID: MULTICLOUD-423 Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
2018-11-27Fix pep8 errors in windriver pluginXiaohua Zhang7-307/+374
Fix errors in resource module Change-Id: I59d43b3c62928bdacffc7fcd6f4c1c8055412e59 Issue-ID: MULTICLOUD-420 Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
2018-11-10Support infra_workload api without oof_directivesBin Yang2-3/+65
Change-Id: I8eb05ff2acdef8811b3eec8e1a0efe47b12bdd73 Issue-ID: MULTICLOUD-401 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2018-10-25Add UT of SRIOV-NIC infra workload for windriverHuang Haibin1-1/+10
Change-Id: Ib4093e5e9eeb2371a8e904ead8b0d36b1fe32c3e Issue-ID: MULTICLOUD-250 Signed-off-by: Huang Haibin <haibin.huang@intel.com>
2018-10-25Add SRIOV-NIC infra workload for windriverHuang Haibin1-1/+1
Change-Id: I33c46dd14227db76467f914e749b30a306ecb90e Issue-ID: MULTICLOUD-250 Signed-off-by: Huang Haibin <haibin.huang@intel.com>
2018-10-12Fix bug in infra_workloadXiaohua Zhang1-8/+10
Pass template data to underlying VIM to instantiate a stack Change-Id: Ibad0d8bb0ecf82b05234ba433f5bbad8d3476cc7 Issue-ID: MULTICLOUD-375 Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
2018-09-21Implement heatdelete to remove vservers from AAIXiaohua Zhang1-2/+65
Change-Id: I5c81fb3f01e08ee5c43107d7d59fdf4bf3a1d803 Issue-ID: MULTICLOUD-361 Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
2018-09-20Fix bug of infra_workloadXiaohua Zhang1-3/+3
Remove region filter for identity endpoint Change-Id: I944b42926b4c5d5de8799de9c68b2b7e8bac5017 Issue-ID: MULTICLOUD-361 Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
2018-09-20Filter endpoint filter mismatch with keystoneauth1Xiaohua Zhang1-1/+1
keystoneauth1 accept region_name as endpoint filter, which will match either region_id or region of the endpoint catalog Change-Id: I7ba1f7904e4b3004565d826f4ea3cd345ce45f62 Issue-ID: MULTICLOUD-364 Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
2018-09-19Implement infra_workload delete APIXiaohua Zhang2-10/+52
Change-Id: I16f198e44810278eafb5be08ed88268911554f57 Issue-ID: MULTICLOUD-358 Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
2018-09-18Add UT for infra_workloadXiaohua Zhang2-2/+216
Change-Id: I037cc563c373765f1423c655bbc8760f96046abe Issue-ID: MULTICLOUD-358 Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
2018-09-18Implement POST and GET API for infra_workloadXiaohua Zhang1-38/+106
Change-Id: I7152f2738b0e30075dd0aebb17d74f806dc48b34 Issue-ID: MULTICLOUD-358 Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
2018-09-15Add heatbridge handlerBin Yang1-13/+161
Embedded the heatbridge handler into GET API Add multicloud api helper Change-Id: I96bd5e555dbcaa08d5ac5ac132c004a690f2e41d Issue-ID: MULTICLOUD-264 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2018-09-03Add new namespace to workaround ISTIO hostnameBin Yang3-474/+7
ISTIO restrains the usage of _ in hostname Issue-ID: MULTICLOUD-335 Change-Id: I54c712aea1a95c6aaac7d50c3b07472730608503 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2018-08-27Add API handler stub for infra_workloadXiaohua Zhang1-0/+153
API handler stub for API infra_workload Change-Id: Icad08493fdcc12c1bc8225e0c81567d7d3c156be Issue-ID: MULTICLOUD-338 Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
2018-08-27Fix subclass init issueXiaohua Zhang1-2/+3
All subclass should invoke parent class __init__() Change-Id: Id7537156dc65f4c4739d2b70cc705d2ff39f4ff0 Issue-ID: MULTICLOUD-337 Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
2018-08-17multi-region discoveryBin Yang2-10/+16
Decouple the openstack region id from cloud-region-id Change-Id: If4bfacf05d87ca4bc97a485d4153f4f379ad451a Issue-ID: MULTICLOUD-311 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2018-08-15API upgrading for OPENOAPIBin Yang1-2/+3
Change-Id: I8d0fdc7671d9333ee24e77dda9e07c32a0767950 Issue-ID: MULTICLOUD-297 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2018-08-14Upgrade API for capacity_checkBin Yang1-0/+13
Change-Id: If53c734294907eb4a4d108a2c7e81d537c53eb8f Issue-ID: MULTICLOUD-297 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2018-06-05Fix check capacity exception for newton and ocatav1.1.22.0.0-ONAP2.0.0-ONAPYun Huang1-6/+6
Change-Id: I6ed7722ee0a8e4148d9a0ed9414c736187bdedf3 Issue-ID: MULTICLOUD-168 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-05-24Fix non-administator check capacity exceptionYun Huang1-7/+20
Change-Id: I6c27713a1c36abeacb37ab6012ec23587a262e5d Issue-ID: MULTICLOUD-168 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-03-28Add TC capacity_check_volume_limits_outofstorageYun Huang1-0/+33
Change-Id: Ifdcf210cc49713bf6d183146a2da402238fde9ae Issue-ID: MULTICLOUD-203 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-03-28Add TC test_capacity_check_nova_limits_outoframYun Huang1-0/+31
Change-Id: I4c398e8446493df4fc1ea293c30adf64b0662b64 Issue-ID: MULTICLOUD-203 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-03-28Add TC test_capacity_check_hypervisor_outofvcpuYun Huang1-0/+29
Change-Id: I870baa2222893f23c5226e5cb8a1ace3efca5532 Issue-ID: MULTICLOUD-203 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-03-28Add TC UT for capacity_check fail in hypervisorYun Huang1-0/+32
fail due to out of storage Change-Id: I65e345fa3d33a04e39f78ac1c2c6e298b662f045 Issue-ID: MULTICLOUD-203 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-03-28Add UT for capacity_check fail due to hypervisorYun Huang1-0/+32
fail due to out of RAM Change-Id: I0c9fecc01e3b058dd08fb9725eda7c6ad86e7423 Issue-ID: MULTICLOUD-168 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-03-28Fix bug of capacity_check for TCYun Huang1-9/+9
Change-Id: I6644e83643bc4aecf5856dd733403bbc72ca3375 Issue-ID: MULTICLOUD-168 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-03-27Fix capacity check url for TCYun Huang1-6/+4
Change-Id: I271b6b463a7d4a70f8a5493e4bf2ec35b2f4b047 Issue-ID: MULTICLOUD-168 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-03-27Add UT event/alert check successfully for TCYun Huang2-3/+365
Change-Id: Id1d966c413dbcabbec7a2bbae999028061fae4ff Issue-ID: MULTICLOUD-204 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-03-27Add event/alert check api for TCYun Huang1-0/+102
Change-Id: I302b48882278746862917e79c39d635c9397ac52 Issue-ID: MULTICLOUD-204 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-03-26Enhance logging coverage for API capacity_checkYun Huang1-2/+14
Change-Id: I0272053bb3bc072548c28e1649939c92998685fe Issue-ID: MULTICLOUD-177 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-03-22Windriver UT for capacity check nova limits failedYun Huang1-0/+29
Change-Id: I7d03aff43bc97dad895b63ddfb6efd2185ad0810 Issue-ID: MULTICLOUD-168 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-03-19ADD UT for capacity check successfullyYun Huang3-4/+110
Change-Id: Ie9684d68991b401572a6712d9771ce9dd60d5778 Issue-ID: MULTICLOUD-168 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-03-12Add capacity_check to Titanium Cloud pluginYun Huang3-0/+145
Change-Id: If4fbec8989c82a2908b270761a6e6af30a02acb7 Issue-ID: MULTICLOUD-168 Signed-off-by: Yun Huang <yun.huang@windriver.com>