summaryrefslogtreecommitdiffstats
path: root/newton
AgeCommit message (Collapse)AuthorFilesLines
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>
2018-03-15Delete repeat file with share directoryHuang Haibin13-2147/+0
Change-Id: I93ecf179670216cb0b82803048daf22d0cd3b915 Issue-ID: MULTICLOUD-138 Signed-off-by: Huang Haibin <haibin.huang@intel.com>
2018-03-14Fix sonar coverage issue for newtonYun Huang3-8/+162
Change-Id: I14d4b9063528e65e90efa2ea38e155d4b6c2761d Issue-ID: MULTICLOUD-171 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-03-10newton use share libraryHuang Haibin72-9468/+166
Change-Id: I0ed8ced042862edf8afa87fec3b457d019e811b4 Issue-ID: MULTICLOUD-138 Signed-off-by: Huang Haibin <haibin.huang@intel.com>
2018-03-06Add sonar coverage for MultiCloud OpenStackYun Huang2-0/+8
Change-Id: I6526b56a06cd430bb1b95e7175d2a6d8f48ebc0c Issue-ID: MULTICLOUD-171 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-03-06Update Newton license headerYun Huang74-167/+366
Change-Id: I2ee874ab6a4f13e7a5b2fe32f80ba0225d086a9f Issue-ID: MULTICLOUD-140 Signed-off-by: Yun Huang <yun.huang@windriver.com>
2018-01-13Merge "Centralize the release version for UTs"Bin Yang17-1390/+1002
2018-01-13Merge "Add UTs for VimDriverUtils class"Bin Yang8-109/+245
2018-01-09Add UTs for VimDriverUtils classVictor Morales8-109/+245
The VimDriverUtils class contains utility methods for managing sessions and vim information, as well as others for replacing keys of a dictionary. This change add Unit Tests that validates their correct functionality. Change-Id: Ie569cc995c3e0ebc27f33e4c58652bb0ed34c0a7 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: MULTICLOUD-83
2018-01-09Fix version dependenciesVictor Morales1-1/+1
The version number used for newton needs to be higher to allow other to refer it. Change-Id: Id88c3450f62bb21b8eacc489ef3be58f8ec7e192 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: MULTICLOUD-83
2018-01-05Centralize the release version for UTsVictor Morales17-1390/+1002
The URL is formed based on the OpenStack release version supported. Given that OpenStack release cycles are targeting twice a year, it's necessary mechanism to adopt this changes. This commit centralizes the release information into a configuration value. Change-Id: Ie7f0c819472593f706520e7f2563db31b9d42444 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: MULTICLOUD-83