multicloud/openstack.git
7 years agoAdd HPA capability fetching to Newton 77/36377/11
Nate Potter [Sun, 18 Mar 2018 11:25:19 +0000 (04:25 -0700)]
Add HPA capability fetching to Newton

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

7 years agoUpgrade to latest oparent 45/36145/2
Bin Yang [Fri, 16 Mar 2018 10:26:09 +0000 (18:26 +0800)]
Upgrade to latest oparent

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>
7 years agoIntegrate uwsgi with django 73/36173/1
Yun Huang [Fri, 16 Mar 2018 06:29:47 +0000 (14:29 +0800)]
Integrate uwsgi with django

To enable parallel processing of plugin services

Change-Id: I61e9934273a8448ee6a437c9832a45d1f75a7a60
Issue-ID: MULTICLOUD-187
Signed-off-by: Yun Huang <yun.huang@windriver.com>
7 years agoMerge "update hpa cpu pinning to support AAI schema v13"
zhang ab [Fri, 16 Mar 2018 03:41:15 +0000 (03:41 +0000)]
Merge "update hpa cpu pinning to support AAI schema v13"

7 years agoupdate hpa cpu pinning to support AAI schema v13 91/35891/3
Huang Haibin [Thu, 15 Mar 2018 13:45:51 +0000 (21:45 +0800)]
update hpa cpu pinning to support AAI schema v13

Change-Id: If57f5c5a5c2f88f2f39a62139635260928b933bc
Issue-ID: MULTICLOUD-182
Signed-off-by: Huang Haibin <haibin.huang@intel.com>
7 years agoEnable AOP for newton logging 31/36031/1
Yun Huang [Thu, 15 Mar 2018 14:47:37 +0000 (22:47 +0800)]
Enable AOP for newton logging

Change-Id: I232b60b48fb678821502f1ee3b14022bab078aba
Issue-ID: MULTICLOUD-177
Signed-off-by: Yun Huang <yun.huang@windriver.com>
7 years agoEnable AOP for ocata logging 51/35951/2
Yun Huang [Thu, 15 Mar 2018 14:15:37 +0000 (22:15 +0800)]
Enable AOP for ocata logging

Change-Id: I8a616e99d4fba368b7bedb9fc4c40ba4ceb10445
Issue-ID: MULTICLOUD-177
Signed-off-by: Yun Huang <yun.huang@windriver.com>
7 years agoDelete repeat file with share directory 65/35865/1
Huang Haibin [Thu, 15 Mar 2018 10:21:43 +0000 (18:21 +0800)]
Delete repeat file with share directory

Change-Id: I93ecf179670216cb0b82803048daf22d0cd3b915
Issue-ID: MULTICLOUD-138
Signed-off-by: Huang Haibin <haibin.huang@intel.com>
7 years agoEnable AOP for titanium cloud logging 19/35919/1
Yun Huang [Thu, 15 Mar 2018 08:15:11 +0000 (16:15 +0800)]
Enable AOP for titanium cloud logging

Change-Id: Id441583c85845a71614577046f0c5b062e09580d
Issue-ID: MULTICLOUD-177
Signed-off-by: Yun Huang <yun.huang@windriver.com>
7 years agomodify log directory 99/35899/2
Huang Haibin [Thu, 15 Mar 2018 14:02:16 +0000 (22:02 +0800)]
modify log directory

Change-Id: I119b9018b9f403fb9f6637abe048e99f0f00c0c1
Issue-ID: MULTICLOUD-138
Signed-off-by: Huang Haibin <haibin.huang@intel.com>
7 years agoFix sonar coverage issue for newton 57/35757/1
Yun Huang [Wed, 14 Mar 2018 13:43:25 +0000 (21:43 +0800)]
Fix sonar coverage issue for newton

Change-Id: I14d4b9063528e65e90efa2ea38e155d4b6c2761d
Issue-ID: MULTICLOUD-171
Signed-off-by: Yun Huang <yun.huang@windriver.com>
7 years agoFix sonar coverage issue for ocata 73/35673/2
Yun Huang [Wed, 14 Mar 2018 07:59:42 +0000 (15:59 +0800)]
Fix sonar coverage issue for ocata

Change-Id: I716fb55a0da6bced6053084a18c2e2297e6708ec
Issue-ID: MULTICLOUD-171
Signed-off-by: Yun Huang <yun.huang@windriver.com>
7 years agoRemove vulnerability of windriver plugin 45/35645/1
Yun Huang [Wed, 14 Mar 2018 04:21:18 +0000 (12:21 +0800)]
Remove vulnerability of windriver plugin

Change-Id: I3928d5216f7f1efb58dfb4939b7fa700bb7f0df0
Issue-ID: MULTICLOUD-183
Signed-off-by: Yun Huang <yun.huang@windriver.com>
7 years agoCorrect exclude unwanted python env files 35/35635/1
Yun Huang [Wed, 14 Mar 2018 02:49:34 +0000 (10:49 +0800)]
Correct exclude unwanted python env files

