mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
24 lines
293 B
Ruby
24 lines
293 B
Ruby
module Fog
|
|
module Compute
|
|
class Ovirt
|
|
|
|
class Cluster < Fog::Model
|
|
|
|
identity :id
|
|
|
|
attribute :name
|
|
attribute :raw
|
|
|
|
def networks
|
|
service.list_networks(id)
|
|
end
|
|
|
|
def to_s
|
|
name
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
end
|
|
end
|