From 9a54f17887543b8a3b79975136ce1be556782e53 Mon Sep 17 00:00:00 2001 From: Mohamed Larabi Date: Tue, 28 May 2013 15:25:35 +0200 Subject: [PATCH] pldriver: specifie the rspec version for the describe call within perform_operation_action --- sfa/planetlab/pldriver.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sfa/planetlab/pldriver.py b/sfa/planetlab/pldriver.py index 4e515ff0..8b02d349 100644 --- a/sfa/planetlab/pldriver.py +++ b/sfa/planetlab/pldriver.py @@ -746,7 +746,7 @@ class PlDriver (Driver): raise UnsupportedOperation(action) # fault if sliver is not full allocated (operational status is geni_pending_allocation) - description = self.describe(urns, None, options) + description = self.describe(urns, 'GENI 3', options) for sliver in description['geni_slivers']: if sliver['geni_operational_status'] == 'geni_pending_allocation': raise UnsupportedOperation(action, "Sliver must be fully allocated (operational status is not geni_pending_allocation)") @@ -754,7 +754,7 @@ class PlDriver (Driver): # Perform Operational Action Here # - geni_slivers = self.describe(urns, None, options)['geni_slivers'] + geni_slivers = self.describe(urns, 'GENI 3', options)['geni_slivers'] return geni_slivers # set the 'enabled' tag to 0 -- 2.47.0