yumapro  24.10-2
YumaPro SDK
Loading...
Searching...
No Matches
agt_state.h File Reference

NETCONF State Monitoring Data Model Module support. More...

#include <xmlstring.h>
#include "agt_not.h"
#include "ncxtypes.h"
#include "ses.h"
#include "status.h"
Include dependency graph for agt_state.h:

Go to the source code of this file.

Macros

#define AGT_STATE_MODULE   (const xmlChar *)"ietf-netconf-monitoring"
 module name
 

Functions

status_t agt_state_init (void)
 INIT 1: Initialize the server state monitor module data structures. More...
 
status_t agt_state_init2 (void)
 INIT 2: Initialize the monitoring data structures This must be done after the <running> config is loaded. More...
 
void agt_state_cleanup (void)
 Cleanup the module data structures. More...
 
status_t agt_state_add_session (ses_cb_t *scb)
 Add a session entry to the netconf-state DM. More...
 
void agt_state_remove_session (ses_cb_t *scb)
 Remove a session entry from the netconf-state DM. More...
 
status_t agt_state_add_module_schema (ncx_module_t *mod)
 Add a schema entry to the netconf-state DM. More...
 
void agt_state_remove_module_schema (ncx_module_t *mod)
 Remove a schema entry from the netconf-state DM. More...
 
status_t agt_state_add_netconf_schema (void)
 Add a schema entry to the netconf-state DM for ietf-netconf. More...
 
status_t agt_state_add_backup_file (const xmlChar *filename, boolean overwrite)
 Add a backup-file entry to the netconf-state DM for the. More...
 
void agt_state_delete_backup_file (const xmlChar *filename)
 Remove and delete a backup-file entry to the netconf-state DM for the specified file. More...
 
val_value_tagt_state_get_sessions (void)
 Get a const back pointer to current /etconf-state/sessions tree. More...
 
const val_value_tagt_state_get_statistics (void)
 Get a const back pointer to current /netconf-state/statistics tree. More...
 
val_value_tagt_state_get_capabilities (void)
 Get a const back pointer to current /netconf-state/capabilities. More...
 
val_value_tagt_state_get_datastores (void)
 Get a const back pointer to current /netconf-state/datastores. More...
 
status_t agt_state_refresh_backup_dir (ses_cb_t *scb)
 Check the backup directory and re-generate the YANG operational data for the netconf-state/backups container. More...
 

Detailed Description

NETCONF State Monitoring Data Model Module support.