ovs: remove unused function _get_port_local_vlan
Signed-off-by: Sahid Orentino Ferdjaoui <sahid.ferdjaoui@industrialdiscipline.com> Change-Id: I611ed3233ea689fe3a7218f0cca7e9b0a44aa9ce
This commit is contained in:
parent
7ebc8281e5
commit
c9abb2cec3
|
@ -698,12 +698,6 @@ class OVSNeutronAgent(l2population_rpc.L2populationRpcCallBackTunnelMixin,
|
|||
port_set.remove(port_id)
|
||||
break
|
||||
|
||||
def _get_port_local_vlan(self, port_id):
|
||||
for network_id, port_set in self.network_ports.items():
|
||||
if port_id in port_set:
|
||||
lvm = self.vlan_manager.get(network_id)
|
||||
return lvm.vlan
|
||||
|
||||
def _get_net_local_vlan_or_none(self, net_id):
|
||||
try:
|
||||
return self.vlan_manager.get(net_id).vlan
|
||||
|
|
Loading…
Reference in New Issue