mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
Merge pull request #4003 from orrabin/more_ovirt_leftovers
Removing leftovers from extraction of fog-ovirt
This commit is contained in:
commit
5b39eb8384
3 changed files with 0 additions and 45 deletions
|
@ -1 +0,0 @@
|
|||
require 'fog/ovirt/compute'
|
|
@ -1,22 +0,0 @@
|
|||
module Fog
|
||||
module Compute
|
||||
class Ovirt
|
||||
class Real
|
||||
def activate_volume(id, options)
|
||||
raise ArgumentError, "instance id is a required parameter" unless id
|
||||
raise ArgumentError, "volume id is a required parameter for activate-volume" unless options.key? :id
|
||||
|
||||
client.activate_volume(id, options[:id])
|
||||
end
|
||||
end
|
||||
|
||||
class Mock
|
||||
def activate_volume(id, options)
|
||||
raise ArgumentError, "instance id is a required parameter" unless id
|
||||
raise ArgumentError, "volume id is a required parameter for activate-volume" unless options.key? :id
|
||||
true
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
|
@ -1,22 +0,0 @@
|
|||
module Fog
|
||||
module Compute
|
||||
class Ovirt
|
||||
class Real
|
||||
def deactivate_volume(id, options)
|
||||
raise ArgumentError, "instance id is a required parameter" unless id
|
||||
raise ArgumentError, "volume id is a required parameter for deactivate-volume" unless options.key? :id
|
||||
|
||||
client.deactivate_volume(id, options[:id])
|
||||
end
|
||||
end
|
||||
|
||||
class Mock
|
||||
def deactivate_volume(id, options)
|
||||
raise ArgumentError, "instance id is a required parameter" unless id
|
||||
raise ArgumentError, "volume id is a required parameter for deactivate-volume" unless options.key? :id
|
||||
true
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
Loading…
Add table
Reference in a new issue