-# $Id$
-# $URL$
-
from PLC.Method import Method
from PLC.Parameter import Parameter, Mixed
from PLC.Filter import Filter
class ResolveSlices(Method):
"""
This method is similar to GetSlices, except that (1) the returned
- columns are restricted to 'name' and 'slice_id', and (2) it
- returns expired slices too. This method is designed to help
+ columns are restricted to 'name', 'slice_id' and 'expires', and
+ (2) it returns expired slices too. This method is designed to help
third-party software solve slice names from their slice_id
(e.g. PlanetFlow Central). For this reason it is accessible with
anonymous authentication (among others).
roles = ['admin', 'pi', 'user', 'tech', 'anonymous' ]
- applicable_fields = {
+ applicable_fields = {
'slice_id' : Slice.fields['slice_id'],
'name' : Slice.fields['name'],
+ 'expires': Slice.fields['expires'],
}
accepts = [