Change-Id: If72245d7a11d953307e095ec2cc9e7a6e89e0a2a
Issue-ID: MULTICLOUD-171
Signed-off-by: Yun Huang <yun.huang@windriver.com>
7 years agoExclude unwanted python env files 29/35629/1
Yun Huang [Wed, 14 Mar 2018 01:54:24 +0000 (09:54 +0800)]
Exclude unwanted python env files

Change-Id: Ic1a2f89d26365bdd7be9300d902f28eadd83260b
Issue-ID: MULTICLOUD-171
Signed-off-by: Yun Huang <yun.huang@windriver.com>
7 years agoCorrect sonar coverage data 69/35469/1
Yun Huang [Tue, 13 Mar 2018 12:59:31 +0000 (20:59 +0800)]
Correct sonar coverage data

Change-Id: Ib80167db0eaf03c20363d2d85152c0ae6cc35430
Issue-ID: MULTICLOUD-171
Signed-off-by: Yun Huang <yun.huang@windriver.com>
7 years agoFix sonar coverage issue for windriver 11/35411/2
Yun Huang [Tue, 13 Mar 2018 08:39:58 +0000 (16:39 +0800)]
Fix sonar coverage issue for windriver

Change-Id: I6ce2f757d7847250e515529c95694c3611c09e97
Issue-ID: MULTICLOUD-171
Signed-off-by: Yun Huang <yun.huang@windriver.com>
7 years agoAdd capacity_check to Titanium Cloud plugin 35/35135/1
Yun Huang [Mon, 12 Mar 2018 08:23:40 +0000 (16:23 +0800)]
Add capacity_check to Titanium Cloud plugin

Change-Id: If4fbec8989c82a2908b270761a6e6af30a02acb7
Issue-ID: MULTICLOUD-168
Signed-off-by: Yun Huang <yun.huang@windriver.com>
7 years agoMerge "newton use share library"
zhang ab [Mon, 12 Mar 2018 03:23:34 +0000 (03:23 +0000)]
Merge "newton use share library"

7 years agonewton use share library 83/34683/8
Huang Haibin [Thu, 8 Mar 2018 14:05:26 +0000 (22:05 +0800)]
newton use share library

Change-Id: I0ed8ced042862edf8afa87fec3b457d019e811b4
Issue-ID: MULTICLOUD-138
Signed-off-by: Huang Haibin <haibin.huang@intel.com>
7 years agoWorkaround secure connection for Openstack 81/34881/1
Yun Huang [Fri, 9 Mar 2018 02:11:30 +0000 (10:11 +0800)]
Workaround secure connection for Openstack

Disable cert of secured endpoint of OpenStack by default.Will fix this
workaround later when ESR could onboard the cert into AAI

Change-Id: Ic0813cd5d2afb867c20c1a5b5a13fd5b1ee5d71b
Issue-ID: MULTICLOUD-161
Signed-off-by: Yun Huang <yun.huang@windriver.com>
7 years agoChange the log filepath of Ocata 79/34879/1
Yun Huang [Fri, 9 Mar 2018 02:04:54 +0000 (10:04 +0800)]
Change the log filepath of Ocata

As required by logging project

Change-Id: Ie19af29f68d5d482e65c7d0d488d8e4e885c2b5b
Issue-ID: MULTICLOUD-178
Signed-off-by: Yun Huang <yun.huang@windriver.com>
7 years agoChange the log filepath 51/34651/2
Yun Huang [Thu, 8 Mar 2018 06:39:55 +0000 (14:39 +0800)]
Change the log filepath

As required by logging project

Change-Id: I93f8cca6c5b5c9b90d889a3ab2a310af98b8200a
Issue-ID: MULTICLOUD-178
Signed-off-by: Yun Huang <yun.huang@windriver.com>
7 years agoRemove dependency of newton from ocata 47/34647/1
Yun Huang [Thu, 8 Mar 2018 03:03:50 +0000 (11:03 +0800)]
Remove dependency of newton from ocata

Change-Id: Id51eca6e96fe0b8349c1dbbf76da3cfa2a7f9f05
Issue-ID: MULTICLOUD-138
Signed-off-by: Yun Huang <yun.huang@windriver.com>
7 years agoMove testbase and mock to share dir 93/34493/1
Yun Huang [Wed, 7 Mar 2018 10:41:01 +0000 (18:41 +0800)]
Move testbase and mock to share dir

Remove dependency of newton from windriver

Change-Id: Ida0f123b1a4513aab0198a701ea771bbbfebb7fb
Issue-ID: MULTICLOUD-138
Signed-off-by: Yun Huang <yun.huang@windriver.com>
7 years agoAdd default setting value 59/34459/1
Yun Huang [Wed, 7 Mar 2018 07:31:52 +0000 (15:31 +0800)]
Add default setting value

