git://git.onelab.eu
/
plcapi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
e807caf
)
default for get_roles in the accessors factory is all_roles
author
Thierry Parmentelat
<thierry.parmentelat@sophia.inria.fr>
Mon, 22 Nov 2010 22:25:01 +0000
(23:25 +0100)
committer
Thierry Parmentelat
<thierry.parmentelat@sophia.inria.fr>
Mon, 22 Nov 2010 22:25:01 +0000
(23:25 +0100)
PLC/Accessors/Accessors_sliverauth.py
patch
|
blob
|
history
PLC/Accessors/Accessors_standard.py
patch
|
blob
|
history
PLC/Accessors/Accessors_wireless.py
patch
|
blob
|
history
PLC/Accessors/Factory.py
patch
|
blob
|
history
PLC/Methods/GetIlinks.py
patch
|
blob
|
history
PLC/Methods/GetSiteTags.py
patch
|
blob
|
history
diff --git
a/PLC/Accessors/Accessors_sliverauth.py
b/PLC/Accessors/Accessors_sliverauth.py
index
921645b
..
088560e
100644
(file)
--- a/
PLC/Accessors/Accessors_sliverauth.py
+++ b/
PLC/Accessors/Accessors_sliverauth.py
@@
-1,3
+1,6
@@
+#
+# Thierry Parmentelat - INRIA
+#
from PLC.Nodes import Node
from PLC.Interfaces import Interface
from PLC.Slices import Slice
from PLC.Nodes import Node
from PLC.Interfaces import Interface
from PLC.Slices import Slice
diff --git
a/PLC/Accessors/Accessors_standard.py
b/PLC/Accessors/Accessors_standard.py
index
f97bfd4
..
f368a2c
100644
(file)
--- a/
PLC/Accessors/Accessors_standard.py
+++ b/
PLC/Accessors/Accessors_standard.py
@@
-1,7
+1,6
@@
+#
# Thierry Parmentelat - INRIA
# Thierry Parmentelat - INRIA
-# $Id$
-# $URL$
-
+#
from PLC.Nodes import Node
from PLC.Interfaces import Interface
from PLC.Slices import Slice
from PLC.Nodes import Node
from PLC.Interfaces import Interface
from PLC.Slices import Slice
diff --git
a/PLC/Accessors/Accessors_wireless.py
b/PLC/Accessors/Accessors_wireless.py
index
5af6e29
..
12b5bd9
100644
(file)
--- a/
PLC/Accessors/Accessors_wireless.py
+++ b/
PLC/Accessors/Accessors_wireless.py
@@
-1,7
+1,6
@@
+#
# Thierry Parmentelat - INRIA
# Thierry Parmentelat - INRIA
-# $Id$
-# $URL$
-
+#
from PLC.Nodes import Node
from PLC.Interfaces import Interface
from PLC.Slices import Slice
from PLC.Nodes import Node
from PLC.Interfaces import Interface
from PLC.Slices import Slice
diff --git
a/PLC/Accessors/Factory.py
b/PLC/Accessors/Factory.py
index
ad79a99
..
ebe6720
100644
(file)
--- a/
PLC/Accessors/Factory.py
+++ b/
PLC/Accessors/Factory.py
@@
-1,7
+1,6
@@
+#
# Thierry Parmentelat - INRIA
# Thierry Parmentelat - INRIA
-# $Id$
-# $URL$
-
+#
from types import NoneType
from PLC.Faults import *
from types import NoneType
from PLC.Faults import *
@@
-72,7
+71,7
@@
tech_roles = [ 'admin', 'pi', 'tech' ]
def define_accessors (module, objclass, methodsuffix, tagname,
category, description,
def define_accessors (module, objclass, methodsuffix, tagname,
category, description,
- get_roles=
['admin'], set_roles=['admin']
,
+ get_roles=
all_roles, admin_roles
,
expose_in_api = False):
if objclass not in taggable_classes:
expose_in_api = False):
if objclass not in taggable_classes:
diff --git
a/PLC/Methods/GetIlinks.py
b/PLC/Methods/GetIlinks.py
index
93a208a
..
9fc051d
100644
(file)
--- a/
PLC/Methods/GetIlinks.py
+++ b/
PLC/Methods/GetIlinks.py
@@
-1,10
+1,6
@@
-# $Id$
-# $URL$
#
# Thierry Parmentelat - INRIA
#
#
# Thierry Parmentelat - INRIA
#
-# $Revision: 9423 $
-#
from PLC.Faults import *
from PLC.Method import Method
from PLC.Parameter import Parameter, Mixed
from PLC.Faults import *
from PLC.Method import Method
from PLC.Parameter import Parameter, Mixed
diff --git
a/PLC/Methods/GetSiteTags.py
b/PLC/Methods/GetSiteTags.py
index
83b208c
..
03a857b
100644
(file)
--- a/
PLC/Methods/GetSiteTags.py
+++ b/
PLC/Methods/GetSiteTags.py
@@
-1,10
+1,6
@@
-# $Id: GetSiteTags.py 14587 2009-07-19 13:18:50Z thierry $
-# $URL: http://svn.planet-lab.org/svn/PLCAPI/tags/PLCAPI-4.3-27/PLC/Methods/GetSiteTags.py $
#
# Thierry Parmentelat - INRIA
#
#
# Thierry Parmentelat - INRIA
#
-# $Revision: 14587 $
-#
from PLC.Faults import *
from PLC.Method import Method
from PLC.Parameter import Parameter, Mixed
from PLC.Faults import *
from PLC.Method import Method
from PLC.Parameter import Parameter, Mixed