teach logger mech driver vlan transparency
add check_vlan_transparency method to logger mechanism driver.
Without this patch and with logger mechanism driver enabled,
vlan transparency is always rejected by logger mechanism driver.
Closes-Bug: #1673876
Change-Id: I954f3c0ba9d14d0800af26650d9ba2f088698aaf
(cherry picked from commit 650a4d8d29
)
This commit is contained in:
parent
7b67e63e97
commit
34a43f87f6
|
@ -57,6 +57,10 @@ class LoggerMechanismDriver(api.MechanismDriver):
|
|||
def delete_network_postcommit(self, context):
|
||||
self._log_network_call("delete_network_postcommit", context)
|
||||
|
||||
def check_vlan_transparency(self, context):
|
||||
self._log_network_call("check_vlan_transparency", context)
|
||||
return True
|
||||
|
||||
def _log_subnet_call(self, method_name, context):
|
||||
LOG.info(_("%(method)s called with subnet settings %(current)s "
|
||||
"(original settings %(original)s)"),
|
||||
|
|
Loading…
Reference in New Issue