added geni_single_allocation, geni_allocate and geni_best_effort to GetVersion output
authorTony Mack <tmack@paris.CS.Princeton.EDU>
Tue, 7 Aug 2012 13:41:54 +0000 (09:41 -0400)
committerTony Mack <tmack@paris.CS.Princeton.EDU>
Tue, 7 Aug 2012 13:41:54 +0000 (09:41 -0400)
sfa/openstack/nova_driver.py
sfa/planetlab/pldriver.py

index e4ef961..b023ba4 100644 (file)
@@ -328,6 +328,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):
index 0951e8c..2afcf8c 100644 (file)
@@ -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):