Class: Occi::InfrastructureExt::InstanceBuilder

Inherits:
Occi::Infrastructure::InstanceBuilder show all
Defined in:
lib/occi/infrastructure_ext/instance_builder.rb

Overview

See `Occi::infrastructure::InstanceBuilder` for details.

Author:

Instance Attribute Summary collapse

Class Method Summary collapse

Methods inherited from Core::InstanceBuilder

#build, #build_link, #build_resource, #initialize, #kind_instance, #klass, #parent_klass

Constructor Details

This class inherits a constructor from Occi::Core::InstanceBuilder

Instance Attribute Details

#modelOcci::InfrastructureExt::Model

model filled with known category definitions


8
9
10
# File 'lib/occi/infrastructure_ext/instance_builder.rb', line 8

def model
  @model
end

Class Method Details

.klass_mapObject

:nodoc:


11
12
13
14
15
16
17
18
# File 'lib/occi/infrastructure_ext/instance_builder.rb', line 11

def klass_map
  ns = Occi::InfrastructureExt
  super.merge(
    ns::Constants::SECURITY_GROUP_KIND => ns::SecurityGroup,
    ns::Constants::IPRESERVATION_KIND => ns::IPReservation,
    ns::Constants::SECURITY_GROUP_LINK_KIND => ns::SecurityGroupLink
  )
end