Class: Fog::Vcloud::Compute::Network

Inherits:
Model
  • Object
show all
Defined in:
lib/fog/vcloud/models/compute/network.rb

Instance Attribute Summary

Attributes inherited from Model

#loaded

Instance Method Summary collapse

Methods inherited from Model

has_up, #link_up, #load_unless_loaded!, #reload

Instance Method Details

#parent_networkObject



15
16
17
18
# File 'lib/fog/vcloud/models/compute/network.rb', line 15

def parent_network
  return nil if configuration[:ParentNetwork].nil?
  @parent_network ||= service.get_network(configuration[:ParentNetwork][:href])
end