4 from PLC.Faults import *
5 from PLC.Method import Method
6 from PLC.Parameter import Parameter, Mixed
7 from PLC.Slices import Slice, Slices
8 from PLC.Auth import Auth
9 from PLC.Methods.DeleteSlice import DeleteSlice
11 class SliceDelete(DeleteSlice):
13 Deprecated. See DeleteSlice.
19 roles = ['admin', 'pi']
26 returns = Parameter(int, 'Returns 1 if successful, a fault otherwise.')
28 def call(self, auth, slice_name):
30 return DeleteSlice.call(self, auth, slice_name)