Merge "Fix brctl calls"
This commit is contained in:
commit
b0f87b2866
@ -48,7 +48,7 @@ function neutron_plugin_configure_dhcp_agent {
|
|||||||
|
|
||||||
function neutron_plugin_configure_l3_agent {
|
function neutron_plugin_configure_l3_agent {
|
||||||
local conf_file=$1
|
local conf_file=$1
|
||||||
sudo brctl addbr $PUBLIC_BRIDGE
|
sudo ip link add $PUBLIC_BRIDGE type bridge
|
||||||
set_mtu $PUBLIC_BRIDGE $PUBLIC_BRIDGE_MTU
|
set_mtu $PUBLIC_BRIDGE $PUBLIC_BRIDGE_MTU
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -165,6 +165,7 @@ def network_dump():
|
|||||||
_header("Network Dump")
|
_header("Network Dump")
|
||||||
|
|
||||||
_dump_cmd("bridge link")
|
_dump_cmd("bridge link")
|
||||||
|
if _find_cmd("brctl"):
|
||||||
_dump_cmd("brctl show")
|
_dump_cmd("brctl show")
|
||||||
_dump_cmd("ip link show type bridge")
|
_dump_cmd("ip link show type bridge")
|
||||||
ip_cmds = ["neigh", "addr", "link", "route"]
|
ip_cmds = ["neigh", "addr", "link", "route"]
|
||||||
|
Loading…
Reference in New Issue
Block a user