Fix br-prv for dpdk and add sriov role
Change-Id: I1a472210298ef8e51c5ce4c618e339189e99bbf1
diff --git "a/\173\043 interfaces \043\175/bond_dpdk_prv_lacp" "b/\173\043 interfaces \043\175/bond_dpdk_prv_lacp"
index 9cd3de8..9dedfa0 100644
--- "a/\173\043 interfaces \043\175/bond_dpdk_prv_lacp"
+++ "b/\173\043 interfaces \043\175/bond_dpdk_prv_lacp"
@@ -27,3 +27,5 @@
enabled: true
netmask: ${_param:_esc}{_param:tenant_network_netmask}
type: dpdk_ovs_bridge
+ ipflush_onchange: true
+ restart_on_ipflush: true
diff --git "a/\173\043 interfaces \043\175/sriov" "b/\173\043 interfaces \043\175/sriov"
new file mode 100644
index 0000000..b9123dd
--- /dev/null
+++ "b/\173\043 interfaces \043\175/sriov"
@@ -0,0 +1,12 @@
+{#- SRIOV interface #}
+{#- Provides: #}
+{#- SRIOV interface #}
+ # {{ interfaces_role }}
+ {%- set interface_name = interfaces.keys()[0] %}
+ {{ interface_name }}:
+ name: {{ interface_name }}
+ enabled: true
+ type: eth
+ proto: manual
+ post_up_cmds:
+ - echo 7 > /sys/class/net/{{ interface_name }}/device/sriov_numvfs