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 (parent:
c0ca16b
)
create an accessor for hrns also for sites
author
Mohamed Larabi
<mohamed.larabi@inria.fr>
Thu, 31 Oct 2013 16:27:36 +0000
(17:27 +0100)
committer
Mohamed Larabi
<mohamed.larabi@inria.fr>
Thu, 31 Oct 2013 16:27:36 +0000
(17:27 +0100)
PLC/Accessors/Accessors_standard.py
patch
|
blob
|
history
diff --git
a/PLC/Accessors/Accessors_standard.py
b/PLC/Accessors/Accessors_standard.py
index
941055d
..
d86296b
100644
(file)
--- a/
PLC/Accessors/Accessors_standard.py
+++ b/
PLC/Accessors/Accessors_standard.py
@@
-68,8
+68,8
@@
define_accessors(current_module, Node, "Extensions", "extensions",
"node/config", "space-separated list of extensions to install",
set_roles=["admin"],expose_in_api=True)
# access HRN - this is the ideal definition of roles, even if AddNodeTag cannot handle this
"node/config", "space-separated list of extensions to install",
set_roles=["admin"],expose_in_api=True)
# access HRN - this is the ideal definition of roles, even if AddNodeTag cannot handle this
-define_accessors(current_module, [Node,Person,Slice] , "Hrn", "hrn",
- "node/person/slice/sfa", "SFA human readable name",
+define_accessors(current_module, [Node,Person,Slice
,Site
] , "Hrn", "hrn",
+ "node/person/slice/s
ite/s
fa", "SFA human readable name",
set_roles=all_roles, expose_in_api=True)
# test nodes perform their installation from an uncompressed bootstrapfs
set_roles=all_roles, expose_in_api=True)
# test nodes perform their installation from an uncompressed bootstrapfs