Merge "L2GW: support missing methods" into stable/pike

This commit is contained in:
Zuul 2018-03-13 13:13:54 +00:00 committed by Gerrit Code Review
commit be4ca23ded
2 changed files with 16 additions and 0 deletions

View File

@ -217,3 +217,11 @@ class NsxvL2GatewayDriver(l2gateway_db.L2GatewayMixin):
def delete_l2_gateway_postcommit(self, context, l2_gateway):
pass
def add_port_mac(self, context, port_dict):
"""Process a created Neutron port."""
pass
def delete_port_mac(self, context, port):
"""Process a deleted Neutron port."""
pass

View File

@ -323,3 +323,11 @@ class NsxV3Driver(l2gateway_db.L2GatewayMixin):
if port['device_owner'] == nsx_constants.BRIDGE_ENDPOINT:
reason = _("has device owner %s") % port['device_owner']
raise n_exc.ServicePortInUse(port_id=port_id, reason=reason)
def add_port_mac(self, context, port_dict):
"""Process a created Neutron port."""
pass
def delete_port_mac(self, context, port):
"""Process a deleted Neutron port."""
pass