can set expires upon slice creation
[plcapi.git] / PLC / Methods / GetDummyBoxUsers.py
index d3a8fe8..74e586e 100644 (file)
@@ -1,6 +1,7 @@
 #
 # Marta Carbone - UniPi 
-# $Id: GetDummyBoxUsers.py 10410 2008-09-04 16:29:48Z marta $
+# $Id$
+# $URL$
 #
 # This Method returns a list of tuples formatted as follow:
 # 
@@ -37,7 +38,7 @@ class GetDummyBoxUsers(Method):
        Return keys, 0 if there are no users.
        """
 
-       roles = ['admin', 'pi']
+       roles = ['admin', 'pi', 'node']
 
        accepts = [
                Auth(),
@@ -85,7 +86,6 @@ class GetDummyBoxUsers(Method):
                for i in connected_nodes:
                        node_list.append(i['node_id'])
 
-
                nodes = Nodes(self.api, node_list, ['node_id', 'hostname', 'slice_ids'])
                if not nodes: return 0