Class: Fog::Compute::OpenNebula::Mock::Mock_nic

Inherits:
Object
  • Object
show all
Defined in:
lib/fog/opennebula/requests/compute/template_pool.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#vnetObject

Returns the value of attribute vnet


142
143
144
# File 'lib/fog/opennebula/requests/compute/template_pool.rb', line 142

def vnet
  @vnet
end

Instance Method Details

#idObject


144
145
146
# File 'lib/fog/opennebula/requests/compute/template_pool.rb', line 144

def id
  2
end

#nameObject


147
148
149
# File 'lib/fog/opennebula/requests/compute/template_pool.rb', line 147

def name
  "fogtest"
end