# Thierry Parmentelat - INRIA
# $Id$
+# $URL$
from PLC.Nodes import Node
from PLC.Interfaces import Interface
define_accessors(current_module, Node, "Arch", "arch",
"node/config", "architecture name",
get_roles=all_roles, set_roles=tech_roles, expose_in_api=True)
-# define the dummynet connection to a node
-define_accessors(current_module, Node, "Dummynet", "dummynet", "node/config",
- "dummynet box connected to the node", get_roles=all_roles, set_roles="pi")
# distribution to be deployed
define_accessors(current_module, Node, "Pldistro", "pldistro",
"node/config", "PlanetLab distribution",
# 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",
get_roles=all_roles, set_roles=tech_roles)
+# the tags considered when creating a boot CD
+define_accessor(current_module, Node, "Serial", "serial",
+ "node/bootcd", "serial to use when creating the boot CD -- see GetBootMedium")
+define_accessor(current_module, Node, "Cramfs", "cramfs",
+ "node/bootcd", "boot CD to use cramfs if set -- see GetBootMedium")
+define_accessor(current_module, Node, "Kvariant", "kvariant",
+ "node/bootcd", "the variant to use for creating the boot CD -- see GetBootMedium")
+define_accessor(current_module, Node, "Kargs", "kargs",
+ "node/bootcd", "extra args to pass the kernel on the Boot CD -- see GetBootMedium")
+define_accessor(current_module, Node, "NoHangcheck", "no-hangcheck",
+ "node/bootcd", "disable hangcheck on the boot CD if set -- see GetBootMedium")
+
# interface
# xxx - don't expose yet in api interface and slices dont know how to use that yet
define_accessors(current_module, Interface, "Ifname", "ifname",