2 from PLC.Faults import *
3 from PLC.Method import Method
4 from PLC.Parameter import Parameter, Mixed
5 from PLC.Nodes import Node, Nodes
6 from PLC.Slices import Slice, Slices
7 from PLC.Auth import Auth
8 from PLC.Methods.DeleteSliceFromNodes import DeleteSliceFromNodes
10 class SliceNodesDel(DeleteSliceFromNodes):
12 Deprecated. See DeleteSliceFromNodes.
18 roles = ['admin', 'pi', 'user']
23 [Node.fields['hostname']]
26 returns = Parameter(int, '1 if successful')
28 def call(self, auth, slice_name, nodes_list):
30 return DeleteSliceFromNodes.call(self, auth, slice_name, nodes_list)