Browse Source

Merge "[dpdk] Support ovs bridge tagging"

pull/139/head
Jakub Josef 7 years ago
parent
commit
6f2f6a2905
2 changed files with 2 additions and 1 deletions
  1. +1
    -0
      README.rst
  2. +1
    -1
      linux/network/dpdk.sls

+ 1
- 0
README.rst View File

type: dpdk_ovs_bridge type: dpdk_ovs_bridge
address: 192.168.50.0 address: 192.168.50.0
netmask: 255.255.255.0 netmask: 255.255.255.0
tag: 101
mtu: 9000 mtu: 9000


Linux storage Linux storage

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



linux_network_dpdk_bridge_interface_{{ interface_name }}: linux_network_dpdk_bridge_interface_{{ interface_name }}:
cmd.run: cmd.run:
- name: "ovs-vsctl add-br {{ interface_name }} -- set bridge {{ interface_name }} datapath_type=netdev"
- name: "ovs-vsctl add-br {{ interface_name }} -- set bridge {{ interface_name }} datapath_type=netdev{% if interface.tag is defined %} -- set port {{ interface_name }} tag={{ interface.tag }}{% endif %}"
- unless: "ovs-vsctl show | grep {{ interface_name }}" - unless: "ovs-vsctl show | grep {{ interface_name }}"


{# OVS dpdk needs ip address for vxlan termination on bridge br-prv #} {# OVS dpdk needs ip address for vxlan termination on bridge br-prv #}

Loading…
Cancel
Save