The vmware_nsx.plugins.common.plugin Module

class vmware_nsx.plugins.common.plugin.NsxPluginBase

Bases: neutron.db.db_base_plugin_v2.NeutronDbPluginV2, neutron.db.address_scope_db.AddressScopeDbMixin

Common methods for NSX-V and NSX-V3 plugins

get_network_az_by_net_id(context, network_id)
get_router_for_floatingip(context, internal_port, internal_subnet, external_network_id)
get_subnets_by_network(context, network_id)
on_subnetpool_address_scope_updated(resource, event, trigger, **kwargs)
plugin_type
recalculate_fw_rules_for_router(context, router, subnets)

Method to recalculate router FW rules for specific subnets. Invoked when subnetpool address scope changes. Implemented in child plugin classes

recalculate_snat_rules_for_router(context, router, subnets)

Method to recalculate router snat rules for specific subnets. Invoked when subnetpool address scope changes. Implemented in child plugin classes

vmware_nsx.plugins.common.plugin.subscribe()