class VCenterDriver::OpaqueNetwork
Class OpaqueNetwork
Public Class Methods
Source
# File lib/network.rb, line 440 def initialize(item, vi_client = nil, _check = true) check_item(item, RbVmomi::VIM::OpaqueNetwork) super(item, vi_client, false) end
Calls superclass method
VCenterDriver::Network::new
Public Instance Methods
Source
# File lib/network.rb, line 446 def clusters net_clusters = {} host_members =@item['host'] host_members.each do |h| if !net_clusters.key?(h.parent._ref.to_s) net_clusters[h.parent._ref.to_s] = h.parent.name.to_s end end net_clusters end
Source
# File lib/network.rb, line 457 def network_type VCenterDriver::Network::NETWORK_TYPE_NSXT end