aboutsummaryrefslogtreecommitdiffstats
path: root/src/onaptests/steps/cloud/link_cloud_to_complex.py
diff options
context:
space:
mode:
authorThierry Hardy <thierry.hardy@orange.com>2020-09-24 11:03:54 +0200
committerThierry Hardy <thierry.hardy@orange.com>2020-09-24 12:37:57 +0200
commitc07e351a18ab99bccb96ffd97da623a8bb7b8e6d (patch)
tree4000553cdc03f9d331651a3a97e9416d878ddfe0 /src/onaptests/steps/cloud/link_cloud_to_complex.py
parentd53b9bcaf16fc22554bd8b18e293d310a6056859 (diff)
Avoid to add vim info with ESR if the vim is already provisionned
- Optimization of the cloud configuration - CloudRegionCreateStep was called twice - Change the name of RegisterCloudRegionToMulticloud to RegisterCloudRegion to be more generic - Having the cloud creation in RegisterCloudRegionStep avoid adding the ESR each time an instantiation is launched so the CloudRegionCreateStep is now inserted in RegisterCloudRegionStep - USE_MULTICLOUD was no longer checked - The adding of availability zone and tenant is also moved to RegisterCloudRegionStep Pylint issue corrected Minor errors (init without added step) Issue-ID: TEST-264 Signed-off-by: Thierry Hardy <thierry.hardy@orange.com> Change-Id: Ibfd5506412fd7472144165c19bfe9e4dc53d6e08 Signed-off-by: Thierry Hardy <thierry.hardy@orange.com>
Diffstat (limited to 'src/onaptests/steps/cloud/link_cloud_to_complex.py')
-rw-r--r--src/onaptests/steps/cloud/link_cloud_to_complex.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/onaptests/steps/cloud/link_cloud_to_complex.py b/src/onaptests/steps/cloud/link_cloud_to_complex.py
index 4da3804..a6b0a96 100644
--- a/src/onaptests/steps/cloud/link_cloud_to_complex.py
+++ b/src/onaptests/steps/cloud/link_cloud_to_complex.py
@@ -2,7 +2,6 @@ from onapsdk.aai.cloud_infrastructure import CloudRegion, Complex
from onapsdk.configuration import settings
from ..base import BaseStep
-from .cloud_region_create import CloudRegionCreateStep
from .complex_create import ComplexCreateStep
@@ -18,7 +17,6 @@ class LinkCloudRegionToComplexStep(BaseStep):
"""
super().__init__(cleanup=cleanup)
self.add_step(ComplexCreateStep(cleanup=cleanup))
- self.add_step(CloudRegionCreateStep(cleanup=cleanup))
def execute(self):
"""Link cloud region to complex.