Pārlūkot izejas kodu

Removed hardcoded dpdk0 for dpdk_ovs_port

Change-Id: Ia8690d3968aa6c8491ec62b73f78afd6b2361c60
pull/170/head
Dmitry Ukov pirms 6 gadiem
vecāks
revīzija
b0592f0cc2
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. +2
    -2
      linux/network/dpdk.sls

+ 2
- 2
linux/network/dpdk.sls Parādīt failu

@@ -178,8 +178,8 @@ linux_network_dpdk_bridge_interface_{{ interface_name }}:

linux_network_dpdk_bridge_port_interface_{{ interface_name }}:
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:
- cmd: linux_network_dpdk_bridge_interface_{{ interface.bridge }}


Notiek ielāde…
Atcelt
Saglabāt