- fix slice name reference
authorMark Huang <mlhuang@cs.princeton.edu>
Tue, 16 Jan 2007 17:15:11 +0000 (17:15 +0000)
committerMark Huang <mlhuang@cs.princeton.edu>
Tue, 16 Jan 2007 17:15:11 +0000 (17:15 +0000)
PLC/Methods/SliceExtendedInfo.py
PLC/Methods/SliceInfo.py
PLC/Methods/SliceNodesList.py

index 25eeab6..651bd7e 100644 (file)
@@ -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)
         ]
index 6551085..5be35d6 100644 (file)
@@ -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)
         ]
index 556cb17..81cdff4 100644 (file)
@@ -18,7 +18,7 @@ class SliceNodesList(Method):
 
     accepts = [
         Auth(),
-        Slice.fields['slice_name']
+        Slice.fields['name']
         ]
 
     returns = [Node.fields['hostname']]