Rebase to newton_base for reusing codes

Change-Id: I1164ef905f5e9d5d9d2c3c6cad41dd2da31c89cd
Issue-ID: MULTICLOUD-138
Signed-off-by: Yun Huang <yun.huang@windriver.com>
7 years agoPopulate settings with env vars 39/34439/1
Yun Huang [Wed, 7 Mar 2018 07:14:13 +0000 (15:14 +0800)]
Populate settings with env vars

Change-Id: Iaaf9a638b2dbb39d12e186c975189d7d6a8cd83f
Issue-ID: MULTICLOUD-138
Signed-off-by: Yun Huang <yun.huang@windriver.com>
7 years agoAdd Readme to explain what share offers 17/34417/1
Bin Yang [Wed, 7 Mar 2018 05:36:08 +0000 (13:36 +0800)]
Add Readme to explain what share offers

Change-Id: I75f3c99f1078a3a18d068b031a4ebd406b6aa834
Issue-ID: MULTICLOUD-138
Signed-off-by: Bin Yang <bin.yang@windriver.com>
7 years agoMerge "Mark kilo as EOL"
zhang ab [Wed, 7 Mar 2018 04:58:48 +0000 (04:58 +0000)]
Merge "Mark kilo as EOL"

7 years agoMark kilo as EOL 99/34399/1
Bin Yang [Wed, 7 Mar 2018 03:19:12 +0000 (11:19 +0800)]
Mark kilo as EOL

Change-Id: I5154e3d9e3c2951006a9fcd0d3ae0cb76900030a
Issue-ID: MULTICLOUD-174
Signed-off-by: Bin Yang <bin.yang@windriver.com>
7 years agoChange the code base from newton to share 87/34387/1
Yun Huang [Wed, 7 Mar 2018 01:16:38 +0000 (09:16 +0800)]
Change the code base from newton to share

And adopt settings,depreciate config

Change-Id: Ib467a6e914ae89ab8799d38191dfed8b3cd7b726
Issue-ID: MULTICLOUD-138
Signed-off-by: Yun Huang <yun.huang@windriver.com>
7 years agoAdd sonar coverage for MultiCloud OpenStack 57/34257/1
Yun Huang [Tue, 6 Mar 2018 10:36:48 +0000 (18:36 +0800)]
Add sonar coverage for MultiCloud OpenStack

Change-Id: I6526b56a06cd430bb1b95e7175d2a6d8f48ebc0c
Issue-ID: MULTICLOUD-171
Signed-off-by: Yun Huang <yun.huang@windriver.com>
7 years agoUpdate Titanium Cloud license header 87/34087/4
Yun Huang [Tue, 6 Mar 2018 07:20:38 +0000 (15:20 +0800)]
Update Titanium Cloud license header

Change-Id: I70e6b1334711fde23ef5a37f2ed508ea4d574cee
Issue-ID: MULTICLOUD-140
Signed-off-by: Yun Huang <yun.huang@windriver.com>
7 years agoUpdate Newton license header 85/34085/4
Yun Huang [Tue, 6 Mar 2018 07:18:16 +0000 (15:18 +0800)]
Update Newton license header

Change-Id: I2ee874ab6a4f13e7a5b2fe32f80ba0225d086a9f
Issue-ID: MULTICLOUD-140
Signed-off-by: Yun Huang <yun.huang@windriver.com>
7 years agoUpdate Ocata license header 83/34083/4
Yun Huang [Tue, 6 Mar 2018 06:52:50 +0000 (14:52 +0800)]
Update Ocata license header

Change-Id: I45b6a8b1cbc6571a1c09d375b31e42df70b94cfa
Issue-ID: MULTICLOUD-140
Signed-off-by: Yun Huang <yun.huang@windriver.com>
7 years agoUpdate Openstack license header 81/34081/3
Yun Huang [Tue, 6 Mar 2018 06:03:57 +0000 (14:03 +0800)]
Update Openstack license header

Change-Id: I76d3ed20fd2bb2ae24952eeca03b1eee5e56cb77
Issue-ID: MULTICLOUD-163
Signed-off-by: Yun Huang <yun.huang@windriver.com>
7 years agosettings.py replace config.py 27/33427/1
Huang Haibin [Wed, 28 Feb 2018 09:54:28 +0000 (17:54 +0800)]
settings.py replace config.py

the patch refer to https://gerrit.onap.org/r/#/c/23529

Change-Id: Ia42c9be995ef73ea12a4733cb967ffed1ce15101
Issue-ID: MULTICLOUD-138
Signed-off-by: Huang Haibin <haibin.huang@intel.com>
7 years agoMove extsys from newton to common 53/33353/3
Huang Haibin [Tue, 27 Feb 2018 19:44:35 +0000 (03:44 +0800)]
Move extsys from newton to common

