update input yaml paths in neutron template 92/792/1
authordavidplunkett <dp7642@att.com>
Thu, 23 May 2019 06:44:03 +0000 (06:44 +0000)
committerdavidplunkett <dp7642@att.com>
Thu, 23 May 2019 06:44:03 +0000 (06:44 +0000)
fix neutron template for input file change from
  sriovnets:
to
  sriov:
    nets:

Signed-off-by: davidplunkett <dp7642@att.com>
Change-Id: I8ce1a271fde34062e18933f54ca8bea7c9aec846

site_type/ovsdpdk/templates/software/charts/osh/openstack-compute-kit/neutron.j2
site_type/sriov/templates/software/charts/osh/openstack-compute-kit/neutron.j2

index 1657cb5..f18b53a 100644 (file)
@@ -44,7 +44,7 @@ data:
         - sriov
       interface:
         sriov:
-{% for sriovnet in yaml.sriovnets %}
+{% for sriovnet in yaml.sriov.nets %}
           - device: {{sriovnet.interface}}
             num_vfs: 32
             promisc: false
@@ -60,7 +60,7 @@ data:
           sriov_nic:
             exclude_devices: null
             physical_device_mappings: ' 
-{%- for sriovnet in yaml.sriovnets -%}
+{%- for sriovnet in yaml.sriov.nets -%}
 {%- if loop.index > 1 -%}
 ,
 {%- endif -%}
@@ -71,7 +71,7 @@ data:
             mechanism_drivers: l2population,openvswitch,sriovnicswitch
           ml2_type_vlan:
             network_vlan_ranges: bond0:46:300
-{%- for sriovnet in yaml.sriovnets -%}
+{%- for sriovnet in yaml.sriov.nets -%}
 ,{{sriovnet.physical}}:{{sriovnet.vlan_start}}:{{sriovnet.vlan_end}}
 {%- endfor %}
 
index 1657cb5..f18b53a 100644 (file)
@@ -44,7 +44,7 @@ data:
         - sriov
       interface:
         sriov:
-{% for sriovnet in yaml.sriovnets %}
+{% for sriovnet in yaml.sriov.nets %}
           - device: {{sriovnet.interface}}
             num_vfs: 32
             promisc: false
@@ -60,7 +60,7 @@ data:
           sriov_nic:
             exclude_devices: null
             physical_device_mappings: ' 
-{%- for sriovnet in yaml.sriovnets -%}
+{%- for sriovnet in yaml.sriov.nets -%}
 {%- if loop.index > 1 -%}
 ,
 {%- endif -%}
@@ -71,7 +71,7 @@ data:
             mechanism_drivers: l2population,openvswitch,sriovnicswitch
           ml2_type_vlan:
             network_vlan_ranges: bond0:46:300
-{%- for sriovnet in yaml.sriovnets -%}
+{%- for sriovnet in yaml.sriov.nets -%}
 ,{{sriovnet.physical}}:{{sriovnet.vlan_start}}:{{sriovnet.vlan_end}}
 {%- endfor %}