Merge "Updated setting for br-vlan interface"
This commit is contained in:
commit
885ab719e7
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user