Change-Id: I30ad2ed3a43bcb0ef569bb25d3e51a9ab49ea48a
Issue-ID: MULTICLOUD-138
Signed-off-by: Huang Haibin <haibin.huang@intel.com>
7 years agoMove pub file from newton to common 13/33313/1
Huang Haibin [Tue, 27 Feb 2018 15:26:26 +0000 (23:26 +0800)]
Move pub file from newton to common

Change-Id: Ib7160619b6fd0b1bada0da685bf4cfaa95a15fff
Issue-ID: MULTICLOUD-138
Signed-off-by: Huang Haibin <haibin.huang@intel.com>
7 years agoMove swagger from newton to newton_base 87/33287/1
Huang Haibin [Tue, 27 Feb 2018 14:43:10 +0000 (22:43 +0800)]
Move swagger from newton to newton_base

Change-Id: I35ed7b54d89d9c9eb6df94c7aae261eba7cc236d
Issue-ID: MULTICLOUD-138
Signed-off-by: Huang Haibin <haibin.huang@intel.com>
7 years agoMove openoapi from newton to newton_base 51/33151/1
Huang Haibin [Tue, 27 Feb 2018 14:26:59 +0000 (22:26 +0800)]
Move openoapi from newton to newton_base

Change-Id: I0fb7ed59d0d1f1b289da6112d822e3b42d9bd489
Issue-ID: MULTICLOUD-138
Signed-off-by: Huang Haibin <haibin.huang@intel.com>
7 years agoMove registration from newton to newton_base 73/33073/1
Huang Haibin [Wed, 7 Feb 2018 22:04:52 +0000 (06:04 +0800)]
Move registration from newton to newton_base

Change-Id: Ia9436fc1e0682bca8ed38193f234f8020ff34ace
Issue-ID: MULTICLOUD-138
Signed-off-by: Huang Haibin <haibin.huang@intel.com>
7 years agoUpdate License header 65/31565/2
Yun Huang [Mon, 12 Feb 2018 08:05:54 +0000 (16:05 +0800)]
Update License header

Change-Id: Ieedc303238ac11416c4ce640b9a32c3f4d7b86da
Issue-ID: MULTICLOUD-140
Signed-off-by: Yun Huang <yun.huang@windriver.com>
7 years agoCentralize settings of UT 63/31663/1
Yun Huang [Wed, 14 Feb 2018 02:25:18 +0000 (10:25 +0800)]
Centralize settings of UT

Change-Id: Ia669d463da422804fca1912a87506b1bacb57512
Issue-ID: MULTICLOUD-83
Signed-off-by: Yun Huang <yun.huang@windriver.com>
7 years agoMove epacaps from newton to newton_base 77/30777/1
Huang Haibin [Wed, 7 Feb 2018 20:30:04 +0000 (04:30 +0800)]
Move epacaps from newton to newton_base

Change-Id: Ic22158577045a06af85f3998d4c1ab1c7e8b4bf7
Issue-ID: MULTICLOUD-138
Signed-off-by: Huang Haibin <haibin.huang@intel.com>
7 years agoMove extensions from newton to newton_base 65/30665/1
Huang Haibin [Wed, 7 Feb 2018 19:58:01 +0000 (03:58 +0800)]
Move extensions from newton to newton_base

Change-Id: Ic29379a4c396871066bcf30474e9370b3aeb0bc0
Issue-ID: MULTICLOUD-138
Signed-off-by: Huang Haibin <haibin.huang@intel.com>
7 years agoMove identityV3 from newton to newton_base 53/29453/2
Huang Haibin [Mon, 29 Jan 2018 14:41:56 +0000 (22:41 +0800)]
Move identityV3 from newton to newton_base

Change-Id: I5ddcf92359b20937c1b9ef0c3860d671ae79c588
Issue-ID: MULTICLOUD-138
Signed-off-by: Huang Haibin <haibin.huang@intel.com>
7 years agoMove dnsaasdelegate from newton to newton_base 37/29437/1
Huang Haibin [Mon, 29 Jan 2018 13:44:06 +0000 (21:44 +0800)]
Move dnsaasdelegate from newton to newton_base

Change-Id: I7cb81a290b2fb51592c1eae9ca3ff4d95483e2a3
Issue-ID: MULTICLOUD-138
Signed-off-by: Huang Haibin <haibin.huang@intel.com>
7 years agoMove proxy util from newton to newton_base 87/28487/5
Huang Haibin [Thu, 18 Jan 2018 14:29:40 +0000 (22:29 +0800)]
Move proxy util from newton to newton_base

Change-Id: Ibbeef804c500720ee7d612e9c3c93df7974c7cda
Issue-ID: MULTICLOUD-138
Signed-off-by: Huang Haibin <haibin.huang@intel.com>
7 years agoAdd newton base directory 59/28359/4
Huang Haibin [Tue, 16 Jan 2018 22:06:27 +0000 (06:06 +0800)]
Add newton base directory

newton base directory is mainly placed openstack public files, we
will move mainly from the original newton folder.this patch create
newton base framework and move one file to here.

