From 01c0669f5b35dd96c7bdfc46da4613b2b1363e3b Mon Sep 17 00:00:00 2001 From: Sergio Rubio Date: Mon, 31 Dec 2012 00:49:39 +0100 Subject: [PATCH] [xenserver] added unplug method to PBD model --- lib/fog/xenserver/models/compute/pbd.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/fog/xenserver/models/compute/pbd.rb b/lib/fog/xenserver/models/compute/pbd.rb index 3358407da..18aa790f0 100644 --- a/lib/fog/xenserver/models/compute/pbd.rb +++ b/lib/fog/xenserver/models/compute/pbd.rb @@ -25,6 +25,10 @@ module Fog def host connection.hosts.get __host end + + def unplug + connection.unplug_pbd reference + end end