summaryrefslogtreecommitdiffstats
path: root/windriver/titanium_cloud
AgeCommit message (Collapse)AuthorFilesLines
2019-04-10Fix bug of AZ cap checkXiaohua Zhang2-8/+8
Fix bugs in restcall module update the status code of workload api Remove unused event api from lenovo Change-Id: Iaa16bc3aca42c4583408384c73802ff4debe1b19 Issue-ID: MULTICLOUD-542 Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
2019-04-09Fix bugs for infra_workload APIsXiaohua Zhang1-2/+2
Change-Id: Ieda8b2f7f68911bc348613cf7b18b40ea800b1e2 Issue-ID: MULTICLOUD-541 Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
2019-04-04Fix thread helper bugXiaohua Zhang1-1/+1
the uwsgi disable threads by default. Enable it with additonal option. The post and get API request might routed to different uwsgi process, Leverage memcached to sync backlog items between uwsgi process Change-Id: Iaac6b66061f2c396cd24825ab020f0a937dfb505 Issue-ID: MULTICLOUD-561 Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
2019-04-04Add os-interface api for serverfujinhua2-0/+8
Change-Id: Ia9f98d3ba841dd70d0969334d86dbbd3a0f6ac0e Issue-ID: MULTICLOUD-565 Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
2019-04-02Integrate heatbridge logic to infra_workload APIBin Yang1-26/+53
Offload the heatbridge to thread Change-Id: I66c32e7ee30a40542e6ba75087d7d88caaf0c640 Issue-ID: MULTICLOUD-561 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2019-04-02Refactor helper codesBin Yang2-5/+5
Move helper thread to common module Refactor the interface between helper thread and worker Change-Id: I0b61a2ed1a428f67cfbe3cc1411ace39e245932d Issue-ID: MULTICLOUD-554 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2019-04-01Initiate a thread to handle registryBin Yang1-4/+4
To prevent the registry API timeout by offloading the time-consuming registry to a thread Change-Id: I1107bb7f3d9a11bdae4d0a5926f788bc2a534bda Issue-ID: MULTICLOUD-554 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2019-03-08Add https support for multicloud windriver pluginXiaohua Zhang2-0/+50
The https endpoint can be enabled by setting env: SSL_ENABLED=true Change-Id: I4a081bc47bf7be62ddc87407344d2cd580bba5b7 Issue-ID: MULTICLOUD-519 Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
2019-03-04Remove vesagent and celeryXiaohua Zhang14-1727/+0
The vesagent has been moved to fcaps module Change-Id: I938df03374ca887d4f455f206d398491010a9361 Issue-ID: MULTICLOUD-499 Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
2019-01-28Extract some code to shareHaibin Huang9-1078/+10
Change-Id: I6dffc1bf47c5839f077f3c7f93f021ed0b414d24 Issue-ID: MULTICLOUD-428 Signed-off-by: Haibin Huang <haibin.huang@intel.com>
2018-12-21Workaround region list failureBin Yang1-27/+42
keystone api v2.0 does not support region list workaround this by using user input parameters Change-Id: I1df695308eda470ed281bc43abbd43e60d3d5713 Issue-ID: MULTICLOUD-429 Signed-off-by: Bin Yang <bin.yang@windriver.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 Zhang11-293/+360
Fix errors in vesagent Change-Id: I9cb0afda7a17a08246fcee8439e1ef2775609948 Issue-ID: MULTICLOUD-420 Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
2018-11-27Fix pep8 errors in windriver pluginXiaohua Zhang9-309/+374
Fix errors in resource module Change-Id: I59d43b3c62928bdacffc7fcd6f4c1c8055412e59 Issue-ID: MULTICLOUD-420 Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
2018-11-27Fix pep8 errors in multicloud pluginXiaohua Zhang6-109/+98
Fix pep8 errors in registration moduel Change-Id: I4b1d3ef1ed397c537b7904f229c0bbc07796a97e Issue-ID: MULTICLOUD-420 Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
2018-11-27Fix pep8 errors in multicloud pluginXiaohua Zhang7-1175/+1174
Fix pep8 errors in proxy module Change-Id: Iea570d7cdf822cf7788ec7094c46b801b0a8c8d1 Issue-ID: MULTICLOUD-420 Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
2018-11-27Fix pep8 errors in windriver pluginXiaohua Zhang10-32/+24
Fix pep8 errors in swagger,sample and extension Change-Id: I255c08565b7eaf175b9d7506596957ecb2887452 Issue-ID: MULTICLOUD-420 Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
2018-11-27Fix pep8 error in windriver pluginXiaohua Zhang7-11/+9
Change-Id: Ifff45168c2647b20cacaf4b3ee0413f9a8a824a7 Issue-ID: MULTICLOUD-420 Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
2018-11-22Add server action for windriver APIv1Haibin Huang1-0/+2
Change-Id: Iebab7cdf4b9e9190a32e3ce05aaca6fbb4901b76 Issue-ID: MULTICLOUD-414 Signed-off-by: Haibin Huang <haibin.huang@intel.com>
2018-11-22Add server action for windriver APIv0Haibin Huang1-2/+2
Change-Id: Ib6dca8c162644ba99ea04f5dd9c87ffde34bda8e Issue-ID: MULTICLOUD-414 Signed-off-by: Haibin Huang <haibin.huang@intel.com>
2018-11-22Add reboot guest APIv0 for windriverHaibin Huang1-0/+2
Change-Id: Iea88d66468d10364e05072e206bbe60c7e726e5f Issue-ID: MULTICLOUD-414 Signed-off-by: Haibin Huang <haibin.huang@intel.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-11-09Fixed SRIOV-NIC extra-specs format3.0.0-ONAP1.2.1Haibin Huang1-0/+39
Change-Id: I479a30ca663dd9c23fab6556dc32e8dc06400489 Issue-ID: MULTICLOUD-400 Signed-off-by: Haibin Huang <haibin.huang@intel.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-12Change the generated cloud region id1.2.0Xiaohua Zhang1-1/+1
Avoid usage of dot Change-Id: I685b2d87a413beadc56fc904d32064f6dc177a79 Issue-ID: MULTICLOUD-364 Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.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-10-12Fix vimid typo when updating multi-regions in AAIXiaohua Zhang1-1/+2
Change-Id: I51cce54c47ab34b4c4c07efc2c9b8c20defe4519 Issue-ID: MULTICLOUD-364 Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
2018-10-09Fix AAI update sync up issueXiaohua Zhang1-1/+14
Read after write to make sure the update to AAI obejct has been visible to following AAI queries Change-Id: I34982e53ca2e2bad60e4740f3d8f55775dae55b9 Issue-ID: MULTICLOUD-371 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 Zhang2-1/+2
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-19Fix eventId issueXiaohua Zhang1-1/+2
eventId should be unique for each report event Issue-ID: MULTICLOUD-361 Change-Id: Iee11b64e9bce88003858218abc53d1f1f9d8a86d 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 vespublishXiaohua Zhang5-0/+70
Change-Id: Ic429214cc3eba9779b0f48ca76cdd1ced030a983 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 Zhang2-38/+110
Change-Id: I7152f2738b0e30075dd0aebb17d74f806dc48b34 Issue-ID: MULTICLOUD-358 Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
2018-09-15Add heatbridge handlerBin Yang2-15/+165
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-13Fix the bug of extra info decodingBin Yang1-11/+27
Change-Id: I9e2565655e0e9df6649d5a175c3aa9e165cba3c2 Issue-ID: MULTICLOUD-311 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2018-09-03Enable cloud region decommissionBin Yang1-12/+12
Change-Id: I3b8171e6376eb144af6218d8242c20dc07543ea3 Issue-ID: MULTICLOUD-265 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2018-09-03Fix bug of region discoveryBin Yang3-47/+116
Change-Id: I006fb0f8ab7a644369d0a03ed1b563db3f52afd7 Issue-ID: MULTICLOUD-311 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2018-09-03Add registration OvS-DPDKHuang Haibin1-1/+1
We need to manualy register information of OvS-DPDK to AAI in ESR system. Then we can get Ovs-DPDK from AAI and use it. Change-Id: I4ada7192e2364b2d0f7667ff59d80d413db7bdad Issue-ID: MULTICLOUD-251 Signed-off-by: Huang Haibin <haibin.huang@intel.com>
2018-09-03Add new namespace to workaround ISTIO hostnameBin Yang13-528/+166
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-28Merge "Delete Windriver plugin HPA's registration flow"Bin Yang1-314/+0
2018-08-28Delete Windriver plugin HPA's registration flowHuang Haibin1-314/+0
Use Newton_base HPA's registration flow Change-Id: I61fc0056f8aab8d308e1572788f3b3cbc08c0ae9 Issue-ID: MULTICLOUD-251 Signed-off-by: Huang Haibin <haibin.huang@intel.com>
2018-08-27Merge "Fix bug of subclass name"Bin Hu1-2/+2
2018-08-27Fix bug of subclass nameBin Yang1-2/+2
Change-Id: Icafeade95b5896b6cb108528b22aee27a5fe0f3d Issue-ID: MULTICLOUD-311 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2018-08-27Add API handler stub for infra_workloadXiaohua Zhang2-0/+156
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 Zhang6-26/+40
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 Yang3-11/+153
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>