From: Tony Mack Date: Mon, 28 Nov 2011 19:24:16 +0000 (-0500) Subject: slicemgr also supports GENI AM API v2 X-Git-Tag: sfa-2.0-1~6^2~4^2 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=5452763eb5e88303eff84ff3dba105eb1f470285;p=sfa.git slicemgr also supports GENI AM API v2 --- diff --git a/sfa/server/sfaapi.py b/sfa/server/sfaapi.py index faf62afd..9afe9b4f 100644 --- a/sfa/server/sfaapi.py +++ b/sfa/server/sfaapi.py @@ -246,7 +246,7 @@ class SfaApi (XmlrpcApi): Converts the specified result into a standard GENI compliant response """ - if self.interface.lower() == 'aggregate': + if self.interface.lower() in ['aggregate', 'slicemgr']: if hasattr(self.config, 'SFA_AGGREGATE_API_VERSION') and \ self.config.SFA_AGGREGATE_API_VERSION == 2: result = self.prepare_response_v2_am(result)