Browse Source

Merge "Removed hardcoded dpdk0 for dpdk_ovs_port"

pull/170/head
mcp-jenkins 6 years ago
parent
commit
098f5cef80
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      linux/network/dpdk.sls

+ 2
- 2
linux/network/dpdk.sls View File



linux_network_dpdk_bridge_port_interface_{{ interface_name }}: linux_network_dpdk_bridge_port_interface_{{ interface_name }}:
cmd.run: cmd.run:
- name: "ovs-vsctl{%- if network.ovs_nowait %} --no-wait{%- endif %} add-port {{ interface.bridge }} dpdk0 -- set Interface dpdk0 type=dpdk options:dpdk-devargs={{ interface.pci }}"
- unless: "ovs-vsctl show | grep dpdk0"
- name: "ovs-vsctl{%- if network.ovs_nowait %} --no-wait{%- endif %} add-port {{ interface.bridge }} {{ interface_name }} -- set Interface {{ interface_name }} type=dpdk options:dpdk-devargs={{ interface.pci }}"
- unless: "ovs-vsctl show | grep {{ interface_name }}"
- require: - require:
- cmd: linux_network_dpdk_bridge_interface_{{ interface.bridge }} - cmd: linux_network_dpdk_bridge_interface_{{ interface.bridge }}



Loading…
Cancel
Save