Class: NSXDriver::NSXTtz

Inherits:
TransportZone show all
Defined in:
lib/nsxt_tz.rb

Overview

Class Transport Zone

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from TransportZone

new_child

Constructor Details

#initialize(nsx_client) ⇒ NSXTtz

CONSTRUCTOR



25
26
27
28
29
# File 'lib/nsxt_tz.rb', line 25

def initialize(nsx_client)
    super(nsx_client)
    # Construct base URLs
    @url_tzs_nsxt = NSXConstants::NSXT_TZS
end

Instance Attribute Details

#tz_idObject (readonly)

ATTRIBUTES



22
23
24
# File 'lib/nsxt_tz.rb', line 22

def tz_id
  @tz_id
end

Instance Method Details

#tzsObject

METHODS



32
33
34
# File 'lib/nsxt_tz.rb', line 32

def tzs
    @nsx_client.get(@url_tzs_nsxt)
end