From 99135b5fe8c40cacfc544bce2e987017b2b4e864 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 1ca3b7604e..64ddf06f6a 100644 --- a/neutron/agent/l3_agent.py +++ b/neutron/agent/l3_agent.py @@ -433,7 +433,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()