class Fog::Compute::Ecloud::Network

Public Instance Methods

edit_rnat_association(options) click to toggle source
# File lib/fog/ecloud/models/compute/network.rb, line 24
def edit_rnat_association(options)
  options[:uri] = href
  data = connection.rnat_associations_edit_network(options).body
  task = Fog::Compute::Ecloud::Tasks.new(:connection => connection, :href => data[:href])[0]
end
id() click to toggle source
# File lib/fog/ecloud/models/compute/network.rb, line 30
def id
  href.scan(%r\d+/)[0]
end
ips() click to toggle source
# File lib/fog/ecloud/models/compute/network.rb, line 20
def ips
  @ips ||= Fog::Compute::Ecloud::IpAddresses.new(:connection => connection, :href => href)
end
rnats() click to toggle source
# File lib/fog/ecloud/models/compute/network.rb, line 16
def rnats
  @rnats ||= Fog::Compute::Ecloud::Rnats.new(:connection => connection, :href => "cloudapi/ecloud/rnats/networks/#{id}")
end