Updated setting for br-vlan interface
Change-Id: Id46b3e59c89d7a8599da5a4762206b3e7434254a Closes-Bug: #1656344
This commit is contained in:
parent
962e5b5c84
commit
6e4a00f6fa
@ -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