This Page

The quantum.plugins.hyperv.agent.utils Module

exception quantum.plugins.hyperv.agent.utils.HyperVException(**kwargs)

Bases: quantum.common.exceptions.QuantumException

message = 'HyperVException: %(msg)s'
class quantum.plugins.hyperv.agent.utils.HyperVUtils

Bases: object

connect_vnic_to_vswitch(vswitch_name, switch_port_name)
disconnect_switch_port(vswitch_name, switch_port_name, delete_port)

Disconnects the switch port

get_port_by_id(port_id, vswitch_name)
get_switch_ports(vswitch_name)
get_vnic_ids()
get_vswitch_id(vswitch_name)
set_vswitch_port_vlan_id(vlan_id, switch_port_name)
vnic_port_exists(port_id)