move legacy v42 methods to Legacy/ sub directory
[plcapi.git] / PLC / Methods / AddSliceAttribute.py
diff --git a/PLC/Methods/AddSliceAttribute.py b/PLC/Methods/AddSliceAttribute.py
deleted file mode 100644 (file)
index 79ebe5d..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-# $Id: $
-from PLC.v42Legacy import patch
-from PLC.v42LegacySliceAttributes import v42rename, v43rename
-from PLC.Methods.AddSliceTag import AddSliceTag
-class AddSliceAttribute(AddSliceTag):
-    """ Legacy version of AddSliceTag. """
-    status = "deprecated"
-    def call(self, auth, slice_id_or_name, tag_type_id_or_name, value, node_id_or_hostname = None, nodegroup_id_or_name = None):
-       slice_id_or_name=patch(slice_id_or_name,v42rename)
-       tag_type_id_or_name=patch(tag_type_id_or_name,v42rename)
-       value=patch(value,v42rename)
-       node_id_or_hostname=patch(node_id_or_hostname,v42rename)
-       nodegroup_id_or_name=patch(nodegroup_id_or_name,v42rename)
-       result=AddSliceTag.call(self,auth,slice_id_or_name,tag_type_id_or_name,value,node_id_or_hostname,nodegroup_id_or_name)
-       return patch(result,v43rename)