class NSXDriver::TransportZone

Class Transport Zone

Attributes

tz_id[R]

ATTRIBUTES

Public Class Methods

new_child(nsx_client) click to toggle 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

tzs() click to toggle source

METHODS Return the transport zones list

# File lib/transport_zone.rb, line 39
def tzs; end