Class: VagrantPlugins::Deltacloud::Domain::Network

Inherits:
Item
  • Object
show all
Defined in:
lib/vagrant-deltacloud-provider/client/domain.rb

Instance Attribute Summary collapse

Attributes inherited from Item

#id, #name

Instance Method Summary collapse

Methods inherited from Item

#==

Constructor Details

#initialize(id, name, status, address_blocks, subnets) ⇒ Network

Returns a new instance of Network.



155
156
157
158
159
160
# File 'lib/vagrant-deltacloud-provider/client/domain.rb', line 155

def initialize(id, name, status, address_blocks, subnets)
  @status = status
  @address_blocks = address_blocks
  @subnets = subnets
  super(id, name)
end

Instance Attribute Details

#address_blocksObject

Returns the value of attribute address_blocks.



152
153
154
# File 'lib/vagrant-deltacloud-provider/client/domain.rb', line 152

def address_blocks
  @address_blocks
end

#statusObject

Returns the value of attribute status.



151
152
153
# File 'lib/vagrant-deltacloud-provider/client/domain.rb', line 151

def status
  @status
end

#subnetsObject

Returns the value of attribute subnets.



153
154
155
# File 'lib/vagrant-deltacloud-provider/client/domain.rb', line 153

def subnets
  @subnets
end