summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2019-04-22Fix bug of interaction with artifact brokerXiaohua Zhang2-17/+42
Change-Id: I3dffcc4463fd5ec7004bbb7cc20c0dcbf1622f6d Issue-ID: MULTICLOUD-567 Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
2019-04-12Merge "Fix bug of query infra_workload"Bin Yang1-1/+1
2019-04-12Fix bug of query infra_workloadXiaohua Zhang1-1/+1
Change-Id: I6378d5803c6cc1bd82696d46d27df06b75e34d6d Issue-ID: MULTICLOUD-567 Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
2019-04-12Merge "Add FCAPS healthy check api"Bin Yang1-1/+2
2019-04-12update stop scriptsXiaohua Zhang3-3/+3
Issue-ID: MULTICLOUD-508 Change-Id: I9ac055038f497b761cd5807c89551137fcc76d6c Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
2019-04-12Add FCAPS healthy check apiLiexiang Yue1-1/+2
Issue-ID: MULTICLOUD-499 Change-Id: If8cc17c6774ede397e138db8d756134c02389fde Signed-off-by: Liexiang Yue <yueliexiang@chinamobile.com>
2019-04-12Rebase image to alpineXiaohua Zhang3-9/+8
Change-Id: I349e54dbfdb25e543312554c82c9339a39cd8817 Issue-ID: MULTICLOUD-508 Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
2019-04-12Fix bug of registrationXiaohua Zhang2-70/+92
Change-Id: Idd12b60af24326c63fbda63928de191cdb6cf7f7 Issue-ID: MULTICLOUD-554 Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
2019-04-12Merge "Use alpine for MultiCloud FCAPS plugin"Bin Yang2-9/+7
2019-04-12Use alpine for MultiCloud FCAPS pluginLiexiang Yue2-9/+7
This patch change the base image to python:2-alpine Issue-ID: MULTICLOUD-499 Change-Id: I8fed9c774eabab496fa07acd96b7f759e20b123e Signed-off-by: Liexiang Yue <yueliexiang@chinamobile.com>
2019-04-10Fix bug of AZ cap checkXiaohua Zhang15-582/+146
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 Zhang20-64/+124
Change-Id: Ieda8b2f7f68911bc348613cf7b18b40ea800b1e2 Issue-ID: MULTICLOUD-541 Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
2019-04-08Add secured https support for FCAPSLiexiang Yue5-3/+61
Issue-ID: MULTICLOUD-522 Change-Id: I0d08093d09a450313a2ca29372f65d794dce9502 Signed-off-by: Liexiang Yue <yueliexiang@chinamobile.com>
2019-04-08Update API handler for multi-tenant supportsXiaohua Zhang7-162/+390
Change-Id: I5c46a71605ed9f5f9e4dfd04b0383c1d5874f3da Issue-ID: MULTICLOUD-543 Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
2019-04-08Add multi-tenant support for infra_workload APIXiaohua Zhang3-20/+47
Change-Id: I0e792dc29967ed3f3fc487dd7fbff4039e601d92 Issue-ID: MULTICLOUD-543 Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
2019-04-08Add API to query workload by id or nameXiaohua Zhang2-29/+89
Change-Id: Ib34b71b0ffc540b4877b151717ef8ed6464cfb2d Issue-ID: MULTICLOUD-567 Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
2019-04-08Update workload_status enumsXiaohua Zhang2-38/+38
Change-Id: I01e371546220fa9d61e9ed63bc0947d8d0a0f583 Issue-ID: MULTICLOUD-566 Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
2019-04-04Fix thread helper bugXiaohua Zhang14-66/+170
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 serverfujinhua3-1/+90
Change-Id: Ia9f98d3ba841dd70d0969334d86dbbd3a0f6ac0e Issue-ID: MULTICLOUD-565 Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
2019-04-03Fix capacity_check errorBin Yang1-1/+6
Change-Id: Ib317e2a655d571b7cfefc1dbe8631ed77acc4b81 Issue-ID: MULTICLOUD-542 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2019-04-03Upgrade infra_workload for starlingx_baseBin Yang1-3/+167
Try to fetch openstack artifact from sdc client via the shared volume Change-Id: Ibcb7336e4cfd318497e23167af8cd97883bde594 Issue-ID: MULTICLOUD-541 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2019-04-03Refactor infra_workload helperBin Yang4-469/+576
Change-Id: I6ffcd3b9b9d2998bb2f2a6c043b20ad4ce072d9d Issue-ID: MULTICLOUD-561 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2019-04-02Merge changes I2adebca8,I3f66fa63Bin Yang12-1615/+8
* changes: Increase Pike cover rate Increase ocata cover rate
2019-04-02Integrate heatbridge logic to infra_workload APIBin Yang6-44/+707
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 Yang14-689/+518
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-01Update capacity check APIBin Yang4-92/+204
Query the AZinfo from the cache Relay on the background thread of AZcap Auditing Change-Id: I064dbc22c71ef25683145ef1c96274ce6ac74c3b Issue-ID: MULTICLOUD-542 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2019-04-01Add audit to azBin Yang2-9/+117
Issues 2 rest api to openstack to retrieve all pserver and az info This will need optimization in case of many compute pservers in a cloud region Change-Id: I8cad1f63f62a47ea9367db59544e7318e3db746d Issue-ID: MULTICLOUD-555 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2019-04-01Add a thread to audit AZ cap infoBin Yang1-0/+91
The audit thread sleep 5 seconds for each loop Change-Id: I10638b0fc5df1bd45272b9a10ca92596ace2f584 Issue-ID: MULTICLOUD-555 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2019-04-01Discover and register az and hostBin Yang1-68/+165
Register pservers, and relation to AZ Change-Id: I95075dddbbddad596a082a7d910dd8a001dc2906 Issue-ID: MULTICLOUD-554 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2019-04-01Initiate a thread to handle registryBin Yang10-378/+513
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-04-01Add https support for multicloud ocata pluginHaibin Huang4-3/+71
The https endpoint can be enabled by setting env: SSL_ENABLED=true Change-Id: Ibc651851edb1dd2e143ba28c784f82562c0c9d30 Issue-ID: MULTICLOUD-535 Signed-off-by: Haibin Huang <haibin.huang@intel.com>
2019-04-01Add https support for multicloud pike pluginHaibin Huang4-3/+71
The https endpoint can be enabled by setting env: SSL_ENABLED=true Change-Id: Iae636bda8fa8ae9c77907e7171e1d93cb54795bc Issue-ID: MULTICLOUD-535 Signed-off-by: Haibin Huang <haibin.huang@intel.com>
2019-04-01Add https support for multicloud starlingx pluginHaibin Huang4-1/+57
The https endpoint can be enabled by setting env: SSL_ENABLED=true Change-Id: I2852d705d0d0c11d0b16cb568184296b9c8f25d0 Issue-ID: MULTICLOUD-535 Signed-off-by: Haibin Huang <haibin.huang@intel.com>
2019-03-28Add https support for multicloud lenovoChangjun Wang5-4/+63
The https endpoint can be enabled by setting env: SSL_ENABLED=true Issue-ID: MULTICLOUD-538 Change-Id: I20ca09c431380d65098d42fadd1d92003cca69ba Signed-off-by: Changjun Wang <310397125@qq.com>
2019-03-21Add unit_test for Multi-Cloud Fcaps enhancementLiexiang Yue1-0/+90
Issue-ID: MULTICLOUD-495 Change-Id: I321823f894bba014f39455487687a0f77ff4234d Signed-off-by: Liexiang Yue <yueliexiang@chinamobile.com>
2019-03-20Multi-Cloud Fcaps enhancementLiexiang Yue4-2/+393
Issue-ID: MULTICLOUD-495 Change-Id: I3d5d6eadeaa00b8597dfa318bad6a1fa1796a2ce Signed-off-by: Liexiang Yue <yueliexiang@chinamobile.com>
2019-03-12Increase Pike cover rateHaibin Huang5-581/+4
Delete resource code from ocata and use newton_base code. Change-Id: I2adebca8c531da144082eda479b85bc804315ab9 Issue-ID: MULTICLOUD-501 Signed-off-by: Haibin Huang <haibin.huang@intel.com>
2019-03-12Increase ocata cover rateHaibin Huang7-1034/+4
Delete resource code from ocata and use newton_base code. Change-Id: I3f66fa63232fdd9b113e0b61ff9d0a8aa520f96f Issue-ID: MULTICLOUD-501 Signed-off-by: Haibin Huang <haibin.huang@intel.com>
2019-03-11Merge "change docker image name tp openstack-lenovo"Bin Yang2-77/+77
2019-03-11Set Highest cipher for httpsXiaohua Zhang1-1/+1
Change-Id: I46956b98daa600cd5eedd8fb031ef778e0932337 Issue-ID: MULTICLOUD-519 Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
2019-03-11change docker image name tp openstack-lenovoChangjun Wang2-77/+77
change fileformat to unix of the *.sh files Change-Id: Iff6f5db7b87fd59afcd7fe6fb1662aa0d79ab787 Issue-ID: MULTICLOUD-520 Signed-off-by: Changjun Wang <310397125@qq.com>
2019-03-08change docker image name tp openstack-lenovoChangjun Wang5-140/+146
mkdify the repo from thinkcloud to lenovo in the package change docker image name tp openstack-lenovo Change-Id: I8d656df1daad8056703fa1645ff1340d75b72e43 Issue-ID: MULTICLOUD-520 Signed-off-by: Changjun Wang <310397125@qq.com>
2019-03-08Fix assembly setting to include certsXiaohua Zhang1-0/+2
Change-Id: If93c7b26dc7d5fc5f7d8c5bb0c934f906e46579b Issue-ID: MULTICLOUD-519 Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
2019-03-08Merge "Add https support for multicloud windriver plugin"Bin Yang4-3/+61
2019-03-08Add https support for multicloud windriver pluginXiaohua Zhang4-3/+61
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-07Optimize docker image footprint for pikeHaibin Huang3-13/+22
Rebase to python:2-slim Remove unused pip packages Change-Id: I0ba6767d71c1d4e57edb7d41315569ffac8ce494 Issue-ID: MULTICLOUD-517 Signed-off-by: Haibin Huang <haibin.huang@intel.com>
2019-03-07Optimize docker image footprint for starlingxHaibin Huang4-14/+26
Rebase to python:2-slim Remove unused pip packages Change-Id: Icef1b522b47f999b5c9a18e0a1184e642fbae734 Issue-ID: MULTICLOUD-517 Signed-off-by: Haibin Huang <haibin.huang@intel.com>
2019-03-07Optimize docker image footprint for ocataHaibin Huang3-13/+21
Rebase to python:2-slim Remove unused pip packages Change-Id: I255f7c009c9b3f887a5a6e6b11a16ece1a7faed4 Issue-ID: MULTICLOUD-517 Signed-off-by: Haibin Huang <haibin.huang@intel.com>
2019-03-07Remove vesagent and celeryHaibin Huang15-1772/+3
The vesagent has been moved to fcaps module Change-Id: I87333bbe5e7116af2b3b495f70d1b39d1c77177b Issue-ID: MULTICLOUD-499 Signed-off-by: Haibin Huang <haibin.huang@intel.com>
2019-03-06Merge "Modify M-Cloud lenovo thinkcloud Dockerfile"Bin Yang1-1/+1