Add check_vlan_qinq method to the ML2 MechanismDriver base class
This is follow up for the [1] and introduces base method to check if mechanism driver supports vlan QinQ for the specific network. [1] https://review.opendev.org/c/openstack/neutron-lib/+/936841 Related-bug: #1915151 Change-Id: Ic8713df93e42fb505bc18eda5a8bd92c1b6f9c12
This commit is contained in:
parent
238e94f11d
commit
6ede4989f0
@ -408,6 +408,16 @@ class MechanismDriver(metaclass=abc.ABCMeta):
|
||||
"""
|
||||
pass
|
||||
|
||||
def check_vlan_qinq(self, context):
|
||||
"""Check if the network supports QinQ vlans.
|
||||
|
||||
:param context: NetworkContext instance describing the network.
|
||||
|
||||
Check if the network supports QinQ vlan (similar to vlan transparency
|
||||
but this uses different ethertype, 0x8a88 for the outer tag) or not.
|
||||
"""
|
||||
pass
|
||||
|
||||
def get_workers(self):
|
||||
"""Get any NeutronWorker instances that should have their own process
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user