summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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
2019-03-06Modify M-Cloud lenovo thinkcloud DockerfileChangjun Wang1-7/+8
Modify Python2.7 to python2.7-slim Issue-ID: MULTICLOUD-516 Change-Id: Ic3d5cfb4e467652aa6e0a6ad340351998460b0b4 Signed-off-by: Changjun Wang <310397125@qq.com>
2019-03-06Merge "Optimize docker image footprint size"Bin Yang3-5/+12
2019-03-06Optimize docker image footprint sizeLiexiang Yue3-5/+12
Issue-ID: MULTICLOUD-495 Change-Id: I351c2424050e139c5d53ebe78c44c8579d350a1c Signed-off-by: Liexiang Yue <yueliexiang@chinamobile.com>
2019-03-06Modify Lenovo Thinkcloud DockerfileChangjun Wang1-6/+7
Issue-ID: MULTICLOUD-515 Change-Id: I994b408a73d5ed8b883cdfb8b1df62078084bb5a Signed-off-by: Changjun Wang <310397125@qq.com>
2019-03-06Merge "Add Lenovo ThinkCLoud Driver"Bin Yang68-0/+5779
2019-03-05Add Lenovo ThinkCLoud DriverChangjun Wang68-0/+5779
add a new branch lenovo modify pom.xml under the root Change-Id: I5edd57bf3e9cc1e32c5a94b9494daf645b220eaa Issue-ID: MULTICLOUD-506 Signed-off-by: Changjun Wang <310397125@qq.com>
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 Zhang5-5/+5
Add python3 validation Change-Id: I331247e96ebad0d5e1ca3e9ffada8e2623237863 Issue-ID: MULTICLOUD-503 Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
2019-02-27Improve ocata cover rateHaibin Huang1-0/+54
Change-Id: I442008884ae6860012491db176f2c5554fcaf84f Issue-ID: MULTICLOUD-501 Signed-off-by: Haibin Huang <haibin.huang@intel.com>