summaryrefslogtreecommitdiffstats
path: root/windriver
AgeCommit message (Collapse)AuthorFilesLines
2019-03-05Fix Dockerfile issueXiaohua Zhang1-2/+3
Install wget to retrieve zip files Purge and autoremove unused utils Change-Id: I83a619e51f37a11d5295f50c68962021a2bbf6b8 Issue-ID: MULTICLOUD-508 Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
2019-03-04Optimize docker image footprintXiaohua Zhang3-6/+11
Rebase to python:2-slim Remove unused pip packages Change-Id: I07c544debe93128bdd4722797339af708d246f0f Issue-ID: MULTICLOUD-508 Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
2019-03-04Remove vesagent and celeryXiaohua Zhang16-1732/+1
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-03-01Upgrade onaplog 1.0.8Xiaohua Zhang1-1/+1
Add python3 validation Change-Id: I331247e96ebad0d5e1ca3e9ffada8e2623237863 Issue-ID: MULTICLOUD-503 Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
2019-02-20Run multicloud-windriver service as non root userBin Yang2-4/+8
Disable vesagent and remove the dependency on rabbitmq-server The vesagent should be maintained as a standalone microservice Change-Id: I4877c0c25c973d0dd8f8511f457fed07ca61647b Issue-ID: MULTICLOUD-493 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2019-01-28Rate python files via pylintCédric Ollivier2-2/+10
It higlights programming errors which are only printed for the time being. It adds pylint in test-requirements.txt as it should have been for coverage, mock, etc. At least all pylint errors should be fixed. Kilo and Newton are out of scope as deprecated. Issue-ID: MULTICLOUD-416 Change-Id: I35f2cfec0327ba163e796b05bdff5edf0246de09 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-01-28Extract some code to shareHaibin Huang10-1079/+11
Change-Id: I6dffc1bf47c5839f077f3c7f93f021ed0b414d24 Issue-ID: MULTICLOUD-428 Signed-off-by: Haibin Huang <haibin.huang@intel.com>
2019-01-09Upgrade to 1.3.0 for dublinXiaohua Zhang3-4/+4
Change-Id: I9a42f70d1df743cb3c7cfc95a402bce9eade4469 Issue-ID: MULTICLOUD-432 Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.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-27bump version 1.2.3Xiaohua Zhang3-4/+4
Change-Id: Ic63d11ec0ac588dc954765dbc4c0d19be4277feb Issue-ID: MULTICLOUD-419 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-13Bump version to 1.2.2Bin Yang3-4/+4
Change-Id: Ib70c2bff78f5be8d63c2bb2e612c84cf3d97fb27 Issue-ID: MULTICLOUD-402 Signed-off-by: Bin Yang <bin.yang@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-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-16Update multicloud openstack release versionHuang Haibin2-4/+4
Change-Id: I7c1f58971008ae65dd06f48e7dc3332cb1ea3e2d Issue-ID: MULTICLOUD-379 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-22Fix unregistry issueXiaohua Zhang1-1/+1
Change-Id: Ia4ddb6f11bf562a046d9f567fd7458b466c8642f Issue-ID: MULTICLOUD-361 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-06Clean Sonar Project nameGildas Lanilis1-1/+1
Name to be consistant with repo name. Change-Id: Ib93070d82322eb3ae2d019a7f0dacabeeba11129 Issue-ID: CIMAN-202 Signed-off-by: Gildas Lanilis <gildas.lanilis@huawei.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 "Bump oparent version to 1.2.0"Victor Morales1-1/+1
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