aboutsummaryrefslogtreecommitdiffstats
path: root/src/onaptests/configuration
diff options
context:
space:
mode:
authorLukasz Rajewski <lukasz.rajewski@orange.com>2021-01-05 20:58:12 +0000
committerGerrit Code Review <gerrit@onap.org>2021-01-05 20:58:12 +0000
commitd089e89005df1b4b3b6238a2937e23791c07d9ae (patch)
treef527f96f06985e770cd60be71b62260ae48dfcc2 /src/onaptests/configuration
parenta2da63228ee409830170239c7ad0d9c073793909 (diff)
parentaf63861d32daac92cfaf1e00842fa23bc6ba7c6b (diff)
Merge "PNF macro instantiation"
Diffstat (limited to 'src/onaptests/configuration')
-rw-r--r--src/onaptests/configuration/pnf_macro_settings.py43
1 files changed, 43 insertions, 0 deletions
diff --git a/src/onaptests/configuration/pnf_macro_settings.py b/src/onaptests/configuration/pnf_macro_settings.py
new file mode 100644
index 0000000..446b5db
--- /dev/null
+++ b/src/onaptests/configuration/pnf_macro_settings.py
@@ -0,0 +1,43 @@
+from pathlib import Path
+
+from .settings import * # pylint: disable=W0614
+
+ONLY_INSTANTIATE = False
+CLEANUP_FLAG = True
+
+VENDOR_NAME = "pnf_macro_vendor"
+SERVICE_NAME = "test_pnf_macro"
+SERVICE_INSTANCE_NAME = "TestPNFMacroInstantiation"
+SERVICE_YAML_TEMPLATE = Path(Path(__file__).parent.parent, "templates/vnf-services/pnf-service.yaml")
+
+CDS_DD_FILE = Path(Path(__file__).parent.parent, "templates/artifacts/dd.json")
+CDS_CBA_UNENRICHED = Path(Path(__file__).parent.parent, "templates/artifacts/PNF_DEMO.zip")
+CDS_CBA_ENRICHED = "/tmp/PNF_DEMO_enriched.zip"
+
+GLOBAL_CUSTOMER_ID = "pnf_macrocustomer"
+OWNING_ENTITY = "pnf_macro_owning_entity"
+PROJECT = "pnf_macro_project"
+LINE_OF_BUSINESS = "pnf_macro_line_of_business"
+PLATFORM = "pnf_macro_platform"
+
+INSTANTIATION_TIMEOUT = 600
+
+PNF_VES_CONFIG = dict(
+ count=1,
+ vesprotocol="https",
+ vesip="", # Due to it's not possible to get these value from SDK settings now it's going to be updated later
+ vesport="", # Due to it's not possible to get these value from SDK settings now it's going to be updated later
+ vesresource="eventListener",
+ vesversion="v7",
+ ipstart="10.11.0.16",
+ user="sample1",
+ password="sample1",
+ ipfileserver="127.0.0.1",
+ typefileserver="sftp",
+)
+PNF_CUSTOM_DATA = dict(
+ commonEventHeaderParams=dict(
+ sourceName=SERVICE_INSTANCE_NAME,
+ reportingEntityName=SERVICE_INSTANCE_NAME
+ )
+)