set deprecated status on old functions
authorMark Huang <mlhuang@cs.princeton.edu>
Thu, 8 Feb 2007 20:12:15 +0000 (20:12 +0000)
committerMark Huang <mlhuang@cs.princeton.edu>
Thu, 8 Feb 2007 20:12:15 +0000 (20:12 +0000)
PLC/Methods/SliceExtendedInfo.py
PLC/Methods/SliceInfo.py
PLC/Methods/SliceListNames.py
PLC/Methods/SliceListUserSlices.py
PLC/Methods/SliceUserDel.py
PLC/Methods/SliceUsersList.py

index 9ab4822..1211610 100644 (file)
@@ -22,6 +22,8 @@ class SliceExtendedInfo(Method):
     slice_filter, details about that slice will not be returned.
     """
 
+    status = "deprecated"
+
     roles = ['admin', 'pi', 'user']
 
     accepts = [
index 679995d..9645f99 100644 (file)
@@ -22,6 +22,8 @@ class SliceInfo(Method):
     slice_filter, details about that slice will not be returned.
     """
 
+    status = "deprecated"
+
     roles = ['admin', 'pi', 'user']
 
     accepts = [
index bf5b4a2..4d94933 100644 (file)
@@ -17,6 +17,8 @@ class SliceListNames(GetSlices):
     slice_filter, details about that slice will not be returned.
     """
 
+    status = "deprecated"
+
     roles = ['admin', 'pi', 'user']
 
     accepts = [
index 47c9027..9e054ed 100644 (file)
@@ -19,6 +19,8 @@ class SliceListUserSlices(GetSlices, GetPersons):
     slice_filter, details about that slice will not be returned.
     """
 
+    status = "deprecated"
+
     roles = ['admin', 'pi', 'user']
 
     accepts = [
index e350a5f..15295f2 100644 (file)
@@ -16,6 +16,8 @@ class SliceUserDel(Method):
     Returns 1 if successful, faults otherwise.
     """
 
+    status = "deprecated"
+
     roles = ['admin', 'pi']
 
     accepts = [
index 789833b..e3eb1e4 100644 (file)
@@ -19,6 +19,8 @@ class SliceUsersList(GetSlices, GetPersons):
     about that slice will not be returned.
     """
 
+    status = "deprecated"
+
     roles = ['admin', 'pi', 'user']
 
     accepts = [