]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Remove unused code
authorMehdi Abaakouk <sileht@sileht.net>
Wed, 29 Jan 2014 17:13:48 +0000 (18:13 +0100)
committerThomas Goirand <thomas@goirand.fr>
Thu, 13 Mar 2014 07:20:12 +0000 (15:20 +0800)
RouterInfo.enable_snat doesn't exists as class attribut, this patch
removes unused code

Change-Id: I9141db2cec51769a6489aead2ab6d4d0962929de

neutron/agent/l3_agent.py

index cf69842ec17cd7ab3d750c92a1b792b81070bc08..f78d55ce81f30dcb8bce23ba86d7490a9f66fbcb 100644 (file)
@@ -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()