-define_accessors(current_module, Node, "PlainBoostrapfs", "plain-bootstrapfs", "node/config", "use uncompressed bootstrapfs when set",
- get_roles=all_roles, set_roles=['admin','pi','tech']
-
-# interface accessors
-define_accessors(current_module, Interface, "Ifname", "ifname", "interface/config", "linux name",
- get_roles=all_roles, set_roles=tech_roles)
-define_accessors(current_module, Interface, "Driver", "driver", "interface/config", "driver name",
- get_roles=all_roles, set_roles=tech_roles)
-define_accessors(current_module, Interface, "Alias", "alias", "interface/config", "interface alias",
- get_roles=all_roles, set_roles=tech_roles)
+define_accessors(current_module, Node, "PlainBootstrapfs", "plain-bootstrapfs",
+ "node/config", "use uncompressed bootstrapfs when set",
+ set_roles=tech_roles)
+
+# the tags considered when creating a boot CD
+define_accessors(current_module, Node, "Serial", "serial",
+ "node/bootcd", "serial to use when creating the boot CD -- see GetBootMedium",
+ set_roles=tech_roles)
+define_accessors(current_module, Node, "Cramfs", "cramfs",
+ "node/bootcd", "boot CD to use cramfs if set -- see GetBootMedium",
+ set_roles=tech_roles)
+define_accessors(current_module, Node, "Kvariant", "kvariant",
+ "node/bootcd", "the variant to use for creating the boot CD -- see GetBootMedium",
+ set_roles=tech_roles)
+define_accessors(current_module, Node, "Kargs", "kargs",
+ "node/bootcd", "extra args to pass the kernel on the Boot CD -- see GetBootMedium",
+ set_roles=tech_roles)
+define_accessors(current_module, Node, "NoHangcheck", "no-hangcheck",
+ "node/bootcd", "disable hangcheck on the boot CD if set -- see GetBootMedium",
+ set_roles=tech_roles)
+
+# 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",
+ "interface/config", "linux name",
+ set_roles=tech_roles, expose_in_api=True)
+define_accessors(current_module, Interface, "Driver", "driver",
+ "interface/config", "driver name",
+ set_roles=tech_roles)
+define_accessors(current_module, Interface, "Alias", "alias",
+ "interface/config", "interface alias",
+ set_roles=tech_roles)
+define_accessors(current_module, Interface, "Backdoor", "backdoor",
+ "interface/hidden", "For testing new settings",
+ set_roles=admin_roles)