+ log_error("lyd_new_path failed\n");
+ return SR_ERR_OPERATION_FAILED;
+ }
+
+ return SR_ERR_OK;
+}
+
+static int network_function_started_features_get_items_cb(sr_session_ctx_t *session, const char *module_name, const char *xpath, const char *request_xpath, uint32_t request_id, struct lyd_node **parent, void *private_data) {
+ char value[1024];
+ value[0] = 0;
+
+ if(ves_file_ready_feature_get_status()) {
+ strcat(value, "ves-file-ready ");
+ }
+
+ if(ves_pnf_registration_feature_get_status()) {
+ strcat(value, "ves-pnf-registration ");
+ }
+
+ if(ves_heartbeat_feature_get_status()) {
+ strcat(value, "ves-heartbeat ");
+ }
+
+ if(manual_notification_feature_get_status()) {
+ strcat(value, "manual-notification-generation ");
+ }
+
+ if(netconf_call_home_feature_get_status()) {
+ strcat(value, "netconf-call-home ");
+ }
+
+ if(web_cut_through_feature_get_status()) {
+ strcat(value, "web-cut-through ");
+ }
+
+ if(strlen(value)) {
+ value[strlen(value) - 1] = 0;
+ }
+
+ *parent = lyd_new_path(NULL, sr_get_context(sr_session_get_connection(session)), STARTED_FEATURES_LIST_SCHEMA_XPATH, value, 0, 0);
+ if(*parent == 0) {
+ log_error("lyd_new_path failed\n");