class NSXDriver::NSXVtz

Class Transport Zone

Attributes

tz_id[R]

ATTRIBUTES

Public Class Methods

new(nsx_client) click to toggle source

CONSTRUCTOR

Calls superclass method
# File lib/nsxv_tz.rb, line 25
def initialize(nsx_client)
    super(nsx_client)
    # Construct base URLs
    @url_tzs_nsxv = NSXConstants::NSXV_TZS
end

Public Instance Methods

tzs() click to toggle source

METHODS Return the transport zones list

# File lib/nsxv_tz.rb, line 33
def tzs
    @nsx_client
        .get(@url_tzs_nsxv)
        .xpath(NSXConstants::NSXV_TZS_XPATH)
end