Permalink
Browse files

[xenserver] added unplug_pbd request

  • Loading branch information...
1 parent bd16ffc commit 85706050a221852d488c30fcb541a1de919e5899 @rubiojr committed Dec 30, 2012
Showing with 25 additions and 0 deletions.
  1. +25 −0 lib/fog/xenserver/requests/compute/unplug_pbd.rb
View
25 lib/fog/xenserver/requests/compute/unplug_pbd.rb
@@ -0,0 +1,25 @@
+module Fog
+ module Compute
+ class XenServer
+
+ class Real
+
+ def unplug_pbd( ref )
+ @connection.request(
+ {:parser => Fog::Parsers::XenServer::Base.new, :method => 'PBD.unplug'},
+ ref
+ )
+ end
+
+ end
+
+ class Mock
+
+ def unplug_pbd( ref )
+ Fog::Mock.not_implemented
+ end
+
+ end
+ end
+ end
+end

0 comments on commit 8570605

Please sign in to comment.