2012-01-22 10:38:02 -05:00
|
|
|
module Fog
|
|
|
|
module Compute
|
|
|
|
class Ovirt
|
|
|
|
|
|
|
|
class Cluster < Fog::Model
|
|
|
|
|
|
|
|
identity :id
|
|
|
|
|
|
|
|
attribute :name
|
|
|
|
attribute :raw
|
|
|
|
|
|
|
|
def networks
|
2012-12-22 18:24:20 -05:00
|
|
|
service.list_networks(id)
|
2012-01-22 10:38:02 -05:00
|
|
|
end
|
|
|
|
|
|
|
|
def to_s
|
|
|
|
name
|
|
|
|
end
|
|
|
|
|
|
|
|
end
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|