+ splay_tree_t *config_tree;
+ char *p;
+
+ init_configuration(&config_tree);
+
+ if(!read_host_config(mesh, config_tree, n->name)) {
+ goto exit;
+ }
+
+ if(get_config_string(lookup_config(config_tree, "SubMesh"), &p)) {
+ n->submesh = NULL;
+
+ for list_each(submesh_t, s, mesh->submeshes) {
+ if(!strcmp(p, s->name)) {
+ n->submesh = s;
+ break;
+ }
+ }
+
+ if(!n->submesh) {
+ n->submesh = (submesh_t *)meshlink_submesh_open(mesh, p);
+ }
+
+ free(p);
+ }
+
+exit:
+ exit_configuration(&config_tree);
+ return n->submesh != NULL;
+}
+
+bool node_read_blacklist_status(meshlink_handle_t *mesh, node_t *n) {
+
+ splay_tree_t *config_tree;
+ bool blacklist_status;
+
+ init_configuration(&config_tree);
+
+ if(!read_host_config(mesh, config_tree, n->name)) {
+ goto exit;
+ }
+
+ if(get_config_bool(lookup_config(config_tree, "blacklisted"), &blacklist_status)) {
+ n->status.blacklisted = blacklist_status;
+ }
+
+exit:
+ exit_configuration(&config_tree);
+ return n->status.blacklisted;
+}
+
+bool node_write_devclass(meshlink_handle_t *mesh, node_t *n) {
+
+ if((int)n->devclass < 0 || n->devclass > _DEV_CLASS_MAX) {