rough cleanup of the slicemanager business
[sfa.git] / sfa / methods / GetVersion.py
index 4bbc86d..4da1e97 100644 (file)
@@ -1,4 +1,5 @@
 from sfa.util.method import Method
+from sfa.util.sfalogging import logger
 
 from sfa.storage.parameter import Parameter
 
@@ -8,7 +9,7 @@ class GetVersion(Method):
     Returns this GENI Aggregate Manager's Version Information
     @return version
     """
-    interfaces = ['registry', 'aggregate', 'slicemgr', 'component']
+    interfaces = ['registry', 'aggregate', 'component']
     accepts = [
         Parameter(dict, "Options")
     ]
@@ -18,6 +19,6 @@ class GetVersion(Method):
     def call(self, options=None):
         if options is None:
             options = {}
-        self.api.logger.info("interface: %s\tmethod-name: %s" %
-                             (self.api.interface, self.name))
+        logger.info("interface: %s\tmethod-name: %s" %
+                    (self.api.interface, self.name))
         return self.api.manager.GetVersion(self.api, options)