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


121
122
123
# File 'lib/fog/opennebula/requests/compute/template_pool.rb', line 121

def vnet
  @vnet
end

Instance Method Details

#idObject


123
124
125
# File 'lib/fog/opennebula/requests/compute/template_pool.rb', line 123

def id
  2
end

#modelObject


129
130
131
# File 'lib/fog/opennebula/requests/compute/template_pool.rb', line 129

def model
  "virtio-net"
end

#nameObject


126
127
128
# File 'lib/fog/opennebula/requests/compute/template_pool.rb', line 126

def name
  "fogtest"
end