diff options
author | Lukasz Rajewski <lukasz.rajewski@t-mobile.pl> | 2023-07-18 06:39:55 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2023-07-18 06:39:55 +0000 |
commit | 38bf8bc7d385f1ee984df857f1d9231ce15cbbb5 (patch) | |
tree | 2e95385b0a21a7af15246f7d6bc61f103facb340 /src/onaptests/configuration/basic_vm_settings.py | |
parent | 7d0468d3c4590fcb9d80dea83f8550dab39b35ae (diff) | |
parent | 939f1933c8635a18de428c696c97cc5d8600abff (diff) |
Merge "Add pylama into checks"
Diffstat (limited to 'src/onaptests/configuration/basic_vm_settings.py')
-rw-r--r-- | src/onaptests/configuration/basic_vm_settings.py | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/onaptests/configuration/basic_vm_settings.py b/src/onaptests/configuration/basic_vm_settings.py index 0b33ec1..8066625 100644 --- a/src/onaptests/configuration/basic_vm_settings.py +++ b/src/onaptests/configuration/basic_vm_settings.py @@ -3,19 +3,19 @@ import openstack from yaml import load, SafeLoader from onaptests.utils.resources import get_resource_location import onaptests.utils.exceptions as onap_test_exceptions -from .settings import * # pylint: disable=W0614 +from .settings import * # noqa """ Specific basic_vm without multicloud.""" # pylint: disable=bad-whitespace # The ONAP part -SERVICE_DETAILS="Onboarding, distribution and instanitation of an Ubuntu VM using à la carte" -SERVICE_COMPONENTS="SDC, DMAAP, AAI, SO, SDNC" +SERVICE_DETAILS = "Onboarding, distribution and instanitation of an Ubuntu VM using à la carte" +SERVICE_COMPONENTS = "SDC, DMAAP, AAI, SO, SDNC" USE_MULTICLOUD = False # Set ONLY_INSTANTIATE to true to run an instantiation without repeating # onboarding and related AAI configuration (Cloud config) -ONLY_INSTANTIATE= False +ONLY_INSTANTIATE = False # if a yaml file is define, retrieve info from this yaml files # if not declare the parameters in the settings @@ -61,12 +61,12 @@ SERVICE_INSTANCE_NAME = "basic_vm_service_instance" TEST_CLOUD = os.getenv('OS_TEST_CLOUD') TEST_CLOUD = os.getenv('OS_TEST_CLOUD') cloud = openstack.connect(cloud=TEST_CLOUD) -VIM_USERNAME = cloud.config.auth.get('username','Fill me') -VIM_PASSWORD = cloud.config.auth.get('password','Fill me') -VIM_SERVICE_URL = cloud.config.auth.get('auth_url','Fill me') -TENANT_ID = cloud.config.auth.get('project_id','Fill me') -TENANT_NAME = cloud.config.auth.get('project_name','Fill me') -CLOUD_REGION_ID = cloud.config.auth.get('region_name','RegionOne') -CLOUD_DOMAIN = cloud.config.auth.get('project_domain_name','Default') +VIM_USERNAME = cloud.config.auth.get('username', 'Fill me') +VIM_PASSWORD = cloud.config.auth.get('password', 'Fill me') +VIM_SERVICE_URL = cloud.config.auth.get('auth_url', 'Fill me') +TENANT_ID = cloud.config.auth.get('project_id', 'Fill me') +TENANT_NAME = cloud.config.auth.get('project_name', 'Fill me') +CLOUD_REGION_ID = cloud.config.auth.get('region_name', 'RegionOne') +CLOUD_DOMAIN = cloud.config.auth.get('project_domain_name', 'Default') MODEL_YAML_TEMPLATE = None |