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']
13 Parameter(dict, "Options")
15 returns = Parameter(dict, "Version information")
17 # API v2 specifies options is optional, so..
18 def call(self, options=None):
21 self.api.logger.info("interface: %s\tmethod-name: %s" %
22 (self.api.interface, self.name))
23 return self.api.manager.GetVersion(self.api, options)