diff options
author | mrichomme <morgan.richomme@orange.com> | 2021-02-01 17:26:42 +0100 |
---|---|---|
committer | mrichomme <morgan.richomme@orange.com> | 2021-02-01 17:39:08 +0100 |
commit | ba1faac52b28f752516ab075a5bda56058548e49 (patch) | |
tree | 5bc9fc301758fa60a4da73bcca0a8e7b4970d57b /src/onaptests/configuration/basic_vm_multicloud_yaml_settings.py | |
parent | 5021508f4b6f8bf2bb6ef890b4bb960dc144484b (diff) |
[TESTS] cleanup tests and remove reference to ubuntu16
the basic_vm test was historically called ubuntu16...
as we are now delaing more with ubuntu18 or ubuntu20, the reference
to the version16 is a bit old
- Replace ubuntu16 by basic_vm
- Use ubuntu20 instead of Ubuntu16
- Replace onap.small by m1.small to be natively compatible with any Openstack
(default flavor)
Issue-ID: TEST-299
Signed-off-by: mrichomme <morgan.richomme@orange.com>
Change-Id: I69f573354c87c44c10581861450d48244db0c7df
Diffstat (limited to 'src/onaptests/configuration/basic_vm_multicloud_yaml_settings.py')
-rw-r--r-- | src/onaptests/configuration/basic_vm_multicloud_yaml_settings.py | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/src/onaptests/configuration/basic_vm_multicloud_yaml_settings.py b/src/onaptests/configuration/basic_vm_multicloud_yaml_settings.py new file mode 100644 index 0000000..437bd13 --- /dev/null +++ b/src/onaptests/configuration/basic_vm_multicloud_yaml_settings.py @@ -0,0 +1,43 @@ +import sys +from .settings import * # pylint: disable=W0614 + +""" Specific Basic VM with multicloud and yaml config scenario.""" +SERVICE_DETAILS = ("Onboarding, distribution and instantiation of a VM" + + "using à la carte and Multicloud module") +SERVICE_COMPONENTS="SDC, DMAAP, AAI, SO, SDNC, Multicloud" + +USE_MULTICLOUD = True +# Set ONLY_INSTANTIATE to true to run an instantiation without repeating +# onboarding and related AAI configuration (Cloud config) +ONLY_INSTANTIATE= False +VENDOR_NAME = "sdktests_vendor" +SERVICE_NAME = "basicvmtest" # must be the same as in YAML + +CLOUD_REGION_CLOUD_OWNER = "sdktestsOwner" # must not contain _ +CLOUD_REGION_ID = "RegionOne" # should be valid, as otherwise MultiCloud fails +CLOUD_REGION_TYPE = "openstack" +CLOUD_OWNER_DEFINED_TYPE = "N/A" +CLOUD_REGION_VERSION = "titanium_cloud" +CLOUD_DOMAIN = "Default" + +COMPLEX_PHYSICAL_LOCATION_ID = "sdktests_complex_physical_location_id" +COMPLEX_DATA_CENTER_CODE = "sdktests_complex_data_center_code" + +GLOBAL_CUSTOMER_ID = "sdktests_global_customer_id" +TENANT_ID = "" # Fill me in your custom settings +TENANT_NAME= "" # Fill me in your custom settings +AVAILABILITY_ZONE_NAME = "" # Fill me in your custom settings +AVAILABILITY_ZONE_TYPE = "nova" + +VIM_USERNAME = "" # Fill me in your custom settings +VIM_PASSWORD = "" # Fill me in your custom settings +VIM_SERVICE_URL = "" # Fill me in your custom settings + +OWNING_ENTITY = "sdktests_owning_entity" +PROJECT = "sdktests_project" +LINE_OF_BUSINESS = "sdktests_line_of_business" +PLATFORM = "sdktests_platform" + +SERVICE_INSTANCE_NAME = "sdktests_service_instance_name" + +SERVICE_YAML_TEMPLATE = sys.path[-1] + "/onaptests/templates/vnf-services/basic_vm-service.yaml" |