architecture()
click to toggle source
def architecture
@attributes.occi_.compute_.architecture
end
architecture=(architecture)
click to toggle source
def architecture=(architecture)
@attributes.occi!.compute!.architecture = architecture
end
cores()
click to toggle source
def cores
@attributes.occi_.compute_.cores
end
cores=(cores)
click to toggle source
def cores=(cores)
@attributes.occi!.compute!.cores = cores
end
hostname()
click to toggle source
def hostname
@attributes.occi_.compute_.hostname
end
hostname=(hostname)
click to toggle source
def hostname=(hostname)
@attributes.occi!.compute!.hostname = hostname
end
memory()
click to toggle source
def memory
@attributes.occi_.compute_.memory
end
memory=(memory)
click to toggle source
def memory=(memory)
@attributes.occi!.compute!.memory = memory
end
networkinterface(target, mixins=[], attributes=Occi::Core::Attributes.new, kind=Occi::Infrastructure::Networkinterface.kind)
click to toggle source
def networkinterface(target, mixins=[], attributes=Occi::Core::Attributes.new, kind=Occi::Infrastructure::Networkinterface.kind)
link(target, kind, mixins, attributes, rel=Occi::Infrastructure::Network.type_identifier)
end
networkinterfaces()
click to toggle source
def networkinterfaces
@links.select { |link| link.kind == Occi::Infrastructure::Networkinterface.kind }
end
speed()
click to toggle source
def speed
@attributes.occi_.compute_.speed
end
speed=(speed)
click to toggle source
def speed=(speed)
@attributes.occi!.compute!.speed = speed
end
state()
click to toggle source
def state
@attributes.occi_.compute_.state
end
state=(state)
click to toggle source
def state=(state)
@attributes.occi!.compute!.state = state
end
storagelink(target, mixins=[], attributes=Occi::Core::Attributes.new, kind=Occi::Infrastructure::Storagelink.kind)
click to toggle source
def storagelink(target, mixins=[], attributes=Occi::Core::Attributes.new, kind=Occi::Infrastructure::Storagelink.kind)
link(target, kind, mixins, attributes, rel=Occi::Infrastructure::Storage.type_identifier)
end
storagelinks()
click to toggle source
def storagelinks
@links.select { |link| link.kind == Occi::Infrastructure::Storagelink.kind }
end