Class: Ironfan::Dsl::Static

Inherits:
Cloud show all
Defined in:
lib/ironfan/headers.rb,
lib/ironfan/dsl/static.rb

Instance Attribute Summary

Attributes included from Gorillib::Resolution

#underlay

Instance Method Summary collapse

Methods inherited from Cloud

#defaults, receive

Methods inherited from Ironfan::Dsl

#_skip_fields, #skip_fields, #to_manifest

Methods included from Gorillib::Resolution

#deep_resolve, #merge_resolve, #merge_values, #read_resolved_attribute, #read_set_attribute, #read_set_or_underlay_attribute, #read_underlay_attribute, #resolve, #resolve!, #resolve_value

Methods included from CookbookRequirements

#_cookbook_reqs, #children, #cookbook_req, #cookbook_reqs, #join_req

Methods inherited from Builder

ui, #ui

Instance Method Details

#flavor_infoObject


53
54
55
# File 'lib/ironfan/dsl/static.rb', line 53

def flavor_info
  return nil
end

#implied_volumesObject


57
58
59
# File 'lib/ironfan/dsl/static.rb', line 57

def implied_volumes
  []
end

#to_display(style, values = {}) ⇒ Object


45
46
47
48
49
50
51
# File 'lib/ironfan/dsl/static.rb', line 45

def to_display(style,values={})
  return values if style == :minimal

  values["Private IP"] =   private_ip
  values["Public IP"] =    public_ip
  values
end