class Fog::Compute::OpenNebula::Network
Public Instance Methods
description()
click to toggle source
# File lib/fog/opennebula/models/compute/network.rb, line 16 def description attributes[:description] || "" end
save()
click to toggle source
# File lib/fog/opennebula/models/compute/network.rb, line 24 def save raise Fog::Errors::Error.new('Creating a new network is not yet implemented. Contributions welcome!') end
shutdown()
click to toggle source
# File lib/fog/opennebula/models/compute/network.rb, line 28 def shutdown raise Fog::Errors::Error.new('Shutting down a new network is not yet implemented. Contributions welcome!') end
to_label()
click to toggle source
# File lib/fog/opennebula/models/compute/network.rb, line 32 def to_label ret = "" ret += "#{description} - " unless description.empty? ret += "VLAN #{vlan} - " unless vlan.empty? ret += "#{name}" end
vlan()
click to toggle source
# File lib/fog/opennebula/models/compute/network.rb, line 20 def vlan attributes[:vlan] || "" end