1 from sfa.util.method import Method
3 from sfa.storage.parameter import Parameter
6 class GetVersion(Method):
8 Returns this GENI Aggregate Manager's Version Information
11 interfaces = ['registry','aggregate', 'slicemgr', 'component']
12 accepts = [Parameter(dict, "Options")]
13 returns = Parameter(dict, "Version information")
15 def call(self, options={}):
16 self.api.logger.info("interface: %s\tmethod-name: %s" % (self.api.interface, self.name))
17 return self.api.manager.GetVersion(self.api, options)