make the extensions tag accessible through GetNodes/UpdateNode
authorThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Thu, 23 Jul 2009 20:10:46 +0000 (20:10 +0000)
committerThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Thu, 23 Jul 2009 20:10:46 +0000 (20:10 +0000)
PLC/Accessors/Accessors_standard.py

index af7e316..c1bf928 100644 (file)
@@ -39,7 +39,7 @@ define_accessors(current_module, Node, "Deployment", "deployment",
 # extension
 define_accessors(current_module, Node, "Extensions", "extensions", 
                  "node/config", "space-separated list of extensions to install",
-                 get_roles=all_roles, set_roles=["admin"])
+                 get_roles=all_roles, set_roles=["admin"],expose_in_api=True)
 # test nodes perform their installation from an uncompressed bootstrapfs
 define_accessors(current_module, Node, "PlainBootstrapfs", "plain-bootstrapfs", 
                  "node/config", "use uncompressed bootstrapfs when set",