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:
Sahid Orentino Ferdjaoui 2022-06-17 07:20:43 +02:00
parent 7ebc8281e5
commit c9abb2cec3
1 changed files with 0 additions and 6 deletions

View File

@ -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