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

[glesys] Fix ip attributes, they didn't work

The attributes didn't match up with Glesys API.
This commit is contained in:
Simon Gate 2013-02-01 14:41:45 +01:00
parent 37d3a95fa0
commit 42b08820bd

View file

@ -8,12 +8,20 @@ module Fog
extend Fog::Deprecation extend Fog::Deprecation
identity :serverid identity :ip
attribute :ip, :aliases => "ipaddress"
attribute :datacenter attribute :datacenter
attribute :version attribute :version, :aliases => "ipversion"
attribute :platform attribute :platform
attribute :ip attribute :netmask
attribute :broadcast
attribute :gateway
attribute :nameservers
attribute :serverid
attribute :reserved
attribute :ptr
attribute :cost
def list_own def list_own
service.list_own service.list_own