From d5b7556206da0deb7c62f2334924df8631f9cf97 Mon Sep 17 00:00:00 2001 From: Mehdi Abaakouk Date: Wed, 29 Jan 2014 18:13:48 +0100 Subject: [PATCH] Remove unused code RouterInfo.enable_snat doesn't exists as class attribut, this patch removes unused code Change-Id: I9141db2cec51769a6489aead2ab6d4d0962929de --- neutron/agent/l3_agent.py | 1 - 1 file changed, 1 deletion(-) diff --git a/neutron/agent/l3_agent.py b/neutron/agent/l3_agent.py index cf69842ec..f78d55ce8 100644 --- a/neutron/agent/l3_agent.py +++ b/neutron/agent/l3_agent.py @@ -452,7 +452,6 @@ class L3NATAgent(firewall_l3_agent.FWaaSL3AgentRpcCallback, manager.Manager): self.process_router_floating_ips(ri, ex_gw_port) ri.ex_gw_port = ex_gw_port - ri.enable_snat = ri.router.get('enable_snat') self.routes_updated(ri) ri.iptables_manager.defer_apply_off() -- 2.45.2