Class: Vagrant::Machine

Inherits:
Object
  • Object
show all
Defined in:
lib/vagrant-vcloud.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#vappidObject

Returns the value of attribute vappid.



22
23
24
# File 'lib/vagrant-vcloud.rb', line 22

def vappid
  @vappid
end

Instance Method Details

#get_vapp_idvAppId

This returns the vCloud Director vApp ID.

Returns:

  • (vAppId)


55
56
57
58
59
60
61
62
# File 'lib/vagrant-vcloud.rb', line 55

def get_vapp_id
  vappid_file = @data_dir.join("../../../vcloud_vappid")
  if vappid_file.file?
    @vappid = vappid_file.read
  else
    nil
  end
end