Merge "L2GW: support missing methods" into stable/pike
This commit is contained in:
commit
be4ca23ded
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue