4 from sfa.util.faults import *
5 from sfa.util.method import Method
6 from sfa.util.parameter import Parameter, Mixed
7 from sfa.methods.ListSlices import ListSlices
9 class get_slices(ListSlices):
11 Deprecated. Use ListSlices instead.
12 Get a list of instantiated slices at this authority.
14 @param cred credential string specifying the rights of the caller
15 @return list of human readable slice names (hrn).
18 interfaces = ['aggregate', 'slicemgr', 'component']
21 Parameter(str, "Credential string"),
22 Mixed(Parameter(str, "Human readable name of the original caller"),
23 Parameter(None, "Origin hrn not specified"))
26 returns = [Parameter(str, "Human readable slice name (hrn)")]
28 def call(self, cred, origin_hrn=None):
30 return ListSlices.call(self, cred)