From 71f8576070e981f1ff25f79b235ede43dda9805c Mon Sep 17 00:00:00 2001 From: Mark Huang Date: Thu, 8 Feb 2007 20:12:15 +0000 Subject: [PATCH] set deprecated status on old functions --- PLC/Methods/SliceExtendedInfo.py | 2 ++ PLC/Methods/SliceInfo.py | 2 ++ PLC/Methods/SliceListNames.py | 2 ++ PLC/Methods/SliceListUserSlices.py | 2 ++ PLC/Methods/SliceUserDel.py | 2 ++ PLC/Methods/SliceUsersList.py | 2 ++ 6 files changed, 12 insertions(+) diff --git a/PLC/Methods/SliceExtendedInfo.py b/PLC/Methods/SliceExtendedInfo.py index 9ab4822a..12116104 100644 --- a/PLC/Methods/SliceExtendedInfo.py +++ b/PLC/Methods/SliceExtendedInfo.py @@ -22,6 +22,8 @@ class SliceExtendedInfo(Method): slice_filter, details about that slice will not be returned. """ + status = "deprecated" + roles = ['admin', 'pi', 'user'] accepts = [ diff --git a/PLC/Methods/SliceInfo.py b/PLC/Methods/SliceInfo.py index 679995d5..9645f996 100644 --- a/PLC/Methods/SliceInfo.py +++ b/PLC/Methods/SliceInfo.py @@ -22,6 +22,8 @@ class SliceInfo(Method): slice_filter, details about that slice will not be returned. """ + status = "deprecated" + roles = ['admin', 'pi', 'user'] accepts = [ diff --git a/PLC/Methods/SliceListNames.py b/PLC/Methods/SliceListNames.py index bf5b4a2b..4d94933d 100644 --- a/PLC/Methods/SliceListNames.py +++ b/PLC/Methods/SliceListNames.py @@ -17,6 +17,8 @@ class SliceListNames(GetSlices): slice_filter, details about that slice will not be returned. """ + status = "deprecated" + roles = ['admin', 'pi', 'user'] accepts = [ diff --git a/PLC/Methods/SliceListUserSlices.py b/PLC/Methods/SliceListUserSlices.py index 47c9027f..9e054eda 100644 --- a/PLC/Methods/SliceListUserSlices.py +++ b/PLC/Methods/SliceListUserSlices.py @@ -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 = [ diff --git a/PLC/Methods/SliceUserDel.py b/PLC/Methods/SliceUserDel.py index e350a5fc..15295f29 100644 --- a/PLC/Methods/SliceUserDel.py +++ b/PLC/Methods/SliceUserDel.py @@ -16,6 +16,8 @@ class SliceUserDel(Method): Returns 1 if successful, faults otherwise. """ + status = "deprecated" + roles = ['admin', 'pi'] accepts = [ diff --git a/PLC/Methods/SliceUsersList.py b/PLC/Methods/SliceUsersList.py index 789833bc..e3eb1e42 100644 --- a/PLC/Methods/SliceUsersList.py +++ b/PLC/Methods/SliceUsersList.py @@ -19,6 +19,8 @@ class SliceUsersList(GetSlices, GetPersons): about that slice will not be returned. """ + status = "deprecated" + roles = ['admin', 'pi', 'user'] accepts = [ -- 2.47.0