Sha256: e0de344d8d43377035246d0fd968ad7922642cd5da0a72dabd2d9c5b6b0fc3c6
Contents?: true
Size: 1.13 KB
Versions: 13
Compression:
Stored size: 1.13 KB
Contents
module Fog class Vcloud module Terremark class Ecloud class Ip < Fog::Vcloud::Model ignore_attributes :xmlns_i, :xmlns identity :href, :aliases => :Href attribute :name, :aliases => :Name attribute :status, :aliases => :Status attribute :server, :aliases => :Server attribute :rnat, :aliases => :RnatAddress attribute :id, :aliases => :Id, :type => :integer def rnat=(new_rnat) attributes[:rnat] = new_rnat @changed = true end def save if @changed connection.configure_network_ip( href, _compose_network_ip_data ) end true end def reload super @changed = false self end private def _compose_network_ip_data { :id => id, :href => href, :name => name, :status => status, :server => server, :rnat => rnat } end end end end end end
Version data entries
13 entries across 13 versions & 2 rubygems