The vmware_nsx.nsxlib.mh.switch
Module¶
-
vmware_nsx.nsxlib.mh.switch.
create_lport
(cluster, lswitch_uuid, tenant_id, neutron_port_id, display_name, device_id, admin_status_enabled, mac_address=None, fixed_ips=None, port_security_enabled=None, security_profiles=None, queue_id=None, mac_learning_enabled=None, allowed_address_pairs=None)¶ Creates a logical port on the assigned logical switch.
-
vmware_nsx.nsxlib.mh.switch.
create_lswitch
(cluster, neutron_net_id, tenant_id, display_name, transport_zones_config, shared=None, **kwargs)¶
-
vmware_nsx.nsxlib.mh.switch.
delete_network
(cluster, net_id, lswitch_id)¶
-
vmware_nsx.nsxlib.mh.switch.
delete_networks
(cluster, net_id, lswitch_ids)¶
-
vmware_nsx.nsxlib.mh.switch.
delete_port
(cluster, switch, port)¶
-
vmware_nsx.nsxlib.mh.switch.
get_lswitch_by_id
(cluster, lswitch_id)¶
-
vmware_nsx.nsxlib.mh.switch.
get_lswitches
(cluster, neutron_net_id)¶
-
vmware_nsx.nsxlib.mh.switch.
get_port
(cluster, network, port, relations=None)¶
-
vmware_nsx.nsxlib.mh.switch.
get_port_by_neutron_tag
(cluster, lswitch_uuid, neutron_port_id)¶ Get port by neutron tag.
Returns the NSX UUID of the logical port with tag q_port_id equal to neutron_port_id or None if the port is not Found.
-
vmware_nsx.nsxlib.mh.switch.
get_port_status
(cluster, lswitch_id, port_id)¶ Retrieve the operational status of the port.
-
vmware_nsx.nsxlib.mh.switch.
get_ports
(cluster, networks=None, devices=None, tenants=None)¶
-
vmware_nsx.nsxlib.mh.switch.
plug_interface
(cluster, lswitch_id, lport_id, att_obj)¶
-
vmware_nsx.nsxlib.mh.switch.
plug_vif_interface
(cluster, lswitch_id, port_id, port_type, attachment=None)¶ Plug a VIF Attachment object in a logical port.
-
vmware_nsx.nsxlib.mh.switch.
query_lswitch_lports
(cluster, ls_uuid, fields=’*’, filters=None, relations=None)¶
-
vmware_nsx.nsxlib.mh.switch.
update_lswitch
(cluster, lswitch_id, display_name, tenant_id=None, **kwargs)¶
-
vmware_nsx.nsxlib.mh.switch.
update_port
(cluster, lswitch_uuid, lport_uuid, neutron_port_id, tenant_id, display_name, device_id, admin_status_enabled, mac_address=None, fixed_ips=None, port_security_enabled=None, security_profiles=None, queue_id=None, mac_learning_enabled=None, allowed_address_pairs=None)¶