summaryrefslogtreecommitdiffstats
path: root/newton
AgeCommit message (Collapse)AuthorFilesLines
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-02Refactor helper codesBin Yang2-351/+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/+1
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-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-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 newton APIHaibin Huang1-0/+2
Change-Id: I9aa95f58f0884ed7de51234845ed6b372e22372d Issue-ID: MULTICLOUD-414 Signed-off-by: Haibin Huang <haibin.huang@intel.com>
2018-11-14Modify openstack return codeHaibin Huang1-2/+2
Change-Id: Ic124a91704b4e61d94626855a3592a29bad51738 Issue-ID: MULTICLOUD-404 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-10-18Add license for newton pluginHuang Haibin5-0/+70
Change-Id: I2e13b64a2a00a2165190318cb264da5e9038d989 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-09-20Filter endpoint filter mismatch with keystoneauth1Xiaohua Zhang2-2/+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-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-08-28Merge "Bump oparent version to 1.2.0"Victor Morales1-5/+2
2018-08-27Bump oparent version to 1.2.0Gary Wu1-5/+2
This change was submitted by script and may include additional whitespace or formatting changes. Change-Id: I4de0c691526147da1a898ce4e46be9f716d87e77 Issue-ID: INT-619 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
2018-08-27Delete Newton plugin HPA's registration flowHuang Haibin1-331/+0
Use Newton_base HPA's registration flow Change-Id: If0d46a3e8c44d40ba44ab93939d9dfaaba7ef704 Issue-ID: MULTICLOUD-251 Signed-off-by: Huang Haibin <haibin.huang@intel.com>
2018-08-24Add server action api for openstack newtonfujinhua1-0/+2
Change-Id: I61cd2de2db764551e33e52f10e615a02bdcc65b3 Issue-ID: MULTICLOUD-332 Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
2018-08-17multi-region discoveryBin Yang2-10/+16
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>
2018-07-30Remove EPA attributeDileep Ranganathan4-100/+0
Remove EPA property from multicloud as it is repaced by HPA attributes. Change-Id: I96e2ebcc60ac55cb0f0559607de919da410f66b1 Issue-ID: AAI-1150 Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
2018-06-12Bump version after Beijing releaseYun Huang2-3/+3
Bump version from 1.1.2 to 1.2.0 Change-Id: I72d8f5ba7fef9546120222f1d76133cc1fbf8341 Issue-ID: MULTICLOUD-245 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-06-05Fix check capacity exception for newton and ocatav1.1.22.0.0-ONAP2.0.0-ONAPYun Huang1-8/+24
Change-Id: I6ed7722ee0a8e4148d9a0ed9414c736187bdedf3 Issue-ID: MULTICLOUD-168 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-06-05Remove inactive code for imagefile APIYun Huang2-217/+0
Change-Id: Ifa8f3bdf763bbf9e15c1de904a8708065d03ceb3 Issue-ID: MULTICLOUD-207 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-05-17Fix logger setting errorBin Yang1-1/+1
Change-Id: I3cca48226d5a18bfb650aa11c609d83d5fdc2456 Issue-ID: MULTICLOUD-235 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2018-05-17Fix hpa-attribute-value string format for newtonYun Huang1-27/+62
Change-Id: I2541d7d4ff05bc0d6858f3573876c75394381003 Issue-ID: MULTICLOUD-232 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-05-04Add logging AOP middleware for newtonYun Huang3-1/+67
Change-Id: Id3a69e23f6b5898630c2737d5bf60e1f5ebf1153 Issue-ID: MULTICLOUD-220 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-04-28Merge "Support inject many files"Bin Yang1-2/+10
2018-04-28Support inject many filesHuang Haibin1-2/+10
Change-Id: I5e7c6ee7553b7f7e2fe0d8289d2a0c9bf4077f75 Issue-ID: MULTICLOUD-216 Signed-off-by: Haibin Huang <haibin.huang@intel.com>
2018-04-28Fix HPA registration bug for newtonYun Huang1-24/+24
Change-Id: Icc9a3d71608d98e024519c6c02ca50efc3f53da2 Issue-ID: MULTICLOUD-206 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-04-27Fix HPA UT test data for newtonYun Huang2-188/+664
Change-Id: I38ff454f154f9b78ce0d931a41815c5a10808fa0 Issue-ID: MULTICLOUD-206 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-04-27Fix HPA features for newtonYun Huang2-217/+549
Change-Id: I1bc5525ae80c420341ea5a8822aef8bbc508de9d Issue-ID: MULTICLOUD-206 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-04-25Bump and align versionsYun Huang2-3/+3
Change-Id: I8e92f27271b01c9d5e0f3897b9e7f60aa4b8db75 Issue-ID: MULTICLOUD-215 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-04-23Fix some minor issues in codebaseShashank Kumar Shankar1-0/+1
Fixes some minor issues found when writing CSIT tests. Change-Id: I44d2bbc3a661b44824cc98eaf7588a74bac02f8e Issue-ID: MULTICLOUD-214 Signed-off-by: Shashank Kumar Shankar <shashank.kumar.shankar@intel.com>
2018-04-20Fix log format for newtonYun Huang1-4/+3
Change-Id: Ib65ac552ebbef03a0a534ac7413522833ace255f Issue-ID: MULTICLOUD-178 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-04-20Update AAI schema version for newtonYun Huang2-2/+2
Change-Id: I47f4ac4ff08408a6a78181391c7f05fa4eaf48e5 Issue-ID: MULTICLOUD-179 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-03-30Fix SRIOV count fetchingNate Potter2-6/+12
Update the logic for SRIOV HPA fetching to get a count value from the true or false that is provided. Change-Id: I314a491a3b33bcfb445a85df8213203a436e03d1 Signed-off-by: Nathaniel Potter <nathaniel.potter@intel.com> Issue-ID: MULTICLOUD-208
2018-03-29Add image API for newtonYun Huang3-0/+231
Change-Id: Iad30d138124f1309373f2b716cad024cd691c234 Issue-ID: MULTICLOUD-207 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-03-28Add Instruction Set Extensions to HPA fetchingNate Potter2-1/+27
Change-Id: I5bffde146d9c6e5187069e3172c8748ab944bf04 Signed-off-by: Nathaniel Potter <nathaniel.potter@intel.com> Issue-ID: MULTICLOUD-179
2018-03-28Merge changes I30528936,I7ff4321c,Ib603915b,I82644ff6,I8fdc222f, ...zhang ab1-0/+160
* changes: Ocata capacity_check_volume_limits_outofstorage Ocata test_capacity_check_nova_limits_outofram Ocata capacity_check_nova_hypervisor_outofvcpu Ocata UT for capacity_check fail in hypervisor Ocata UT for capacity_check fail in hypervisor Newton capacity_check_volume_limits_outofstorage Newton test_capacity_check_nova_limits_outofram Netwon capacity_check_nova_hypervisor_outofvcpu Newton UT for capacity_check fail in hypervisor newton UT for capacity_check fail in hypervisor Add TC capacity_check_volume_limits_outofstorage Add TC test_capacity_check_nova_limits_outofram Add TC test_capacity_check_hypervisor_outofvcpu Add TC UT for capacity_check fail in hypervisor
2018-03-28Merge "Fix bug of capacity_check for newton"Bin Hu1-9/+9
2018-03-28Newton capacity_check_volume_limits_outofstorageYun Huang1-0/+32
Change-Id: I09af1f3c60d7b43090e67605281cbc7b94d57ede Issue-ID: MULTICLOUD-203 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-03-28Newton test_capacity_check_nova_limits_outoframYun Huang1-0/+34
Change-Id: I6efe5583695b63849936a90e71f7b46eaa98f226 Issue-ID: MULTICLOUD-203 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-03-28Netwon capacity_check_nova_hypervisor_outofvcpuYun Huang1-0/+32
Change-Id: I2b353dac77d1b580d6aa8fe02e8bcc958a027961 Issue-ID: MULTICLOUD-203 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-03-28Newton UT for capacity_check fail in hypervisorYun Huang1-0/+30
fail due to out of storage Change-Id: Ia460b88047de823a13386282c25cc5172ff9d500 Issue-ID: MULTICLOUD-203 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-03-28newton UT for capacity_check fail in hypervisorYun Huang1-0/+32
fail due to out of RAM Change-Id: I9ae1dbfb1398bfa1516e69396275f6ee8f7084a9 Issue-ID: MULTICLOUD-203 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-03-28Fix bug of capacity_check for newtonYun Huang1-9/+9
Change-Id: Ic2a5a85a4a68d64dd136ab4853ff5348ef87e3e5 Issue-ID: MULTICLOUD-168 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-03-27Merge "Add OVS DPDK HPA to Newton"Bin Hu2-2/+29
2018-03-27Add OVS DPDK HPA to NewtonNate Potter2-2/+29
This commit adds OVS DPDK HPA discovery to flavor fetching in Newton. Change-Id: Id36145f47b8c2f6d636d38b645b5720493734f8d Signed-off-by: Nathaniel Potter <nathaniel.potter@intel.com> Issue-ID: MULTICLOUD-179
2018-03-27Add SRIOV HPA fetchingNate Potter2-0/+34
Change-Id: I9b9307278293da8e579aac8cf01f7cfb6b725d6b Signed-off-by: Nathaniel Potter <nathaniel.potter@intel.com> Issue-ID: MULTICLOUD-179
2018-03-27Add newton UT for token test with project idYun Huang1-0/+58
Change-Id: If55ebc5cfe951c496373fa78f52dd8aac77c0eff Issue-ID: MULTICLOUD-203 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-03-27Add UT for v2.0 token API with tenant nameYun Huang1-0/+52
Change-Id: I2a29e9ac693951e4bb89455255f20defd71b66d9 Issue-ID: MULTICLOUD-203 Signed-off-by: Yun Huang <yun.huang@windriver.com>