fix neutron template for input file change from
sriovnets:
to
sriov:
nets:
Signed-off-by: davidplunkett <dp7642@att.com>
Change-Id: I8ce1a271fde34062e18933f54ca8bea7c9aec846
- sriov
interface:
sriov:
- sriov
interface:
sriov:
-{% for sriovnet in yaml.sriovnets %}
+{% for sriovnet in yaml.sriov.nets %}
- device: {{sriovnet.interface}}
num_vfs: 32
promisc: false
- device: {{sriovnet.interface}}
num_vfs: 32
promisc: false
sriov_nic:
exclude_devices: null
physical_device_mappings: '
sriov_nic:
exclude_devices: null
physical_device_mappings: '
-{%- for sriovnet in yaml.sriovnets -%}
+{%- for sriovnet in yaml.sriov.nets -%}
{%- if loop.index > 1 -%}
,
{%- endif -%}
{%- if loop.index > 1 -%}
,
{%- endif -%}
mechanism_drivers: l2population,openvswitch,sriovnicswitch
ml2_type_vlan:
network_vlan_ranges: bond0:46:300
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 %}
,{{sriovnet.physical}}:{{sriovnet.vlan_start}}:{{sriovnet.vlan_end}}
{%- endfor %}
- sriov
interface:
sriov:
- sriov
interface:
sriov:
-{% for sriovnet in yaml.sriovnets %}
+{% for sriovnet in yaml.sriov.nets %}
- device: {{sriovnet.interface}}
num_vfs: 32
promisc: false
- device: {{sriovnet.interface}}
num_vfs: 32
promisc: false
sriov_nic:
exclude_devices: null
physical_device_mappings: '
sriov_nic:
exclude_devices: null
physical_device_mappings: '
-{%- for sriovnet in yaml.sriovnets -%}
+{%- for sriovnet in yaml.sriov.nets -%}
{%- if loop.index > 1 -%}
,
{%- endif -%}
{%- if loop.index > 1 -%}
,
{%- endif -%}
mechanism_drivers: l2population,openvswitch,sriovnicswitch
ml2_type_vlan:
network_vlan_ranges: bond0:46:300
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 %}
,{{sriovnet.physical}}:{{sriovnet.vlan_start}}:{{sriovnet.vlan_end}}
{%- endfor %}