YANG module ietf-netconf-monitoring implementation.
More...
|
#define | AGT_STATE_MODULE (const xmlChar *)"ietf-netconf-monitoring" |
| module name
|
|
YANG module ietf-netconf-monitoring implementation.
Fully supported RFC 6022 SIL code.
◆ agt_state_add_backup_file()
status_t agt_state_add_backup_file |
( |
const xmlChar * |
filename, |
|
|
boolean |
overwrite |
|
) |
| |
Add a backup-file entry to the netconf-state DM for the.
- Parameters
-
filename | name of the backup file to add. |
YPW-1743: Backup-time of files is not updated for backup taken with "overwrite=true"
- Parameters
-
overwrite | TRUE if need to overwrite the value
FALSE if do not overwrite |
- Returns
- status
◆ agt_state_add_module_schema()
Add a schema entry to the netconf-state DM.
- Parameters
-
- Returns
- status
◆ agt_state_add_netconf_schema()
status_t agt_state_add_netconf_schema |
( |
void |
| ) |
|
Add a schema entry to the netconf-state DM for ietf-netconf.
- Returns
- status
◆ agt_state_add_session()
Add a session entry to the netconf-state DM.
- Parameters
-
scb | session control block to use for the info |
- Returns
- status
◆ agt_state_cleanup()
void agt_state_cleanup |
( |
void |
| ) |
|
Cleanup the module data structures.
Called by the server during shutdown.
◆ agt_state_delete_backup_file()
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.
- Parameters
-
filename | name of the backup file to delete |
◆ agt_state_get_capabilities()
Get a const back pointer to current /netconf-state/capabilities.
- Returns
- pointer to the <capabilities> value (use as const!)
◆ agt_state_get_datastores()
Get a const back pointer to current /netconf-state/datastores.
- Returns
- pointer to the <datastores> value (use as const!)
◆ agt_state_get_sessions()
Get a const back pointer to current /etconf-state/sessions tree.
- Returns
- pointer to the <sessions> value (use as const!)
◆ agt_state_get_statistics()
Get a const back pointer to current /netconf-state/statistics tree.
- Returns
- const pointer to the <statistics> value
◆ agt_state_init()
INIT 1: Initialize the server state monitor module data structures.
- Returns
- status
◆ agt_state_init2()
INIT 2: Initialize the monitoring data structures This must be done after the <running> config is loaded.
- Returns
- status
◆ agt_state_refresh_backup_dir()
Check the backup directory and re-generate the YANG operational data for the netconf-state/backups container.
- Parameters
-
scb | session control block requesting this refresh |
- Returns
- status; NO_ERR if done OK; ERR_NCX_SKIPPED if not enabled
◆ agt_state_remove_module_schema()
Remove a schema entry from the netconf-state DM.
- Parameters
-
◆ agt_state_remove_session()
void agt_state_remove_session |
( |
ses_cb_t * |
scb | ) |
|
Remove a session entry from the netconf-state DM.
- Parameters
-
scb | session control block to delete |