From bc15dc8096f4465bb8c3e9da2177b010828fe5b5 Mon Sep 17 00:00:00 2001 From: Mark Huang Date: Tue, 16 Jan 2007 17:15:11 +0000 Subject: [PATCH 1/1] - fix slice name reference --- PLC/Methods/SliceExtendedInfo.py | 2 +- PLC/Methods/SliceInfo.py | 2 +- PLC/Methods/SliceNodesList.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/PLC/Methods/SliceExtendedInfo.py b/PLC/Methods/SliceExtendedInfo.py index 25eeab69..651bd7ea 100644 --- a/PLC/Methods/SliceExtendedInfo.py +++ b/PLC/Methods/SliceExtendedInfo.py @@ -23,7 +23,7 @@ class SliceExtendedInfo(Method): accepts = [ Auth(), - [Slice.fields['slice_name']], + [Slice.fields['name']], Parameter(bool, "Whether or not to return users for the slices", nullok = True), Parameter(bool, "Whether or not to return nodes for the slices", nullok = True) ] diff --git a/PLC/Methods/SliceInfo.py b/PLC/Methods/SliceInfo.py index 65510859..5be35d6f 100644 --- a/PLC/Methods/SliceInfo.py +++ b/PLC/Methods/SliceInfo.py @@ -23,7 +23,7 @@ class SliceInfo(Method): accepts = [ Auth(), - [Mixed(Slice.fields['slice_name']], + [Mixed(Slice.fields['name']], Parameter(bool, "Whether or not to return users for the slices", nullok = True) Parameter(bool, "Whether or not to return nodes for the slices", nullok = True) ] diff --git a/PLC/Methods/SliceNodesList.py b/PLC/Methods/SliceNodesList.py index 556cb17c..81cdff41 100644 --- a/PLC/Methods/SliceNodesList.py +++ b/PLC/Methods/SliceNodesList.py @@ -18,7 +18,7 @@ class SliceNodesList(Method): accepts = [ Auth(), - Slice.fields['slice_name'] + Slice.fields['name'] ] returns = [Node.fields['hostname']] -- 2.45.2