Class: Mccloud::Provider::Host::Vm

Inherits:
Core::Vm
  • Object
show all
Includes:
VmCommand
Defined in:
lib/mccloud/provider/host/vm.rb

Instance Attribute Summary collapse

Attributes inherited from Core::Vm

#agent_forwarding, #auto_selection, #bootstrap, #bootstrap_password, #bootstrap_user, #create_options, #declared, #definition, #env, #forwardings, #name, #port, #private_key_path, #provider, #provisioners, #public_key_path, #shared_files, #shared_folders, #stacked, #user

Instance Method Summary collapse

Methods included from VmCommand

#_bootstrap, #_provision, #forward, #mccloudfile_options, #scp, #ssh, #transfer

Methods inherited from Core::Vm

#auto_selected?, #declared?, #forward_port, #initialize, #method_missing, #provision, #provisioner, #stacked?

Methods included from Core::VmCommand

#adjust_rsync_path, #bg_exec, #execute, #fg_exec, #rsync, #rsync_permissions, #share, #share_file, #share_folder, #share_sync, #ssh, #ssh_bootstrap, #ssh_commandline_options, #ssh_forward, #ssh_tunnel_start, #ssh_tunnel_stop, #sudo, #sudo_string, #windows_client?

Constructor Details

This class inherits a constructor from Mccloud::Provider::Core::Vm

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Mccloud::Provider::Core::Vm

Instance Attribute Details

#ip_addressObject

Returns the value of attribute ip_address.



20
21
22
# File 'lib/mccloud/provider/host/vm.rb', line 20

def ip_address
  @ip_address
end

Instance Method Details

#runnning?Boolean

Returns:

  • (Boolean)


22
23
24
# File 'lib/mccloud/provider/host/vm.rb', line 22

def runnning?
    true
end