The vmware_nsx.plugins.dvs.plugin Module¶
-
class
vmware_nsx.plugins.dvs.plugin.NsxDvsV2(*args, **kwargs)¶ Bases:
neutron.db.allowedaddresspairs_db.AllowedAddressPairsMixin,neutron.db.agentschedulers_db.DhcpAgentSchedulerDbMixin,vmware_nsx.plugins.common.plugin.NsxPluginBase,vmware_nsx.dhcp_meta.modes.DhcpMetadataAccess,neutron.db.external_net_db.External_net_db_mixin,neutron.db.l3_db.L3_NAT_dbonly_mixin,neutron.db.portbindings_db.PortBindingMixin,neutron.db.portsecurity_db.PortSecurityDbMixin,neutron.db.securitygroups_db.SecurityGroupDbMixin,neutron.db.dns_db.DNSDbMixin,neutron.db.vlantransparent_db.Vlantransparent_db_mixin-
create_network(context, network)¶
-
create_port(context, port)¶
-
create_router(context, router)¶
-
delete_network(context, id)¶
-
delete_port(context, id, l3_port_check=True, nw_gw_port_check=True)¶ Deletes a port on a specified Virtual Network.
If the port contains a remote interface attachment, the remote interface is first un-plugged and then the port is deleted.
Returns: None Raises: exception.PortInUse Raises: exception.PortNotFound Raises: exception.NetworkNotFound
-
get_network(context, id, fields=None)¶
-
get_network_availability_zones(net_db)¶ Api to comply with the NSX-TVD plugin
-
get_networks(context, filters=None, fields=None, sorts=None, limit=None, marker=None, page_reverse=False)¶
-
get_port(context, id, fields=None)¶
-
get_ports(context, filters=None, fields=None, sorts=None, limit=None, marker=None, page_reverse=False)¶
-
static
is_tvd_plugin()¶
-
static
plugin_type()¶
-
supported_extension_aliases= [‘allowed-address-pairs’, ‘binding’, ‘external-net’, ‘multi-provider’, ‘port-security’, ‘provider’, ‘quotas’, ‘router’, ‘security-group’, ‘vlan-transparent’]¶
-
update_network(context, id, network)¶
-
update_port(context, id, port)¶
-