1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
fog--fog/lib/fog/vcloud_director/models/compute/network.rb
Mike Pountney 6bedc5f3b4 Add is_shared attribute to network Model
is_shared reports whether a network is shared across all
vDCs within an organization, or just within the vDC it is defined in.
2014-02-26 10:34:42 +00:00

28 lines
533 B
Ruby

require 'fog/core/model'
module Fog
module Compute
class VcloudDirector
class Network < Model
identity :id
attribute :name
attribute :type
attribute :href
attribute :description
attribute :is_inherited
attribute :is_shared
attribute :fence_mode
attribute :gateway
attribute :netmask
attribute :dns1
attribute :dns2
attribute :dns_suffix
attribute :ip_ranges, :type => :array
end
end
end
end