summaryrefslogtreecommitdiffstats
path: root/pike
AgeCommit message (Collapse)AuthorFilesLines
2019-04-09Fix bugs for infra_workload APIsXiaohua Zhang2-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-2/+2
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-02Merge changes I2adebca8,I3f66fa63Bin Yang5-581/+4
* changes: Increase Pike cover rate Increase ocata cover rate
2019-04-02Refactor helper codesBin Yang1-1/+1
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-0/+2
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 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-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-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-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-26Run Pike plugin as non root userHaibin Huang1-0/+4
Change-Id: Iabd2eaeea44fa0f98679ef06a86ce5c455456578 Issue-ID: MULTICLOUD-500 Signed-off-by: Haibin Huang <haibin.huang@intel.com>
2019-02-18Fix URL definitions interfere with each otherHaibin Huang1-2/+6
Change-Id: I2f0bc1ca7e6d4e6337cc504c51e9ead06bd5be4e Issue-ID: MULTICLOUD-477 Signed-off-by: Haibin Huang <haibin.huang@intel.com>
2019-02-14Fix issue of heatbridgeXiaohua Zhang1-1/+1
Change-Id: I91d6086d514cc481e2574bd3e6c6b324d708d092 Issue-ID: MULTICLOUD-479 Signed-off-by: Xiaohua Zhang <xiaohua.zhang@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-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-19Enable pep8 checkHaibin Huang7-56/+49
This patch is fixing the pep8 issues under the pub and resource folder for pike release and also enable pep8 check Change-Id: I1afea756108e7bb0d79ac3f5317209fd8964f863 Issue-ID: MULTICLOUD-428 Signed-off-by: Haibin Huang <haibin.huang@intel.com>
2018-12-18Fix proxy pep8 errorHaibin Huang7-1171/+1162
This patch is only fixing the pep8 issues under the proxy folder for pike release, which is only triggered by tox manually. Change-Id: Idd5410d0ec18558be25c47df225021d8a47fedfe Issue-ID: MULTICLOUD-428 Signed-off-by: Haibin Huang <haibin.huang@intel.com>
2018-12-17Fix registration pep8 errorHaibin Huang5-45/+35
This patch is only fixing the pep8 issues under the registration folder for pike release, which is only triggered by tox mannually. Change-Id: I22245f9e97277cd48ad0a8061694ab7bfe593e6a Issue-ID: MULTICLOUD-428 Signed-off-by: Haibin Huang <haibin.huang@intel.com>
2018-12-17Fix extensions pep errorHaibin Huang4-6/+6
This patch is only fixing the pep8 issues under the extensions folder for pike release, which is only triggerd by tox manually. Change-Id: If31afe444d92812a7bc462e1c5d7749243e19051 Issue-ID: MULTICLOUD-428 Signed-off-by: Haibin Huang <haibin.huang@intel.com>
2018-12-17Fix swagger pep errorHaibin Huang4-13/+6
This patch is only fixing the pep8 issues under the swagger folder for pike release, which is only triggered by tox manually. Change-Id: I8746bea273f08f19d3075bcd899c2f536a9263b8 Issue-ID: MULTICLOUD-428 Signed-off-by: Haibin Huang <haibin.huang@intel.com>
2018-12-05Fix pep8 for pike samples and requestsHaibin Huang4-4/+0
Change-Id: Ida2807785f888b036e06a0f1860e3cadfbf900cf Issue-ID: MULTICLOUD-424 Signed-off-by: Haibin Huang <haibin.huang@intel.com>
2018-12-05Fix vagrant pep8 errorHaibin Huang1-25/+25
Change-Id: If842bca7c09111136df330d1cf3cb84375e868f1 Issue-ID: MULTICLOUD-424 Signed-off-by: Haibin Huang <haibin.huang@intel.com>
2018-12-05Fix pep error for pike resourceHaibin Huang7-205/+210
Change-Id: I778232ecbb74dc9e6a9e7a2bf4ca6a6b70f0e196 Issue-ID: MULTICLOUD-424 Signed-off-by: Haibin Huang <haibin.huang@intel.com>
2018-11-30Fix issue of Delete Infra_workloadXiaohua Zhang1-3/+9
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-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 pike APIv1Haibin Huang1-0/+2
Change-Id: Ie2252ec4cb0d6ebacc7b7572005e198f54c81f11 Issue-ID: MULTICLOUD-414 Signed-off-by: Haibin Huang <haibin.huang@intel.com>
2018-11-22Add server action for pike APIv0Haibin Huang1-0/+2
Change-Id: I8fdd72ea44eca98b639187d4e6588f67d9f5dc67 Issue-ID: MULTICLOUD-414 Signed-off-by: Haibin Huang <haibin.huang@intel.com>
2018-11-22Fix ocata and piki rest API url errorBin Yang1-3/+3
Change-Id: I5cbb06db2a613548d0a9606f3b7c404dfb0a49f0 Issue-ID: MULTICLOUD-415 Signed-off-by: Bin Yang <bin.yang@windriver.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/+64
Change-Id: I8eb05ff2acdef8811b3eec8e1a0efe47b12bdd73 Issue-ID: MULTICLOUD-401 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2018-10-17Add license for pikeHuang Haibin13-0/+183
Change-Id: I779bc427bf8e0ff682806b8c8933312b1dd5a340 Issue-ID: MULTICLOUD-384 Signed-off-by: Huang Haibin <haibin.huang@intel.com>
2018-10-16Update multicloud openstack release versionHuang Haibin2-3/+3
Change-Id: I7c1f58971008ae65dd06f48e7dc3332cb1ea3e2d Issue-ID: MULTICLOUD-379 Signed-off-by: Huang Haibin <haibin.huang@intel.com>
2018-10-15Upgrade swagger v1 for pikeHuang Haibin2-0/+18
Change-Id: Ia925c22e1a1516de54875c1a2386ae73ed7843f6 Issue-ID: MULTICLOUD-377 Signed-off-by: Huang Haibin <haibin.huang@intel.com>
2018-10-15Add infra workload v0 for pikeHuang Haibin1-2/+4
Change-Id: Ib2b845c7d31b9d9c43e9a14b925f9cdf98aee501 Issue-ID: MULTICLOUD-377 Signed-off-by: Huang Haibin <haibin.huang@intel.com>
2018-10-15Upgrade capacity v1 for pikeHuang Haibin2-0/+15
Change-Id: Ifd7e13b273550d7722f2213ab788d467870b6875 Issue-ID: MULTICLOUD-377 Signed-off-by: Huang Haibin <haibin.huang@intel.com>
2018-10-15Upgrade requests v1 for pikeHuang Haibin2-0/+49
Change-Id: Ifc8f3a1f831b8fac3b1fbc7ae3c8d427c266e056 Issue-ID: MULTICLOUD-377 Signed-off-by: Huang Haibin <haibin.huang@intel.com>
2018-10-15Upgrade tenants V1 for pikeHuang Haibin1-0/+2
Change-Id: I2fc9cede54534cc885d348e0b86908bcc3dbd49d Issue-ID: MULTICLOUD-377 Signed-off-by: Huang Haibin <haibin.huang@intel.com>
2018-10-15Upgrade proxy v1 for pikeHuang Haibin4-0/+190
Change-Id: I9c65c9cf3851cfbbf064b8955ff6fd6b0a35a875 Issue-ID: MULTICLOUD-377 Signed-off-by: Huang Haibin <haibin.huang@intel.com>
2018-10-15Upgrade extension v1 for pikeHuang Haibin3-1/+37
Change-Id: I0178d07897eaf32174938362a54addbac4355f4e Issue-ID: MULTICLOUD-377 Signed-off-by: Huang Haibin <haibin.huang@intel.com>
2018-10-15Upgrade registration v1 for pikeHuang Haibin2-0/+26
Change-Id: I3360a07f32dd89dc4080ad90bb124cb4e9b4c83c Issue-ID: MULTICLOUD-377 Signed-off-by: Huang Haibin <haibin.huang@intel.com>
2018-10-12Fix bug in infra_workloadXiaohua Zhang1-1/+1
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-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-20Add UT and Funtion for infra SRIOVHuang Haibin2-2/+11
Change-Id: I6ce0f4e8a9a6b7984deeb28ae9ff50df3995e60c Issue-ID: MULTICLOUD-250 Signed-off-by: Huang Haibin <haibin.huang@intel.com>
2018-09-20Add UT for infra_workload delete APIHuang Haibin2-1/+46
Change-Id: I16da96a19eff471dca0b8a6f47fe8a95d063598e Issue-ID: MULTICLOUD-250 Signed-off-by: Huang Haibin <haibin.huang@intel.com>
2018-09-19Refactor delete of infra workloadHuang Haibin2-45/+65
Change-Id: I37ab8a106b978db7fff94492f0075714a77fc7a4 Issue-ID: MULTICLOUD-250 Signed-off-by: Huang Haibin <haibin.huang@intel.com>
2018-09-19Add UT for infra_workload for pikeHuang Haibin3-4/+223
Change-Id: I2da4b1d8fc1d98469f6f36beaa0586a7bee6af42 Issue-ID: MULTICLOUD-250 Signed-off-by: Huang Haibin <haibin.huang@intel.com>
2018-09-19support SRIOV-NIC for post of infra workloadHuang Haibin1-49/+53
Issue-ID: MULTICLOUD-250 Change-Id: I95642a565639f1b6b4353793bde732c4370d7562 Signed-off-by: Huang Haibin <haibin.huang@intel.com>
2018-09-19Add get handler of flavor for infra workloadHuang Haibin2-9/+171
Change-Id: Ibfdd0a806214414e0820ff73484e43439c3a210e Issue-ID: MULTICLOUD-250 Signed-off-by: Huang Haibin <haibin.huang@intel.com>
2018-09-19Add delete of flavor handler for infra workloadHuang Haibin1-7/+42
Change-Id: I009a22179eaf2851ed4674ed08ba3c78ca4f1492 Issue-ID: MULTICLOUD-250 Signed-off-by: Huang Haibin <haibin.huang@intel.com>
2018-09-15Add post handler of flavor handler for infraHuang Haibin1-17/+53
Change-Id: Ic140ba963c30a86c9755b0b1d0d0f813bb0ab2f0 Issue-ID: MULTICLOUD-250 Signed-off-by: Huang Haibin <haibin.huang@intel.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>