浏览代码

Merge 90761625c3 into addd0d2da0

pull/202/merge
pavel-z1 6 个月前
父节点
当前提交
8fdb30a565
没有帐户链接到提交者的电子邮件
共有 2 个文件被更改,包括 30 次插入0 次删除
  1. +27
    -0
      README.rst
  2. +3
    -0
      linux/network/interface.sls

+ 27
- 0
README.rst 查看文件

@@ -2022,6 +2022,33 @@ DPDK OVS interfaces
address: ${_param:tenant_address}
netmask: ${_param:tenant_network_netmask}

**Linux Network Interface configuration**

Configuration of network interface eth0 on RedHad.
Parameter ipv6addrs used to bind ipv6 aliases to the network interface.

.. code-block:: yaml

linux:
network:
...
interface:
eth0:
enabled: true
type: eth
address: 192.168.0.1
netmask: 255.255.255.0
gateway: 192.168.0.154
name_servers:
- 192.168.0.10
- 192.168.0.11
ipv6_address: fd8f:a45a:2ed2:d37c::7
ipv6_netmask: 64
ipv6_gateway: fd8f:a45a:2ed2:d37c::1
ipv6addrs:
- fd8f:a45a:2ed2:d37c:ffff:fffe/128
- fd8f:a45a:2ed2:d37c:ffff:ffff/128

**DPDK OVS bridge for VXLAN**

If VXLAN is used as tenant segmentation, IP address must

+ 3
- 0
linux/network/interface.sls 查看文件

@@ -331,6 +331,9 @@ linux_interface_{{ interface_name }}:
- slaves: {{ interface.slaves }}
- mode: {{ interface.mode }}
{%- endif %}
{%- if interface.ipv6addrs is defined %}
- ipv6addrs: {{ interface.ipv6addrs }}
{%- endif %}


{%- if salt['grains.get']('saltversion') < '2017.7' %}

正在加载...
取消
保存