Issue-ID: MULTICLOUD-138
Change-Id: Ie901795a5cf3383217c3585eb6602a4baba6dcd8
Signed-off-by: Huang Haibin <haibin.huang@intel.com>
7 years agoMerge "Centralize the release version for UTs"
Bin Yang [Sat, 13 Jan 2018 07:37:34 +0000 (07:37 +0000)]
Merge "Centralize the release version for UTs"

7 years agoMerge "Add UTs for VimDriverUtils class"
Bin Yang [Sat, 13 Jan 2018 07:36:39 +0000 (07:36 +0000)]
Merge "Add UTs for VimDriverUtils class"

7 years agoFix interface name issue 91/26491/10
Huang Haibin [Wed, 13 Dec 2017 05:16:32 +0000 (13:16 +0800)]
Fix interface name issue

Fix interface name issue in multicloud test due to
vagrant box bento/ubuntu-16.04 update

Issue-ID: MULTICLOUD-57

Change-Id: If43b2bdcd440149200a413789637e7f8ee51f25b
Signed-off-by: Huang Haibin <haibin.huang@intel.com>
7 years agoAdd UTs for VimDriverUtils class 59/27759/1
Victor Morales [Tue, 9 Jan 2018 22:52:07 +0000 (14:52 -0800)]
Add UTs for VimDriverUtils class

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

7 years agoFix version dependencies 29/27729/1
Victor Morales [Tue, 9 Jan 2018 16:15:25 +0000 (08:15 -0800)]
Fix version dependencies

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

7 years agoCentralize the release version for UTs 71/27571/1
Victor Morales [Sat, 6 Jan 2018 01:32:25 +0000 (17:32 -0800)]
Centralize the release version for UTs

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

7 years agoAdd pbr as building tool 79/23179/3
Bin Yang [Tue, 19 Dec 2017 07:54:33 +0000 (15:54 +0800)]
Add pbr as building tool

PBR is a library that helps to build python project through configuration files simplifying the deployment for them. This change adds support for it.

Change-Id: I77ac639d9ba2df7122cb6a9cec68ae7551bac89e
Issue-ID: MULTICLOUD-83
Signed-off-by: Victor Morales <victor.morales@intel.com>
Signed-off-by: Bin Yang <bin.yang@windriver.com>
7 years agoBump minor version,step 2 29/25529/1
Bin Yang [Tue, 5 Dec 2017 08:52:25 +0000 (16:52 +0800)]
Bump minor version,step 2

Bump minor version in preparation for Amsterdam
branching.

Change-Id: Ib4118178d279a1cdf9094ad875419739a4eed664
Issue-ID: CIMAN-120
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
Signed-off-by: Bin Yang <bin.yang@windriver.com>
7 years agoBump minor version,step 1 17/24617/3
Bin Yang [Tue, 5 Dec 2017 01:56:04 +0000 (09:56 +0800)]
Bump minor version,step 1

Bump minor version in preparation for Amsterdam
branching.

Change-Id: I42c8fe8ffa2c8c3651454567e6045a0fc2aef4a5
Issue-ID: CIMAN-120
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
Signed-off-by: Bin Yang <bin.yang@windriver.com>
7 years agoMerge "Separate test modules from requirements.txt"
Bin Yang [Wed, 22 Nov 2017 06:59:07 +0000 (06:59 +0000)]
Merge "Separate test modules from requirements.txt"

7 years agoUpdate Dependency on oparent 37/23737/1 1.0.0-Amsterdam 1.0.0-ONAP v1.0.0
Bin Yang [Thu, 16 Nov 2017 02:46:54 +0000 (10:46 +0800)]
Update Dependency on oparent

Update POM setting of OpenStack plugins

Change-Id: I92d67244ff24cef00f72278652e33794d73ad53e
Issue-Id: MULTICLOUD-128
Signed-off-by: Bin Yang <bin.yang@windriver.com>
7 years agoSeparate test modules from requirements.txt 07/23507/1
Victor Morales [Tue, 14 Nov 2017 20:24:57 +0000 (12:24 -0800)]
Separate test modules from requirements.txt

The modules required for unit tests can be included in another file,
this helps during the packaging process to avoid the addition of
non-required dependencies.

Change-Id: I3d1dc0c265a26e22be66d261f2de2ae939a1d6f8
Signed-off-by: Victor Morales <victor.morales@intel.com>
Issue-Id: MULTICLOUD-83

7 years agoMerge "add bind9 options for designate"
Bin Yang [Fri, 3 Nov 2017 09:51:08 +0000 (09:51 +0000)]
Merge "add bind9 options for designate"

7 years agoadd bind9 options for designate 27/21427/2
Guo Ruijing [Tue, 31 Oct 2017 14:59:23 +0000 (07:59 -0700)]
add bind9 options for designate

