aboutsummaryrefslogtreecommitdiffstats
path: root/test/hpa_automation/hpa_automation_config.json
diff options
context:
space:
mode:
authorroot@rancher <root@rancher>2019-05-01 16:39:12 -0700
committerItohan <itohan.ukponmwan@intel.com>2019-05-01 17:03:45 -0700
commit6c68bee53a13edf15a72ae349adf4592a2560811 (patch)
treea329352e6c7b9666b689565e1b57925cd95b1f0e /test/hpa_automation/hpa_automation_config.json
parent97c46fbacbf482326a29f52041b5ad7ec935610e (diff)
HPA Automation script
Python script to automate deployment of vFW and VDNS use cases using SO Change-Id: Ie232a47d03659daa7b4b869bff842a6c7c4848b3 Issue-ID: INT-905 INT-904 INT-794 Signed-off-by: Itohan Ukponmwan <itohan.ukponmwan@intel.com>
Diffstat (limited to 'test/hpa_automation/hpa_automation_config.json')
-rw-r--r--test/hpa_automation/hpa_automation_config.json176
1 files changed, 176 insertions, 0 deletions
diff --git a/test/hpa_automation/hpa_automation_config.json b/test/hpa_automation/hpa_automation_config.json
new file mode 100644
index 000000000..96eb3ed82
--- /dev/null
+++ b/test/hpa_automation/hpa_automation_config.json
@@ -0,0 +1,176 @@
+{
+
+"open_cli_product" : "onap-dublin",
+"open_cli_home" : "/root/cli/deployment/zip/target/deployunzip",
+"aai_url" : "https://10.12.6.235:30233",
+"aai_username" : "AAI",
+"aai_password" : "AAI",
+"sdc_onboarding_url" : "http://10.43.246.144:8081",
+"sdc_catalog_url" : "http://10.12.6.235:30205",
+"sdc_password" : "demo123456!",
+"sdc_creator" : "cs0008",
+"sdc_tester" : "jm0007",
+"sdc_governor" : "gv0001",
+"sdc_operator" : "op0001",
+"csar-file-path" : "/root/automation_stuff/hpa_zip_files/vfw_hpa.zip",
+"sdnc_url" : "http://10.12.6.235:30202",
+"sdnc_user" : "admin",
+"sdnc_password" : "Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U",
+"sdnc_preload_file" : "/root/automation_stuff/vfw_hpa_preload.txt",
+"so_url" : "http://10.12.6.235:30277",
+"so_username" : "InfraPortalClient",
+"so_password" : "password1$",
+"so_mariadb_host" : "10.42.6.13",
+"so_mariadb_user" : "root",
+"so_mariadb_password" : "secretpassword",
+"so_mariadb_db" : "catalogdb",
+"multicloud_url" : "http://10.12.6.235:30280",
+"policy_url" : "https://10.12.6.235:30240",
+"policy_username" : "testpdp",
+"policy_password" : "alpha123",
+"policy_models_directory" : "/root/automation_stuff/optf-osdf/osdf/models/policy/placement/tosca_upload/",
+"policy_directory" : "/root/automation_stuff/vfw_policies",
+"policy_scope" : "OSDF_CASABLANCA",
+"policy_onapName" : "SampleDemo",
+"policy_config_type": "MicroService",
+"policy_pdp_group" : "default",
+
+
+"//" : "#Parameters required to create cloud complex",
+"complex_name" : "clli1",
+"street1" : "street1",
+"street2" : "street2",
+"physical_location" : "phy_type",
+"data_center_code" : "code1",
+"latitude" : "32.89948",
+"longitude" : "97.045443",
+"lata" : "example-lata-val-28399",
+"elevation" : "example-elevation-val-28399",
+"region" : "northwest",
+"state" : "oregon",
+"city" : "hillsboro",
+"postal-code" : "00000",
+"country" : "USA",
+"identity_url" : "example-identity-url-val-56898",
+
+"//" : "#Dictionary containing cloud regions and their Parameters",
+
+
+ "cloud_region_data":{
+ "ONAP-POD-01-Rail-05":{
+ "cloud-region-version" : "titanium_cloud",
+ "esr-system-info-id":"5c85ce1f-aa78-4ebf-8d6f-4b62784e9bc7",
+ "service-url": "http://10.12.11.1:5000/v3",
+ "user-name":"${cloud-username}",
+ "password":"${cloud-password}",
+ "system-type": "VIM",
+ "ssl-insecure":true,
+ "cloud-domain":"Default",
+ "default-tenant":"Integration-HPA",
+ "tenant-id" : "709ba629fe194f8699b12f9d6ffd86a0",
+ "cloud-type" : "openstack",
+ "identity-url": "WillBeUpdatedByMultiCloud",
+ "system-status":"active"
+ },
+
+ "ONAP-POD-01-Rail-06":{
+ "cloud-region-version" : "titanium_cloud",
+ "esr-system-info-id":"5c85ce1f-aa78-4ebf-8d6f-4b62773e9bc7",
+ "service-url": "http://10.12.11.1:5000/v3",
+ "user-name":"${cloud-username}",
+ "password":"${cloud-password}",
+ "system-type": "VIM",
+ "ssl-insecure":true,
+ "cloud-domain":"Default",
+ "default-tenant":"Integration-HPA",
+ "tenant-id" : "709ba629fe194f8699b12f9d6ffd86a0",
+ "cloud-type" : "openstack",
+ "identity-url": "WillBeUpdatedByMultiCloud",
+ "system-status":"active"
+ },
+
+ "ONAP-POD-01-Rail-07":{
+ "cloud-region-version" : "titanium_cloud",
+ "esr-system-info-id":"4c85ce1f-aa78-4ebf-8d6f-4b62773e9bc7",
+ "service-url": "http://10.12.11.1:5000/v3",
+ "user-name":"${cloud-username}",
+ "password":"${cloud-password}",
+ "system-type": "VIM",
+ "ssl-insecure":true,
+ "cloud-domain":"Default",
+ "default-tenant":"Integration-HPA",
+ "tenant-id" : "709ba629fe194f8699b12f9d6ffd86a0",
+ "cloud-type" : "openstack",
+ "identity-url": "WillBeUpdatedByMultiCloud",
+ "system-status":"active"
+ }
+ },
+
+
+"//" : "#Parameters to register cloud region",
+"cloud-owner" : "CloudOwner",
+"owner-defined-type" : "t1",
+"cloud-zone" : "CloudZone",
+
+"service_name" : "vFW",
+"customer_name" : "hpa_cust",
+"subscriber_name" : "hpa_cust",
+
+"//" : "Onboarding parameters",
+"vendor-name" : "hpa-vendor",
+"entitlement-pool-name" : "hpa-pool",
+"entitlement-description" : "hpa-pool",
+"start-date" : "04/23/2019",
+"expiry-date" : "12/31/2040",
+"key-group-name" : "hpa-key",
+"key-group-type" : "Universal",
+"feature-grp-name" : "hpa-feature",
+"feature-grp-desc" : "hpa-feature",
+"part-no" : "hpa-part",
+"agreement-name" : "hpa-agreement",
+"agreement-desc" : "hpa-agreement",
+
+"onboarding-method" : "NetworkPackage",
+"vsp-name" : "hpa-vsp",
+"vsp-desc" : "hpa-vsp-desc",
+"vsp-version" : "1.0",
+
+"vf-name" : "hpa-vf",
+"vf-description" : "hpa-vf",
+"vf-remarks" :"remarkss",
+"vf-version" : "1.0",
+
+"project-code" : "000000",
+"service-model-name" : "vfw-hpa",
+"service-model-desc" : "hpa service model",
+"icon-id" : "network_l_1-3",
+"category-display" : "Network L1-3",
+"category" : "network l1-3",
+
+"service-test-remarks" : "test",
+"service-accept-remarks" : "accepted",
+"service-approve-remarks" : "approved",
+
+
+"//" : "service instance parameters",
+"instance-name" : "hpa-instance",
+"requestor-id" : "demo",
+"customer-latitude":"32.897480",
+"customer-longitude":"97.040443",
+"company-name":"some_company",
+"homing-solution" : "oof",
+"orchestrator" : "multicloud",
+"owning-entity-name":"OE-Demonstration",
+"projectName" : "Project-Demonstration",
+"a-la-carte" : true,
+"test-api" : "VNF_API",
+
+"//" : "vnf parameters",
+"platform-name" : "Platform-Demonstration",
+"lob-name" : "LOB-Demonstration",
+"generic-vnf-name" : "vfw-hpa-vnf",
+
+"vf-module-name" : "vfw-sriov-cli",
+"supress-rollback" : "false",
+"use-preload" : "true"
+}