From: Tony Mack Date: Thu, 6 Oct 2011 03:00:15 +0000 (-0400) Subject: Make sure ProroGENI request rspecs have the correct schema and format X-Git-Tag: sfa-1.1-1~137 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=75f348b5651932ba58e8cc188a6c84d664159ca4;p=sfa.git Make sure ProroGENI request rspecs have the correct schema and format --- diff --git a/sfa/managers/slice_manager_pl.py b/sfa/managers/slice_manager_pl.py index e8baada0..de3cc1b6 100644 --- a/sfa/managers/slice_manager_pl.py +++ b/sfa/managers/slice_manager_pl.py @@ -197,7 +197,7 @@ def CreateSliver(api, xrn, creds, rspec_str, users, call_id): if 'sfa' not in server_version and 'geni_api' in server_version: # sfa aggregtes support both sfa and pg rspecs, no need to convert # if aggregate supports sfa rspecs. otherwise convert to pg rspec - rspec = RSpecConverter.to_pg_rspec(rspec) + rspec = RSpecConverter.to_pg_rspec(rspec, 'request') args = [xrn, credential, rspec, users] if _call_id_supported(api, server): args.append(call_id)