From 42b08820bd9aced0f3a6825e4fa8797c5822fc75 Mon Sep 17 00:00:00 2001 From: Simon Gate Date: Fri, 1 Feb 2013 14:41:45 +0100 Subject: [PATCH] [glesys] Fix ip attributes, they didn't work The attributes didn't match up with Glesys API. --- lib/fog/glesys/models/compute/ip.rb | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/lib/fog/glesys/models/compute/ip.rb b/lib/fog/glesys/models/compute/ip.rb index 0dd463a0d..5feba8985 100644 --- a/lib/fog/glesys/models/compute/ip.rb +++ b/lib/fog/glesys/models/compute/ip.rb @@ -8,12 +8,20 @@ module Fog extend Fog::Deprecation - identity :serverid + identity :ip + attribute :ip, :aliases => "ipaddress" attribute :datacenter - attribute :version + attribute :version, :aliases => "ipversion" attribute :platform - attribute :ip + attribute :netmask + attribute :broadcast + attribute :gateway + attribute :nameservers + attribute :serverid + attribute :reserved + attribute :ptr + attribute :cost def list_own service.list_own