From bce90f2ea1c29b27c565a9c389e22b5915f724a4 Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Tue, 23 Sep 2008 15:51:12 +0000 Subject: [PATCH] add a vref accessor for slices --- PLC/Accessors/Accessors_standard.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/PLC/Accessors/Accessors_standard.py b/PLC/Accessors/Accessors_standard.py index 55da25d..7b90a12 100644 --- a/PLC/Accessors/Accessors_standard.py +++ b/PLC/Accessors/Accessors_standard.py @@ -16,6 +16,10 @@ current_module = sys.modules[__name__] # description/category area is unlikely to make it into the database # +# slice vref +define_accessors(current_module, Slice, "Vref", 'vref', 'slice/config', + get_roles=all_roles, set_roles=['admin']) + # node architecture define_accessors(current_module, Node, "Arch", 'arch', 'node/config', 'architecture name', get_roles=all_roles, set_roles=tech_roles ) -- 2.43.0