Stop force setting default gw in mgmt network

Change-Id: Iacb7dbaf61bd34abeb3f5aebd97ef028628d44aa
This commit is contained in:
Michal Skalski 2016-03-02 17:06:08 +01:00
parent 72262e815a
commit 0a2eac61af
1 changed files with 0 additions and 8 deletions

View File

@ -47,14 +47,6 @@ module Puppet::Parser::Functions
endpoints['br-aux'] = endpoints.delete 'br-prv'
end
if node_roles.include?('compute') and odl['enable_l3_odl']
if endpoints.has_key? 'br-ex-lnx'
debug 'ODL: not use br-ex-lnx as gateway on compute node'
endpoints['br-ex-lnx'].delete('gateway')
endpoints['br-ex-lnx']['IP'] = 'none'
endpoints['br-mgmt']['gateway'] = management_vrouter_vip
end
end
debug "ODL network after transformation: #{network_scheme}"
network_scheme
end