Fix DVR for NSX-mh

Commit 7743e571 was naughty as it changed names for some methods
that the VMware NSX-mh plugin was overriding.

As a result DVR for NSX-mh was not behaving as expected as
'centralized snat' ports were being created again. The NSX-mh
plugin does not need such ports to provide DVR capabilities.

Change-Id: I76648f453c5f2c14985bd85e9b83cb46119e79df
This commit is contained in:
Salvatore Orlando 2015-07-28 16:17:32 -07:00 committed by Kobi Samoray
parent 685f2657c4
commit 83886f54c5
1 changed files with 5 additions and 5 deletions

View File

@ -1693,17 +1693,17 @@ class NsxPluginV2(addr_pair_db.AllowedAddressPairsMixin,
# agnostic
return []
def create_snat_intf_ports_if_not_exists(self, context, router):
def _create_snat_intf_ports_if_not_exists(self, context, router):
# VMware plugins do not need SNAT interface ports
return []
def add_csnat_router_interface_port(self, context, router, network_id,
subnet_id, do_pop=True):
def _add_csnat_router_interface_port(self, context, router, network_id,
subnet_id, do_pop=True):
# VMware plugins do not need SNAT interface ports
return
def delete_csnat_router_interface_ports(self, context, router,
subnet_id=None):
def _delete_csnat_router_interface_ports(self, context, router,
subnet_id=None):
# VMware plugins do not need SNAT interface ports
return