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

missing: - new model tests - templates model - clone this patch includes a lot of changes and cleanups, exposing more fog collections/models and rewriting most requests it includes valuable feedback from endzyme <nick.huanca@gmail.com>
21 lines
301 B
Ruby
21 lines
301 B
Ruby
module Fog
|
|
module Compute
|
|
class Vsphere
|
|
|
|
class Network < Fog::Model
|
|
|
|
identity :id
|
|
|
|
attribute :name
|
|
attribute :datacenter
|
|
attribute :accessible # reachable by at least one hypervisor
|
|
|
|
def to_s
|
|
name
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
end
|
|
end
|