When adding a new remote node into configuration database,
initialize additional default properties:
"excluded": false
"security": "secure"
"configComplete": false
Signed-off-by: Anuj Jain <anuj01.jain@samsung.com>
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
if (!add_u8_16(jnode, "UUID", uuid))
goto fail;
+
+ if (!add_string(jnode, "security", "secure"))
+ goto fail;
+
+ if (!write_bool(jnode, "excluded", false))
+ goto fail;
+
+ if (!write_bool(jnode, "configComplete", false))
+ goto fail;
+
jelements = init_elements(num_els);
+
json_object_object_add(jnode, "elements", jelements);
jnetkeys = json_object_new_array();