class Bosh::Director::DeploymentPlan::ResurrectionInstancePlan

Public Instance Methods

needs_disk?() click to toggle source
# File lib/bosh/director/deployment_plan/instance_plan.rb, line 337
def needs_disk?
  @existing_instance.persistent_disk_cid
end
network_settings_hash() click to toggle source
# File lib/bosh/director/deployment_plan/instance_plan.rb, line 329
def network_settings_hash
  @existing_instance.spec_p('networks')
end
spec() click to toggle source
# File lib/bosh/director/deployment_plan/instance_plan.rb, line 333
def spec
  InstanceSpec.create_from_database(@existing_instance.spec, @instance)
end
templates() click to toggle source
# File lib/bosh/director/deployment_plan/instance_plan.rb, line 341
def templates
  @existing_instance.templates.map do |template_model|
    template = Template.new(nil, template_model.name)
    template.bind_existing_model(template_model)
    template
  end
end