From 4ba80843131c308ad03fa9e8d38b1f015d86c6d8 Mon Sep 17 00:00:00 2001 From: Tony Mack Date: Wed, 6 Jul 2011 13:28:29 -0400 Subject: [PATCH] call api.get_cached_server_version() insead of _get_server_version() in CreateSliver --- sfa/managers/slice_manager_pl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sfa/managers/slice_manager_pl.py b/sfa/managers/slice_manager_pl.py index 0ed8f48e..2cbc823f 100644 --- a/sfa/managers/slice_manager_pl.py +++ b/sfa/managers/slice_manager_pl.py @@ -158,7 +158,7 @@ def CreateSliver(api, xrn, creds, rspec_str, users, call_id): try: # Need to call GetVersion at an aggregate to determine the supported # rspec type/format beofre calling CreateSliver at an Aggregate. - server_version = _get_server_version(api, server) + server_version = api.get_cached_server_version(server) if 'sfa' not in aggregate_version and 'geni_api' in aggregate_version: # sfa aggregtes support both sfa and pg rspecs, no need to convert # if aggregate supports sfa rspecs. otherwise convert to pg rspec -- 2.47.0