Class: Fog::Compute::OpenNebula::Interface

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

Instance Method Summary collapse

Instance Method Details

#destroyObject

Raises:

  • (Fog::Errors::Error)


26
27
28
# File 'lib/fog/opennebula/models/compute/interface.rb', line 26

def destroy
  raise Fog::Errors::Error.new('Destroying an interface is not yet implemented. Contributions welcome!')
end

#persisted?Boolean

Returns:

  • (Boolean)


22
23
24
# File 'lib/fog/opennebula/models/compute/interface.rb', line 22

def persisted?
  mac
end

#saveObject

Raises:

  • (Fog::Errors::Error)


14
15
16
# File 'lib/fog/opennebula/models/compute/interface.rb', line 14

def save
  raise Fog::Errors::Error.new('Creating a new interface is not yet implemented. Contributions welcome!')
end

#vnetidObject



18
19
20
# File 'lib/fog/opennebula/models/compute/interface.rb', line 18

def vnetid
  return vnet
end