Remove unused code
RouterInfo.enable_snat doesn't exists as class attribut, this patch removes unused code Change-Id: I9141db2cec51769a6489aead2ab6d4d0962929de
This commit is contained in:
parent
b78eea6146
commit
99135b5fe8
@ -433,7 +433,6 @@ class L3NATAgent(firewall_l3_agent.FWaaSL3AgentRpcCallback, manager.Manager):
|
|||||||
self.process_router_floating_ips(ri, ex_gw_port)
|
self.process_router_floating_ips(ri, ex_gw_port)
|
||||||
|
|
||||||
ri.ex_gw_port = ex_gw_port
|
ri.ex_gw_port = ex_gw_port
|
||||||
ri.enable_snat = ri.router.get('enable_snat')
|
|
||||||
self.routes_updated(ri)
|
self.routes_updated(ri)
|
||||||
ri.iptables_manager.defer_apply_off()
|
ri.iptables_manager.defer_apply_off()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user