-# Ditto for the GetNodeFlavour method
-define_accessors(current_module, Node, "Arch", "arch",
- "node/slice/config", "node arch or slivers arch",
- set_roles=["pi","user","tech"], expose_in_api=True)
-define_accessors(current_module, Node, "Pldistro", "pldistro",
- "node/slice/config", "PlanetLab distribution to use for node or slivers",
- set_roles=["pi","user","tech"], expose_in_api=True)
-define_accessors(current_module, Node, "Fcdistro", "fcdistro",
- "node/slice/config", "Fedora or CentOS distribution to use for node or slivers",
- set_roles=["pi","user","tech"], expose_in_api=True)
+# the virtualization model to use - this is only used by the bootmanager for
+# picking the right options e.g. prior to reinstalling
+# see PLC_FLAVOUR_VIRT_MAP to see how the default gets computed
+define_accessors(current_module, Node, "Virt", "virt",
+ "node/operation", 'typically "vs" or "lxc"',
+ set_roles=all_roles, expose_in_api=True)