diff options
author | 2020-10-12 11:24:35 +0000 | |
---|---|---|
committer | 2020-10-12 11:24:35 +0000 | |
commit | 3665193f16a9be666fce10c562bdf459c95c22b2 (patch) | |
tree | 5771e36ae84931997192b20ace3ad161b26da00d /src/onaptests/steps/cloud/connect_service_subscription_to_cloud_region.py | |
parent | 5ef0bbbda90428378a08d416481b90047f5ba870 (diff) | |
parent | 0123c525b0182a5d6f9cd1bee3830eb1956239c7 (diff) |
Merge "Create basic_cnf test leveraging onapsdk"
Diffstat (limited to 'src/onaptests/steps/cloud/connect_service_subscription_to_cloud_region.py')
-rw-r--r-- | src/onaptests/steps/cloud/connect_service_subscription_to_cloud_region.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/onaptests/steps/cloud/connect_service_subscription_to_cloud_region.py b/src/onaptests/steps/cloud/connect_service_subscription_to_cloud_region.py index 636f8cd..d48ff7c 100644 --- a/src/onaptests/steps/cloud/connect_service_subscription_to_cloud_region.py +++ b/src/onaptests/steps/cloud/connect_service_subscription_to_cloud_region.py @@ -6,6 +6,7 @@ from ..base import BaseStep from .customer_service_subscription_create import CustomerServiceSubscriptionCreateStep from .link_cloud_to_complex import LinkCloudRegionToComplexStep from .register_cloud import RegisterCloudRegionStep +from .k8s_connectivity_info_create import K8SConnectivityInfoStep class ConnectServiceSubToCloudRegionStep(BaseStep): @@ -21,6 +22,8 @@ class ConnectServiceSubToCloudRegionStep(BaseStep): """ super().__init__(cleanup=cleanup) + if settings.CLOUD_REGION_TYPE == "k8s": + self.add_step(K8SConnectivityInfoStep(cleanup=cleanup)) self.add_step(RegisterCloudRegionStep(cleanup=cleanup)) self.add_step(LinkCloudRegionToComplexStep(cleanup=cleanup)) self.add_step(CustomerServiceSubscriptionCreateStep(cleanup=cleanup)) |