Code Review
/
yaml_builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
update input yaml paths in neutron template
[yaml_builds.git]
/
site_type
/
sriov
/
templates
/
software
/
charts
/
osh
/
openstack-compute-kit
/
neutron.j2
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
(file)
--- 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:
- 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
@@
-60,7
+60,7
@@
data:
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 -%}
@@
-71,7
+71,7
@@
data:
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 %}