Shorten VM names to match Ansible 37/89037/1
authorBrian Freeman <bf1936@att.com>
Fri, 31 May 2019 14:10:51 +0000 (09:10 -0500)
committerBrian Freeman <bf1936@att.com>
Fri, 31 May 2019 14:12:43 +0000 (14:12 +0000)
Issue-ID: INT-1092
Change-Id: Iff1f8dca489686025a6a791a46e9643b633d1c49
Signed-off-by: Brian Freeman <bf1936@att.com>
preload_data/vFWDT/README.md
preload_data/vFWDT/preload_data.json

index f04ab25..7759cca 100644 (file)
@@ -3,3 +3,7 @@
 #
 #  onap_oam_ext (network and subnet have same name) must be setup in Openstack and an interface from that network attached to a neutron router with the onap_oam
 # network
+
+# The strings for hostnames in name_0 parameters should be 13 characters based on the rules in the Ansible server BuildHostFile.py 
+# this can be changed as needed by a Service Provider as long as it matches the corresponding playbook assumptions
+#
index 3d70f82..4af4622 100644 (file)
@@ -1,16 +1,16 @@
 {
         "vfwdt_vpkg_preload.template": {
-            "unprotected_private_net_id" : "vofwlsnk_unprotected${hostid}",
-            "unprotected_private_subnet_id" : "vofwlsnk_unprotected_sub${hostid}",
+            "unprotected_private_net_id" : "vfwlsnk_unprotected${hostid}",
+            "unprotected_private_subnet_id" : "vfwlsnk_unprotected_sub${hostid}",
             "unprotected_private_net_cidr" : "192.168.10.0/24",
             "protected_private_net_cidr" : "192.168.20.0/24",
-            "vpg_name_0":"vofwl01pgn${hostid}",
-            "vfw_name_0": "vofwl01vfw${hostid}",
-            "vsn_name_0": "vofwl01snk${hostid}",
+            "vpg_name_0":"vfwl01pgn${hostid}",
+            "vfw_name_0": "vfwl01vfw${hostid}",
+            "vsn_name_0": "vfwl01snk${hostid}",
             "image_name" : "${GLOBAL_INJECTED_UBUNTU_1404_IMAGE}",
             "flavor_name" : "${GLOBAL_INJECTED_VM_FLAVOR}",
-            "protected_private_net_id" : "vofwlsnk01_protected${hostid}",
-            "protected_private_subnet_id" : "vofwlsnk01_protected_sub${hostid}",
+            "protected_private_net_id" : "vfwlsnk01_protected${hostid}",
+            "protected_private_subnet_id" : "vfwlsnk01_protected_sub${hostid}",
             "ext_private_net_id": "onap_oam_ext",
             "ext_private_subnet_id": "onap_oam_ext",
             "ext_private_net_cidr": "10.100.0.0/16",
             "vsn_private_ip_2": "10.100.100.3"
         },
         "vfwdt_vfwsnk0_preload.template": {
-            "unprotected_private_net_id" : "vofwlsnk_unprotected${hostid}",
-            "unprotected_private_subnet_id" : "vofwlsnk_unprotected_sub${hostid}",
+            "unprotected_private_net_id" : "vfwlsnk_unprotected${hostid}",
+            "unprotected_private_subnet_id" : "vfwlsnk_unprotected_sub${hostid}",
             "unprotected_private_net_cidr" : "192.168.10.0/24",
             "protected_private_net_cidr" : "192.168.20.0/24",
-            "vsn_name_0": "vofwl01snk${hostid}",
-            "vfw_name_0": "vofwl01vfw${hostid}",
+            "vsn_name_0": "vfwl01snk${hostid}",
+            "vfw_name_0": "vfwl01vfw${hostid}",
             "image_name" : "${GLOBAL_INJECTED_UBUNTU_1404_IMAGE}",
             "flavor_name" : "${GLOBAL_INJECTED_VM_FLAVOR}",
-            "protected_private_net_id" : "vofwlsnk01_protected${hostid}",
-            "protected_private_subnet_id" : "vofwlsnk01_protected_sub${hostid}",
+            "protected_private_net_id" : "vfwlsnk01_protected${hostid}",
+            "protected_private_subnet_id" : "vfwlsnk01_protected_sub${hostid}",
             "ext_private_net_id": "onap_oam_ext",
             "ext_private_subnet_id": "onap_oam_ext",
             "ext_private_net_cidr": "10.100.0.0/16",
             "vsn_private_ip_2": "10.100.100.3"
         },
         "vfwdt_vfwsnk1_preload.template": {
-            "unprotected_private_net_id" : "vofwlsnk_unprotected${hostid}",
-            "unprotected_private_subnet_id" : "vofwlsnk_unprotected_sub${hostid}",
+            "unprotected_private_net_id" : "vfwlsnk_unprotected${hostid}",
+            "unprotected_private_subnet_id" : "vfwlsnk_unprotected_sub${hostid}",
             "unprotected_private_net_cidr" : "192.168.10.0/24",
             "protected_private_net_cidr" : "192.168.20.0/24",
-            "vsn_name_0": "vofwl02snk${hostid}",
-            "vfw_name_0": "vofwl02vfw${hostid}",
+            "vsn_name_0": "vfwl02snk${hostid}",
+            "vfw_name_0": "vfwl02vfw${hostid}",
             "image_name" : "${GLOBAL_INJECTED_UBUNTU_1404_IMAGE}",
             "flavor_name" : "${GLOBAL_INJECTED_VM_FLAVOR}",
-            "protected_private_net_id" : "vofwlsnk01_protected${hostid}",
-            "protected_private_subnet_id" : "vofwlsnk01_protected_sub${hostid}",
+            "protected_private_net_id" : "vfwlsnk01_protected${hostid}",
+            "protected_private_subnet_id" : "vfwlsnk01_protected_sub${hostid}",
             "ext_private_net_id": "onap_oam_ext",
             "ext_private_subnet_id": "onap_oam_ext",
             "ext_private_net_cidr": "10.100.0.0/16",