class Occi::Infrastructure::Compute

Dummy sub-class of `Occi::Core::Resource` meant to simplify handling of known instances of the given sub-class. Does not contain any functionality.

@author Boris Parak <parak@cesnet.cz>

@see `Occi::Infrastructure::Compute`

Public Instance Methods

networkinterfaces() click to toggle source

@return [Enumerable] filtered set of links

# File lib/occi/infrastructure/compute.rb, line 14
def networkinterfaces
  links_by_kind_identifier Occi::Infrastructure::Constants::NETWORKINTERFACE_KIND
end
os_tpl() click to toggle source

@return [Occi::Core::Mixin, NilClass] filtered mixin

# File lib/occi/infrastructure/compute.rb, line 19
def os_tpl
  select_mixin Occi::Infrastructure::Mixins::OsTpl.new
end
resource_tpl() click to toggle source

@return [Occi::Core::Mixin, NilClass] filtered mixin

# File lib/occi/infrastructure/compute.rb, line 24
def resource_tpl
  select_mixin Occi::Infrastructure::Mixins::ResourceTpl.new
end