From: Tony Mack <tmack@paris.CS.Princeton.EDU>
Date: Tue, 7 Aug 2012 13:41:54 +0000 (-0400)
Subject: added geni_single_allocation, geni_allocate and geni_best_effort to GetVersion output
X-Git-Tag: sfa-3.0-0~145^2~6
X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=562103cc98aa59b3c7c04b9dc0996ae3c1eda58b;p=sfa.git

added geni_single_allocation, geni_allocate and geni_best_effort to GetVersion output
---

diff --git a/sfa/openstack/nova_driver.py b/sfa/openstack/nova_driver.py
index d1d2c1a4..e0ccd55b 100644
--- a/sfa/openstack/nova_driver.py
+++ b/sfa/openstack/nova_driver.py
@@ -330,6 +330,9 @@ class NovaDriver(Driver):
             'testbed':self.testbed_name(),
             'geni_request_rspec_versions': request_rspec_versions,
             'geni_ad_rspec_versions': ad_rspec_versions,
+            'geni_single_allocation': False, # Accept operations that act on as subset of slivers in a given state
+            'geni_allocate': 'geni_many', # Multiple slivers can exist and be incrementally added, including those which connect or overlap in some way.
+            'geni_best_effort': 'true', 
             }
 
     def list_slices (self, creds, options):
diff --git a/sfa/planetlab/pldriver.py b/sfa/planetlab/pldriver.py
index 0951e8c0..2afcf8cf 100644
--- a/sfa/planetlab/pldriver.py
+++ b/sfa/planetlab/pldriver.py
@@ -577,6 +577,10 @@ class PlDriver (Driver):
             'testbed':self.testbed_name(),
             'geni_request_rspec_versions': request_rspec_versions,
             'geni_ad_rspec_versions': ad_rspec_versions,
+            'geni_single_allocation': False, # Accept operations that act on as subse
+t of slivers in a given state
+            'geni_allocate': 'geni_many', # Multiple slivers can exist and be incrementally added, including those which connect or overlap in some way.
+            'geni_best_effort': 'true',
             }
 
     def list_slices (self, creds, options):