summaryrefslogtreecommitdiffstats
path: root/newton
AgeCommit message (Collapse)AuthorFilesLines
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>
2018-03-27Fix UT bug in test-vportYun Huang1-3/+10
Change-Id: Ide8564230765d8a060bc812c3ee0e48a317c9436 Issue-ID: MULTICLOUD-203 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-03-27Fix UT bug in test-imageYun Huang1-1/+3
Change-Id: Ic2175e0bd87ee56d1a0457b69090ec0098c51c76 Issue-ID: MULTICLOUD-203 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-03-27Fix UT bug in test-flavorYun Huang1-2/+5
Change-Id: I9e92cc4d1f3b2704dcf77b5e49f7bc13d4ba969f Issue-ID: MULTICLOUD-203 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-03-27Add UT for token request with project nameYun Huang1-1/+63
Change-Id: I2eaad79b0890eb7c04074b0f23b27ea09e2a8e74 Issue-ID: MULTICLOUD-203 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-03-27Fix UT capacity check url for newtonYun Huang1-6/+4
Change-Id: Ie2317b95a88ffe202c4f1ac0de12f5829e44f94c Issue-ID: MULTICLOUD-168 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-03-27Add UT event/alert check successfully for newtonYun Huang1-0/+362
Change-Id: I35eb49854028c90ba411d06ba505447a2a526468 Issue-ID: MULTICLOUD-204 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-03-27Add event/alert check api for newtonYun Huang2-0/+106
Change-Id: Id4df5346d2d316adaf17fad2bd15cdc454cc027a Issue-ID: MULTICLOUD-204 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-03-27Fix newton DEBUG comments for pep8Yun Huang6-6/+6
Change-Id: Id9f73d79c1423884216ada8b2fdb22195a726ef4 Issue-ID: MULTICLOUD-196 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-03-26Add UT for newton token v2 identityYun Huang1-0/+43
Change-Id: I3846afa19aa619b3fc7e98bc31cb0e192a402f8f Issue-ID: MULTICLOUD-203 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-03-24Merge "Add HPA capability fetching to Newton"Bin Yang3-8/+472
2018-03-22Add HPA capability fetching to NewtonNate Potter3-8/+472
This patch adds functionality to get HPA features from OpenStack flavors and flavor extra specs when the AAI schema is versioned to support them. Change-Id: I6b14a72867fea86922244e974f92383e03edce98 Signed-off-by: Nathaniel Potter <nathaniel.potter@intel.com> Issue-ID: MULTICLOUD-179
2018-03-22Newton UT for capacity check nova limits failedYun Huang2-0/+30
Change-Id: Ied372034ada4cd417f8dccd982b09b3b2b489ee3 Issue-ID: MULTICLOUD-168 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-03-22Newton UT for capacity check successfullyYun Huang2-0/+106
Change-Id: I532857b20ea1e6cc913217bb3c8cdca3767eec56 Issue-ID: MULTICLOUD-168 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-03-21Add capacity_check to newton pluginYun Huang4-0/+149
Change-Id: I6833d15083b296ee95595e33dfe788e4b05194de Issue-ID: MULTICLOUD-168 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-03-20Disable DEBUG mode for MC plugin newtonYun Huang6-7/+7
Change-Id: I24ba8c1e528e5c1352f6d01047b797b87edc4685 Issue-ID: MULTICLOUD-196 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-03-18Correct sonar script pathnameYun Huang2-4/+4
Change-Id: Idc527e0bea04556f78789042faf2d0fff7ccacf4 Issue-ID: MULTICLOUD-171 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-03-16Upgrade to latest oparentBin Yang1-1/+1
Update pom.xml file to latest version release of oparent, 1.1.0 Change-Id: I4aeb8eee4419446486f251655015ca9c9c992a50 Issue-ID: INT-443 Signed-off-by: Gildas Lanilis <gildas.lanilis@huawei.com> Signed-off-by: Bin Yang <bin.yang@windriver.com>
2018-03-16Integrate uwsgi with djangoYun Huang3-2/+7
To enable parallel processing of plugin services Change-Id: I61e9934273a8448ee6a437c9832a45d1f75a7a60 Issue-ID: MULTICLOUD-187 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-03-15Enable AOP for newton loggingYun Huang8-32/+90
Change-Id: I232b60b48fb678821502f1ee3b14022bab078aba Issue-ID: MULTICLOUD-177 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-03-15modify log directoryHuang Haibin3-38/+43
Change-Id: I119b9018b9f403fb9f6637abe048e99f0f00c0c1 Issue-ID: MULTICLOUD-138 Signed-off-by: Huang Haibin <haibin.huang@intel.com>