From aceb11f9221ae3dc45015b4fd79a03da42ef6d82 Mon Sep 17 00:00:00 2001 From: Adit Sarfaty Date: Mon, 16 Apr 2018 11:17:07 +0300 Subject: [PATCH] TVD L2GW: support missing methods Commit I253ceee343d829923b874057603a32ccd8c662f6 added missing methods to the l2gw NSX drivers. The same methods needs to be added tothe TVD driver as well. Change-Id: I166b3c948f8e67fdfdb98178a16fb1e7b7819941 --- vmware_nsx/services/l2gateway/nsx_tvd/driver.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/vmware_nsx/services/l2gateway/nsx_tvd/driver.py b/vmware_nsx/services/l2gateway/nsx_tvd/driver.py index 89da9d0180..3b1e88703e 100644 --- a/vmware_nsx/services/l2gateway/nsx_tvd/driver.py +++ b/vmware_nsx/services/l2gateway/nsx_tvd/driver.py @@ -155,3 +155,11 @@ class NsxTvdL2GatewayDriver(l2gateway_db.L2GatewayMixin): #Note(asarfaty): in postcommit the l2_gateway was already deleted # so we cannot decide on the plugin by the project of the gw. 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