The vmware_nsx.plugins.nsx_mh.plugin
Module¶
-
class
vmware_nsx.plugins.nsx_mh.plugin.
NsxPluginV2
(*args, **kwargs)¶ Bases:
neutron.db.allowedaddresspairs_db.AllowedAddressPairsMixin
,neutron.db.agentschedulers_db.DhcpAgentSchedulerDbMixin
,neutron.db.db_base_plugin_v2.NeutronDbPluginV2
,vmware_nsx.dhcp_meta.modes.DhcpMetadataAccess
,neutron.db.l3_dvr_db.L3_NAT_with_dvr_db_mixin
,neutron.db.external_net_db.External_net_db_mixin
,neutron.db.extradhcpopt_db.ExtraDhcpOptMixin
,neutron.db.extraroute_db.ExtraRoute_db_mixin
,neutron.db.l3_gwmode_db.L3_NAT_db_mixin
,vmware_nsx.db.maclearning.MacLearningDbMixin
,vmware_nsx.db.networkgw_db.NetworkGatewayMixin
,neutron.db.portbindings_db.PortBindingMixin
,neutron.db.portsecurity_db.PortSecurityDbMixin
,vmware_nsx.db.qos_db.QoSDbMixin
,neutron.db.securitygroups_db.SecurityGroupDbMixin
,neutron.db.dns_db.DNSDbMixin
-
add_router_interface
(context, router_id, interface_info)¶
-
connect_network
(context, network_gateway_id, network_mapping_info)¶
-
create_floatingip
(*args, **kwargs)¶
-
create_gateway_device
(context, gateway_device)¶
-
create_gateway_device_handler
(context, gateway_device, client_certificate)¶
-
create_network
(context, network)¶
-
create_network_gateway
(context, network_gateway)¶ Create a layer-2 network gateway.
Create the gateway service on NSX platform and corresponding data structures in Neutron datase.
-
create_port
(context, port)¶
-
create_qos_queue
(context, qos_queue, check_policy=True)¶
-
create_router
(context, router)¶
-
create_security_group
(context, security_group, default_sg=False)¶ Create security group.
If default_sg is true that means we are creating a default security group and we don’t need to check if one exists.
-
create_security_group_rule
(context, security_group_rule)¶ Create a single security group rule.
-
create_security_group_rule_bulk
(context, security_group_rules)¶ Create security group rules.
Parameters: security_group_rule – list of rules to create
-
delete_floatingip
(*args, **kwargs)¶
-
delete_gateway_device
(context, device_id)¶
-
delete_network
(context, id)¶
-
delete_network_gateway
(context, gateway_id)¶ Remove a layer-2 network gateway.
Remove the gateway service from NSX platform and corresponding data structures in Neutron datase.
-
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
-
delete_qos_queue
(context, queue_id, raise_in_use=True)¶
-
delete_router
(context, router_id)¶
-
delete_security_group
(context, security_group_id)¶ Delete a security group.
Parameters: security_group_id – security group rule to remove.
-
delete_security_group_rule
(context, sgrid)¶ Delete a security group rule :param sgrid: security group id to remove.
-
disassociate_floatingips
(context, port_id)¶
-
disconnect_network
(context, network_gateway_id, network_mapping_info)¶
-
extend_port_dict_binding
(port_res, port_db)¶
-
get_gateway_device
(context, device_id, fields=None)¶
-
get_gateway_devices
(context, filters=None, fields=None, sorts=None, limit=None, marker=None, page_reverse=False)¶
-
get_l3_agents_hosting_routers
(context, routers)¶
-
get_network
(context, id, fields=None)¶
-
get_network_gateway
(context, id, fields=None)¶
-
get_network_gateways
(context, filters=None, fields=None, sorts=None, limit=None, marker=None, page_reverse=False)¶
-
get_networks
(context, filters=None, fields=None, sorts=None, limit=None, marker=None, page_reverse=False)¶
-
get_port
(context, id, fields=None)¶
-
get_router
(context, id, fields=None)¶
-
novazone_cluster_map
= {}¶
-
remove_router_interface
(context, router_id, interface_info)¶
-
supported_extension_aliases
= [‘allowed-address-pairs’, ‘binding’, ‘dvr’, ‘ext-gw-mode’, ‘extraroute’, ‘mac-learning’, ‘multi-provider’, ‘network-gateway’, ‘port-security’, ‘provider’, ‘qos-queue’, ‘quotas’, ‘external-net’, ‘extra_dhcp_opt’, ‘router’, ‘security-group’, ‘subnet_allocation’]¶
-
update_floatingip
(*args, **kwargs)¶
-
update_gateway_device
(context, device_id, gateway_device)¶
-
update_gateway_device_handler
(context, gateway_device, old_gateway_device_data, client_certificate)¶
-
update_network
(context, id, network)¶
-
update_network_gateway
(context, id, network_gateway)¶
-
update_port
(context, id, port)¶
-
update_router
(context, router_id, router)¶
-
update_security_group
(context, secgroup_id, security_group)¶
-