Change-Id: I3dbc4ea6a49e01850918cbe8662fed78269da5af
Issue-Id: MULTICLOUD-95
Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
7 years agoMerge "Update tests to make use of abstracted test_base"
Bin Yang [Tue, 31 Oct 2017 09:23:21 +0000 (09:23 +0000)]
Merge "Update tests to make use of abstracted test_base"

7 years agoWorkaround for keystone url without version 15/21415/1
Bin Yang [Tue, 31 Oct 2017 05:14:50 +0000 (13:14 +0800)]
Workaround for keystone url without version

Append v3 to end of keystone url if version is missing

Change-Id: Ic0d2ad254b4cf542b5040fed189ad85fe5176e84
Issue-Id: MULTICLOUD-123
Signed-off-by: Bin Yang <bin.yang@windriver.com>
7 years agoWorkaround APPC dependency on compute v2 API 13/21013/1
Bin Yang [Fri, 27 Oct 2017 13:38:47 +0000 (21:38 +0800)]
Workaround APPC dependency on compute v2 API

Change-Id: Ia33e6b2b02e8d7d74b781527dd5e0376ce27aa38
Issue-Id: MULTICLOUD-106
Signed-off-by: Bin Yang <bin.yang@windriver.com>
7 years agoUpdate tests to make use of abstracted test_base 57/20457/5
Shashank Kumar Shankar [Tue, 24 Oct 2017 23:01:39 +0000 (16:01 -0700)]
Update tests to make use of abstracted test_base

This patch updates various tests to make use of the abstracted
test_base.

Issue-Id: MULTICLOUD-83

Change-Id: I85573f1086e0ce19db48ae70827d27f3b9a1a4ca
Signed-off-by: Shashank Kumar Shankar <shashank.kumar.shankar@intel.com>
7 years agoSet the default auth url to be v2.0 63/20763/1
Bin Yang [Thu, 26 Oct 2017 10:14:52 +0000 (18:14 +0800)]
Set the default auth url to be v2.0

Change-Id: I34afca5b5388299d5fe6a0962fb4e850275dfefa
Issue-Id: MULTICLOUD-119
Signed-off-by: Bin Yang <bin.yang@windriver.com>
7 years agoAdd health check by API of GET keystone url 05/20505/1
Bin Yang [Wed, 25 Oct 2017 07:37:11 +0000 (15:37 +0800)]
Add health check by API of GET keystone url

make it easy for DCAE to check MC health state

Change-Id: I99766e309f8ddff11a0fa82ea648ec1b8a7ee75a
Issue-Id: MULTICLOUD-106
Signed-off-by: Bin Yang <bin.yang@windriver.com>
7 years agoUpdate identity conversion for API v2.0 91/20491/2
Bin Yang [Wed, 25 Oct 2017 07:10:15 +0000 (15:10 +0800)]
Update identity conversion for API v2.0

support parameter tenantId

Change-Id: I11d94db0c6fc4d7ea40d66110bb90d2976cd6f3e
Issue-Id: MULTICLOUD-119
Signed-off-by: Bin Yang <bin.yang@windriver.com>
7 years agoFix bug of keystone v2.0 API 61/20161/3
Bin Yang [Mon, 23 Oct 2017 17:14:07 +0000 (01:14 +0800)]
Fix bug of keystone v2.0 API

Change-Id: I3683a867efc5c836b1d842dcdcd8240f4829f9f3
Issue-Id: MULTICLOUD-118
Signed-off-by: Bin Yang <bin.yang@windriver.com>
7 years agoAdd DNSaaS delegate 23/20123/1
Bin Yang [Mon, 23 Oct 2017 11:34:54 +0000 (19:34 +0800)]
Add DNSaaS delegate

for ocata and windriver plugins

Change-Id: I3f06c85a98347153b7a8acb6347805025359cfb0
Issue-Id: MULTICLOUD-106
Signed-off-by: Bin Yang <bin.yang@windriver.com>
7 years agoMerge "Add Unit Test Abstract Base in test_base"
Bin Yang [Mon, 23 Oct 2017 11:23:25 +0000 (11:23 +0000)]
Merge "Add Unit Test Abstract Base in test_base"

7 years agoAdd DNSaaS delegate service 95/20095/1
Bin Yang [Mon, 23 Oct 2017 09:33:20 +0000 (17:33 +0800)]
Add DNSaaS delegate service

Change-Id: Ifec8958a07a30b58602e242c1769ba4ece5677cd
Issue-Id: MULTICLOUD-106
Signed-off-by: Bin Yang <bin.yang@windriver.com>
7 years agoAdd a UT threshold 89/19389/2
Bin Yang [Thu, 19 Oct 2017 01:52:51 +0000 (09:52 +0800)]
Add a UT threshold

This change helps to monitor and detect changes that reduce the
porcentage of the Unit test coverage.

Change-Id: I289f4c2f9d13b5531b8d7580f62a3a7ba5f3ee5f
Signed-off-by: Victor Morales <victor.morales@intel.com>
Issue-Id: MULTICLOUD-83
Signed-off-by: Bin Yang <bin.yang@windriver.com>
7 years agoAdd Unit Test Abstract Base in test_base 43/19143/2
Shashank Kumar Shankar [Mon, 16 Oct 2017 22:59:22 +0000 (15:59 -0700)]
Add Unit Test Abstract Base in test_base

This patch adds an Abstract Test class so that all common
type of test functions are in this class and they can be resused
without having to be repeated in each test case.

This patch also updates test_image to make use of the abstracted
test_base

Issue-Id: MULTICLOUD-83

Change-Id: If11ce71627f018a614e04e90d3353a4fc2fb3cfe
Signed-off-by: Shashank Kumar Shankar <shashank.kumar.shankar@intel.com>
7 years agoFix error of registration 35/19035/1
Bin Yang [Mon, 16 Oct 2017 10:00:09 +0000 (18:00 +0800)]
Fix error of registration

Change-Id: Ia8cf83a84dc8484e4e02d6372ff4646049b9234b
Issue-Id: MULTICLOUD-111
Signed-off-by: Bin Yang <bin.yang@windriver.com>
7 years agoFix openstack plugin identity error 15/18715/1
Bin Yang [Fri, 13 Oct 2017 06:42:56 +0000 (14:42 +0800)]
Fix openstack plugin identity error

Change-Id: I358d32cdbb12698aa4e6fa3517c2465888bf68de
Issue-Id: MULTICLOUD-115
Signed-off-by: Bin Yang <bin.yang@windriver.com>
7 years agoFix registration error 31/18231/2
Bin Yang [Wed, 11 Oct 2017 09:47:54 +0000 (17:47 +0800)]
Fix registration error

Change-Id: I6d4cd20fbd913eb21a78247434e79d4d50276dda
Issue-Id: MULTICLOUD-111
Signed-off-by: Bin Yang <bin.yang@windriver.com>
7 years agoAdd staging docker images for OpenStack plugins 99/18199/2
Bin Yang [Wed, 11 Oct 2017 08:19:45 +0000 (16:19 +0800)]
Add staging docker images for OpenStack plugins

Add staging docker images and enable logger of submodules

Change-Id: Ib64f30ab50002dca67c6835866ffc46fc83d7934
Issue-Id: MULTICLOUD-110
Signed-off-by: Bin Yang <bin.yang@windriver.com>
7 years agoFix bug of OpenStack Proxy 23/17823/2
Bin Yang [Tue, 10 Oct 2017 10:26:18 +0000 (18:26 +0800)]
Fix bug of OpenStack Proxy

Add query back to SBI, add header to claim formats

Change-Id: Ie507c98e7e5c1aa5c97cf451a945621192367c99
Issue-Id: MULTICLOUD-109
Signed-off-by: Bin Yang <bin.yang@windriver.com>
7 years agoFix bug in identity v2.0 proxy 91/17591/2
Bin Yang [Mon, 9 Oct 2017 09:42:08 +0000 (17:42 +0800)]
Fix bug in identity v2.0 proxy

Change-Id: I9e25a1b6438f602e38c13cc1282daa9b10118388
Issue-Id: MULTICLOUD-109
Signed-off-by: Bin Yang <bin.yang@windriver.com>
7 years agoAdd UT for ocata and WindRiver plugin 53/16753/1
Bin Yang [Sun, 1 Oct 2017 06:02:31 +0000 (14:02 +0800)]
Add UT for ocata and WindRiver plugin

Add registration test

Change-Id: I262233bbfd4d963981ab2e93d29ee31fbc3f99ba
Issue-Id: MULTICLOUD-83
Signed-off-by: Bin Yang <bin.yang@windriver.com>
7 years agoAdd UT for ocata and windriver 53/16653/1
Bin Yang [Fri, 29 Sep 2017 16:02:32 +0000 (00:02 +0800)]
Add UT for ocata and windriver

Change-Id: I6b921443cdd1181e1953962afeb11a706329c5e9
Issue-Id: MULTICLOUD-83
Signed-off-by: Bin Yang <bin.yang@windriver.com>
7 years agoMerge "Add UTs for requests/hosts and limits"
Bin Yang [Fri, 29 Sep 2017 09:08:24 +0000 (09:08 +0000)]
Merge "Add UTs for requests/hosts and limits"

7 years agoMerge "Adding UT for vport.py"
Bin Yang [Fri, 29 Sep 2017 09:08:00 +0000 (09:08 +0000)]
Merge "Adding UT for vport.py"

7 years agoAdd UTs for requests/hosts and limits 33/16533/1
Shashank Kumar Shankar [Thu, 28 Sep 2017 23:00:33 +0000 (16:00 -0700)]
Add UTs for requests/hosts and limits

This patch adds unit tests for requests/hosts and
requests/limits

