class NSXDriver::TransportZone
Class Transport Zone
Attributes
ATTRIBUTES
Public Class Methods
Source
# File lib/transport_zone.rb, line 24 def self.new_child(nsx_client) case nsx_client.nsx_type.upcase when NSXConstants::NSXT NSXTtz.new(nsx_client) when NSXConstants::NSXV NSXVtz.new(nsx_client) else error_msg = "Unknown NSX type: #{nsx_client.nsx_type}" error = NSXError::UnknownObject.new(error_msg) raise error end end
Public Instance Methods
Source
# File lib/transport_zone.rb, line 39 def tzs; end
METHODS Return the transport zones list