From 2cc2b576d069a79f78db901579d859ac46655f3d Mon Sep 17 00:00:00 2001 From: Josh Karlin Date: Wed, 24 Mar 2010 22:03:07 +0000 Subject: [PATCH] Added in initial support for a ListResources call --- sfa/managers/geni_am_pl.py | 3 +++ sfa/methods/__init__.py | 1 + 2 files changed, 4 insertions(+) diff --git a/sfa/managers/geni_am_pl.py b/sfa/managers/geni_am_pl.py index c783bfd6..bd3951f5 100644 --- a/sfa/managers/geni_am_pl.py +++ b/sfa/managers/geni_am_pl.py @@ -24,3 +24,6 @@ def GetVersion(): version['geni_api'] = 1 version['geni_stitching'] = False return version + +def ListResources(creds, options): + return "Hello World" diff --git a/sfa/methods/__init__.py b/sfa/methods/__init__.py index 8d2995e5..5334d44e 100644 --- a/sfa/methods/__init__.py +++ b/sfa/methods/__init__.py @@ -27,4 +27,5 @@ stop_slice update remove_peer_object GetVersion +ListResources """.split() -- 2.45.2