Remove unnecessary exec tasks from BGP GW manifest

Two task, 'set down external bridge' and 'remove bridge ip address'
are not really necessary, and they break external network
connectivity from GW node by removing default gateway

Change-Id: Ib3813747615d4b1bd8a1ca7fd36ba87d58f211f0
This commit is contained in:
Samir Ibradžić 2016-04-09 21:13:25 +09:00
parent 2473e09081
commit c0467c23ce
1 changed files with 0 additions and 11 deletions

View File

@ -17,17 +17,6 @@ $bgp_subnet = split($midonet_settings['bgp_cidr'], '/')
$bgp_subnet_ip = $bgp_subnet[0]
$bgp_subnet_cidr = $bgp_subnet[1]
exec {"set down external bridge":
path => "/usr/bin:/usr/sbin:/sbin",
command => "ip link set dev br-ex down"
} ->
exec {"remove bridge ip address":
path => "/usr/bin:/usr/sbin:/sbin",
command => "ip a del $::ipaddress_br_ex dev br-ex",
onlyif => "ip -4 a | /bin/grep br-ex"
} ->
exec {"add veth interface":
path => "/usr/bin:/usr/sbin:/sbin",
command => "ip link add gw-veth-br type veth peer name gw-veth-mn",