1 # Thierry Parmentelat - INRIA
4 from PLC.Nodes import Node
5 from PLC.Interfaces import Interface
6 from PLC.Slices import Slice
7 from PLC.Ilinks import Ilink
9 from PLC.Accessors.Factory import define_accessors, all_roles
12 current_module = sys.modules[__name__]
14 # example : node architecture
15 define_accessors(current_module, Node, "Arch", 'arch', 'node/config', 'architecture name',
18 set_roles=['admin', 'pi', 'tech'] )