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:
78793da
)
Identify objects (Site/Slice/Person) created through SFA using sfa_created tag
author
Mohamed Larabi
<mohamed.larabi@inria.fr>
Wed, 13 Nov 2013 16:54:06 +0000
(17:54 +0100)
committer
Mohamed Larabi
<mohamed.larabi@inria.fr>
Wed, 13 Nov 2013 16:54:06 +0000
(17:54 +0100)
PLC/Accessors/Accessors_standard.py
patch
|
blob
|
history
diff --git
a/PLC/Accessors/Accessors_standard.py
b/PLC/Accessors/Accessors_standard.py
index
d86296b
..
55ff66e
100644
(file)
--- a/
PLC/Accessors/Accessors_standard.py
+++ b/
PLC/Accessors/Accessors_standard.py
@@
-108,3
+108,8
@@
define_accessors(current_module, Interface, "Alias", "alias",
define_accessors(current_module, Interface, "Backdoor", "backdoor",
"interface/hidden", "For testing new settings",
set_roles=admin_roles)
+
+# we need to identify objects created through SFA interfaces
+define_accessors(current_module, [Person,Slice,Site] , "SfaCreated", "sfa_created",
+ "person/slice/site/sfa", "Tag objects created through SFA interfaces",
+ set_roles=all_roles, expose_in_api=True)