Class: VCenterDriver::DistributedVirtualSwitch
- Defined in:
- lib/network.rb
Overview
Class DistributedVirtualSwitch
Constant Summary
Constants inherited from Network
Network::NETWORK_TYPE_DPG, Network::NETWORK_TYPE_NSXT, Network::NETWORK_TYPE_NSXV, Network::NETWORK_TYPE_PG, Network::NETWORK_TYPE_UNKNOWN, Network::REQUIRED_ATTRS
Instance Attribute Summary
Attributes inherited from Network
Instance Method Summary collapse
-
#initialize(item, vi_client = nil, _check = true) ⇒ DistributedVirtualSwitch
constructor
A new instance of DistributedVirtualSwitch.
Methods inherited from Network
create_one_network, generate_name, get_network_type, new_from_ref, nic?, remove_net_ref, retrieve_vlanid, to_one, to_one_template, virtual_switch, vlanid
Methods included from Memoize
#[], #[]=, #clear, #clear_all
Constructor Details
#initialize(item, vi_client = nil, _check = true) ⇒ DistributedVirtualSwitch
Returns a new instance of DistributedVirtualSwitch.
469 470 471 472 473 |
# File 'lib/network.rb', line 469 def initialize(item, vi_client = nil, _check = true) check_item(item, RbVmomi::VIM::VmwareDistributedVirtualSwitch) super(item, vi_client, false) end |