Merge "Updated setting for br-vlan interface"

This commit is contained in:
Jenkins 2017-01-24 16:25:57 +00:00 committed by Gerrit Code Review
commit 885ab719e7
2 changed files with 18 additions and 0 deletions

View File

@ -107,6 +107,15 @@ iface br-vlan inet manual
bridge_fd 0 bridge_fd 0
bridge_ports bond1 bridge_ports bond1
# Create veth pair, do not abort if already exists
pre-up ip link add br-vlan-veth type veth peer name eth0 || true
# Set both ends UP
pre-up ip link set br-vlan-veth up
pre-up ip link set eth0 up
# Delete veth pair on DOWN
post-down ip link del br-vlan-veth || true
bridge_ports br-vlan-veth
# Storage bridge (optional) # Storage bridge (optional)
# #
# Only the COMPUTE and STORAGE nodes must have an IP address # Only the COMPUTE and STORAGE nodes must have an IP address

View File

@ -69,6 +69,15 @@ iface br-vlan inet manual
bridge_fd 0 bridge_fd 0
bridge_ports eth0 bridge_ports eth0
# Create veth pair, do not abort if already exists
pre-up ip link add br-vlan-veth type veth peer name eth0 || true
# Set both ends UP
pre-up ip link set br-vlan-veth up
pre-up ip link set eth0 up
# Delete veth pair on DOWN
post-down ip link del br-vlan-veth || true
bridge_ports br-vlan-veth
# Storage bridge (optional) # Storage bridge (optional)
# #
# Only the COMPUTE and STORAGE nodes must have an IP address # Only the COMPUTE and STORAGE nodes must have an IP address