1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

Merge pull request #1399 from maestrodev/vsphere_public_ip

[vsphere] Add vsphere public_ip_address correctly
This commit is contained in:
Wesley Beary 2012-12-21 08:55:18 -08:00
commit f21f721c0a

View file

@ -5,6 +5,8 @@ module Fog
class Vsphere class Vsphere
class Server < Fog::Compute::Server class Server < Fog::Compute::Server
extend Fog::Deprecation
deprecate(:ipaddress, :public_ip_address)
# This will be the instance uuid which is globally unique across # This will be the instance uuid which is globally unique across
# a vSphere deployment. # a vSphere deployment.
@ -22,7 +24,7 @@ module Fog
attribute :uuid attribute :uuid
attribute :hostname attribute :hostname
attribute :operatingsystem attribute :operatingsystem
attribute :ipaddress, :aliases => 'public_ip_address' attribute :public_ip_address, :aliases => 'ipaddress'
attribute :power_state, :aliases => 'power' attribute :power_state, :aliases => 'power'
attribute :tools_state, :aliases => 'tools' attribute :tools_state, :aliases => 'tools'
attribute :tools_version attribute :tools_version