Module: FogExtensions::Vsphere::Server

Defined in:
lib/fog_extensions/vsphere/server.rb

Instance Method Summary collapse

Instance Method Details

#interfaces_attributes=(attrs) ⇒ Object


13
# File 'lib/fog_extensions/vsphere/server.rb', line 13

def interfaces_attributes=(attrs); end

#poweroffObject


17
18
19
# File 'lib/fog_extensions/vsphere/server.rb', line 17

def poweroff
  stop(:force => true)
end

#resetObject


21
22
23
# File 'lib/fog_extensions/vsphere/server.rb', line 21

def reset
  reboot(:force => true)
end

#stateObject


9
10
11
# File 'lib/fog_extensions/vsphere/server.rb', line 9

def state
  power_state
end

#to_sObject


5
6
7
# File 'lib/fog_extensions/vsphere/server.rb', line 5

def to_s
  name
end

#volumes_attributes=(attrs) ⇒ Object


15
# File 'lib/fog_extensions/vsphere/server.rb', line 15

def volumes_attributes=(attrs);  end