瀏覽代碼

Merge "[dpdk] Support ovs bridge tagging"

pull/139/head
Jakub Josef 7 年之前
父節點
當前提交
6f2f6a2905
共有 2 個文件被更改,包括 2 次插入1 次删除
  1. +1
    -0
      README.rst
  2. +1
    -1
      linux/network/dpdk.sls

+ 1
- 0
README.rst 查看文件

@@ -1433,6 +1433,7 @@ If VXLAN is used as tenant segmentation then ip address must be set on br-prv
type: dpdk_ovs_bridge
address: 192.168.50.0
netmask: 255.255.255.0
tag: 101
mtu: 9000

Linux storage

+ 1
- 1
linux/network/dpdk.sls 查看文件

@@ -110,7 +110,7 @@ linux_network_dpdk_bond_mode_{{ interface_name }}:

linux_network_dpdk_bridge_interface_{{ interface_name }}:
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 }}"

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

Loading…
取消
儲存