L2GW: support missing methods
Adds missing methods. Something changed witht he way in which the callbacks were invoked which showed that we did not support the correct methods. Change-Id: I253ceee343d829923b874057603a32ccd8c662f6
This commit is contained in:
parent
f9071f3f9f
commit
15a279dbc6
@ -224,3 +224,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
|
||||
|
@ -332,3 +332,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
Block a user