aboutsummaryrefslogtreecommitdiffstats
path: root/src/onaptests/steps/cloud/register_cloud.py
diff options
context:
space:
mode:
authorThierry Hardy <thierry.hardy@orange.com>2020-10-02 16:18:17 +0200
committerThierry Hardy <thierry.hardy@orange.com>2020-10-08 15:47:00 +0200
commit0123c525b0182a5d6f9cd1bee3830eb1956239c7 (patch)
tree2ba5a5b7ae88e53aa634cabd113338b42d49c8d0 /src/onaptests/steps/cloud/register_cloud.py
parentd1d44781c7d03c8794dd626184f77d9836264212 (diff)
Create basic_cnf test leveraging onapsdk
Add the scenario basic_cnf that uses multicloud-k8s plugin to instantiate cnf on k8s Add the removal of profile in cleanup part Add store_state Issue-ID: TEST-243 Signed-off-by: Thierry Hardy <thierry.hardy@orange.com> Change-Id: Ib743c259decf95cdc69975e1ef7d4ba7aadccfae
Diffstat (limited to 'src/onaptests/steps/cloud/register_cloud.py')
-rw-r--r--src/onaptests/steps/cloud/register_cloud.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/onaptests/steps/cloud/register_cloud.py b/src/onaptests/steps/cloud/register_cloud.py
index 6836b12..0ab0dfb 100644
--- a/src/onaptests/steps/cloud/register_cloud.py
+++ b/src/onaptests/steps/cloud/register_cloud.py
@@ -18,6 +18,9 @@ class RegisterCloudRegionStep(BaseStep):
- CLOUD_REGION_CLOUD_OWNER,
- CLOUD_REGION_ID,
- CLOUD_DOMAIN,
+ - CLOUD_REGION_VERSION,
+ - CLOUD_OWNER_DEFINED_TYPE,
+ - COMPLEX_PHYSICAL_LOCATION_ID,
- VIM_USERNAME,
- VIM_PASSWORD,
- VIM_SERVICE_URL,
@@ -38,7 +41,10 @@ class RegisterCloudRegionStep(BaseStep):
orchestration_disabled=False,
in_maint=False,
cloud_type=settings.CLOUD_REGION_TYPE,
- cloud_region_version=settings.CLOUD_REGION_VERSION
+ cloud_region_version=settings.CLOUD_REGION_VERSION,
+ owner_defined_type=settings.CLOUD_OWNER_DEFINED_TYPE,
+ complex_name=settings.COMPLEX_PHYSICAL_LOCATION_ID
+ # cloud_extra_info=settings.CLOUD_EXTRA_INFO
)
cloud_region.add_esr_system_info(
esr_system_info_id=str(uuid4()),