X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=PLC%2FMethods%2FSliceNodesAdd.py;h=10435247300f1a11ebf79aeb2e9f78b276af7d23;hb=e795c7325c38c212ed525e567fe028e8ed0c8e90;hp=2ecbb0677fd946ae9b391fb96441f86bc22bc008;hpb=e76605a62282e7c10c6b87c75420b000d1829af7;p=plcapi.git diff --git a/PLC/Methods/SliceNodesAdd.py b/PLC/Methods/SliceNodesAdd.py index 2ecbb06..1043524 100644 --- a/PLC/Methods/SliceNodesAdd.py +++ b/PLC/Methods/SliceNodesAdd.py @@ -1,3 +1,5 @@ +# $Id$ +# $URL$ from PLC.Faults import * from PLC.Method import Method from PLC.Parameter import Parameter, Mixed @@ -6,7 +8,7 @@ from PLC.Slices import Slice, Slices from PLC.Auth import Auth from PLC.Methods.AddSliceToNodes import AddSliceToNodes -class SliceNodesAdd(Method): +class SliceNodesAdd(AddSliceToNodes): """ Deprecated. See AddSliceToNodes. @@ -24,7 +26,6 @@ class SliceNodesAdd(Method): returns = Parameter(int, '1 if successful') - def call(self, auth, slice_name, nodes_list): - return AddSliceToNodes.call(self, auth, slice_name, nodes_list) + return AddSliceToNodes.call(self, auth, slice_name, nodes_list)