From: rajeev Date: Wed, 25 Feb 2015 18:45:11 +0000 (-0500) Subject: Refactoring to adhere to coding convention X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=0399bf5c8b65175d0d308a5d4a1541161cbfad7d;p=openstack-build%2Fneutron-build.git Refactoring to adhere to coding convention By convention, internal properties of the DvrRouter class are initialized to None in the constructor. This patch initializes the fip_ns property to None in order to adhere to those guidelines Change-Id: Ic135102a4c9372fcbbdba261f906b594e247d451 --- diff --git a/neutron/agent/l3/dvr_router.py b/neutron/agent/l3/dvr_router.py old mode 100644 new mode 100755 index d7fbbead7..dfd9cf2c5 --- a/neutron/agent/l3/dvr_router.py +++ b/neutron/agent/l3/dvr_router.py @@ -46,6 +46,7 @@ class DvrRouter(router.RouterInfo): self.rtr_fip_subnet = None self.dist_fip_count = None self.snat_namespace = None + self.fip_ns = None def get_floating_ips(self): """Filter Floating IPs to be hosted on this agent."""