X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;f=site_type%2Fsriov%2Ftemplates%2Fsoftware%2Fcharts%2Fosh%2Fopenstack-compute-kit%2Fneutron.j2;h=f18b53a3903072f35bad702754c9030d98d16bf2;hb=e4badf20adc1fa69d3c780ebfb19e85f0887ee5d;hp=1657cb517c906eb1c78a3b5d56b220a91742406a;hpb=88f7b48807627a088499e4d98784405343c98c16;p=yaml_builds.git diff --git a/site_type/sriov/templates/software/charts/osh/openstack-compute-kit/neutron.j2 b/site_type/sriov/templates/software/charts/osh/openstack-compute-kit/neutron.j2 index 1657cb5..f18b53a 100644 --- a/site_type/sriov/templates/software/charts/osh/openstack-compute-kit/neutron.j2 +++ b/site_type/sriov/templates/software/charts/osh/openstack-compute-kit/neutron.j2 @@ -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 %}