Change-Id: I1d8d3009fd2ee70770f3e20cb4aa5a0adb38dbfa
Issue-Id: MULTICLOUD-83
Signed-off-by: Shashank Kumar Shankar <shashank.kumar.shankar@intel.com>
7 years agoAdding UT for vport.py 87/16487/3
Kiran [Thu, 28 Sep 2017 18:21:15 +0000 (11:21 -0700)]
Adding UT for vport.py

This change contains unit tests for vport.py
using the latest test_base wrapper.
Removed unused imports
Used status constant instead of numbers for status_code

Change-Id: Ic7f5b793c2432a819fde0cfd1576046f08b8013d
Signed-off-by: Kiran <kiran.k.kamineni@intel.com>
Issue-Id: MULTICLOUD-83

7 years agoMerge "Create UTs for Tenants APIView"
Bin Yang [Thu, 28 Sep 2017 21:41:47 +0000 (21:41 +0000)]
Merge "Create UTs for Tenants APIView"

7 years agoCreate UTs for Tenants APIView 13/16513/1
Victor Morales [Thu, 28 Sep 2017 20:49:14 +0000 (13:49 -0700)]
Create UTs for Tenants APIView

The Tenants APIView class didn't have Unit Tests that validates
its functionality. This change creates UTs for two specific scenarios

* Retrieving tenants/projects information
* Retrieving tenants/projects information thru a querystring

Change-Id: Ibeaf8af991ae3c3d926867f04285449f41f050c9
Signed-off-by: Victor Morales <victor.morales@intel.com>
Issue-Id: MULTICLOUD-83

7 years agoCreate UTs for Registry APIView 81/16481/1
Victor Morales [Thu, 28 Sep 2017 17:50:03 +0000 (10:50 -0700)]
Create UTs for Registry APIView

This change creates unit tests for the Registry APIView class
and refactors its code to simplify it and reuse some functionality

Change-Id: I33a01e750e80d4acbae12bbd873484bbb423f1cf
Signed-off-by: Victor Morales <victor.morales@intel.com>
Issue-Id: MULTICLOUD-83

7 years agoMerge "Refactor flavor UTs"
Bin Yang [Thu, 28 Sep 2017 02:10:13 +0000 (02:10 +0000)]
Merge "Refactor flavor UTs"

7 years agoMerge "Update UTs for requests/image and network"
Bin Yang [Thu, 28 Sep 2017 02:09:57 +0000 (02:09 +0000)]
Merge "Update UTs for requests/image and network"

7 years agoMerge "Add UTs for requests/subnets"
Bin Yang [Thu, 28 Sep 2017 02:09:42 +0000 (02:09 +0000)]
Merge "Add UTs for requests/subnets"

7 years agoUpdate UTs for requests/image and network 13/16113/2
Shashank Kumar Shankar [Wed, 27 Sep 2017 21:31:48 +0000 (14:31 -0700)]
Update UTs for requests/image and network

This patch updates unit tests for requests/image and
network to make use of new get_mock_session method.

Change-Id: Ic207094b8c2bd7fae09cf718bca41d64b17f1b13
Issue-Id: MULTICLOUD-83
Signed-off-by: Shashank Kumar Shankar <shashank.kumar.shankar@intel.com>
7 years agoAdd UTs for requests/subnets 71/16071/2
Shashank Kumar Shankar [Wed, 27 Sep 2017 18:46:00 +0000 (11:46 -0700)]
Add UTs for requests/subnets

This patch adds unit tests for requests/subnets.

Change-Id: Icc363b190867504af3125d8a8b5ca090c3691d6f
Issue-Id: MULTICLOUD-83
Signed-off-by: Shashank Kumar Shankar <shashank.kumar.shankar@intel.com>
7 years agoAdding Unit Tests for requests/volumes 65/15665/3
Kiran [Tue, 26 Sep 2017 18:01:39 +0000 (11:01 -0700)]
Adding Unit Tests for requests/volumes

Updated with test_base usage
Incorporated review feedback
Updated with consolidated url variable used in all calls

Change-Id: Id0898ac4bda7e1ac8c21e017234a4f5856d1c61e
Signed-off-by: Kiran <kiran.k.kamineni@intel.com>
Issue-Id: MULTICLOUD-83

7 years agoRefactor flavor UTs 59/16059/1
Victor Morales [Wed, 27 Sep 2017 18:21:07 +0000 (11:21 -0700)]
Refactor flavor UTs

The creation of base class helps to reduce code and improve existing
Unit Tests. This changes uses the latest improvements.

Change-Id: Ib0fa298c72df73761320ab415c22d6eabbc8caea
Signed-off-by: Victor Morales <victor.morales@intel.com>
Issue-Id: MULTICLOUD-83

7 years agoMerge "build docker from local maven for function test"
Bin Yang [Wed, 27 Sep 2017 06:34:26 +0000 (06:34 +0000)]
Merge "build docker from local maven for function test"