]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Remove an unused DVR function
authorIWAMOTO Toshihiro <iwamoto@valinux.co.jp>
Thu, 10 Sep 2015 08:24:47 +0000 (17:24 +0900)
committerIWAMOTO Toshihiro <iwamoto@valinux.co.jp>
Thu, 10 Sep 2015 08:30:55 +0000 (17:30 +0900)
is_dvr_router_interface isn't used since commit
c5fafcb30a5b86e87309ad4650f7d05a2ca038dc.

Change-Id: Id902e7b4aafcf61f8da29bf7ab543559ea6b7937

neutron/plugins/ml2/drivers/openvswitch/agent/ovs_dvr_neutron_agent.py

index c2b823d94dd4594e683d514d44ebd7731db4a484..729e3b90325b8f213029afde95e38fbfe0b8411f 100644 (file)
@@ -352,9 +352,6 @@ class OVSDVRNeutronAgent(object):
     def in_distributed_mode(self):
         return self.dvr_mac_address is not None
 
-    def is_dvr_router_interface(self, device_owner):
-        return device_owner == n_const.DEVICE_OWNER_DVR_INTERFACE
-
     def process_tunneled_network(self, network_type, lvid, segmentation_id):
         self.tun_br.provision_local_vlan(
             network_type=network_type,