yumapro
24.10-1
YumaPro SDK
|
NETCONF base notifications. More...
Functions | |
void | y_ietf_netconf_notifications_netconf_config_change_send (const xmlChar *username, uint32 session_id, const xmlChar *source_host, const xmlChar *datastore, dlq_hdr_t *auditrecQ) |
Send a y_ietf_netconf_notifications_netconf_config_change notification Called by your code when notification event occurs. More... | |
void | y_ietf_netconf_notifications_netconf_capability_change_send (const xmlChar *username, uint32 session_id, const xmlChar *source_host, cap_change_t cap_change, const xmlChar *capstr) |
Send a y_ietf_netconf_notifications_netconf_capability_change notification. More... | |
void | y_ietf_netconf_notifications_netconf_session_start_send (const xmlChar *username, uint32 session_id, const xmlChar *source_host) |
Send a y_ietf_netconf_notifications_netconf_session_start notification. More... | |
void | y_ietf_netconf_notifications_netconf_session_end_send (const xmlChar *username, uint32 session_id, const xmlChar *source_host, uint32 killed_by, const xmlChar *termination_reason) |
Send a y_ietf_netconf_notifications_netconf_session_end notification. More... | |
void | y_ietf_netconf_notifications_netconf_confirmed_commit_send (const xmlChar *username, uint32 session_id, const xmlChar *source_host, const xmlChar *confirm_event, ncx_confirm_event_t event, uint32 timeout) |
Send a y_ietf_netconf_notifications_netconf_confirmed_commit notification. More... | |
status_t | y_ietf_netconf_notifications_init (void) |
initialize the ietf-netconf-notifications server instrumentation library More... | |
status_t | y_ietf_netconf_notifications_init2 (void) |
SIL init phase 2: non-config data structures. More... | |
void | y_ietf_netconf_notifications_cleanup (void) |
cleanup the server instrumentation library More... | |
NETCONF base notifications.
Implementation of ietf-netconf-notifications.yang
void y_ietf_netconf_notifications_cleanup | ( | void | ) |
cleanup the server instrumentation library
Called by the server during shutdown.
status_t y_ietf_netconf_notifications_init | ( | void | ) |
initialize the ietf-netconf-notifications server instrumentation library
status_t y_ietf_netconf_notifications_init2 | ( | void | ) |
SIL init phase 2: non-config data structures.
Called after running config is loaded
void y_ietf_netconf_notifications_netconf_capability_change_send | ( | const xmlChar * | username, |
uint32 | session_id, | ||
const xmlChar * | source_host, | ||
cap_change_t | cap_change, | ||
const xmlChar * | capstr | ||
) |
Send a y_ietf_netconf_notifications_netconf_capability_change notification.
Called by your code when notification event occurs
username | user making the capability change |
session_id | session making the capability change |
source_host | client address of session |
cap_change | capability change enum |
capstr | capability URI to report in event |
void y_ietf_netconf_notifications_netconf_config_change_send | ( | const xmlChar * | username, |
uint32 | session_id, | ||
const xmlChar * | source_host, | ||
const xmlChar * | datastore, | ||
dlq_hdr_t * | auditrecQ | ||
) |
Send a y_ietf_netconf_notifications_netconf_config_change notification Called by your code when notification event occurs.
username | user making the config change |
session_id | session making the config change |
source_host | client address of session |
datastore | datastore for config change |
auditrecQ | add config change audit records to this queue |
void y_ietf_netconf_notifications_netconf_confirmed_commit_send | ( | const xmlChar * | username, |
uint32 | session_id, | ||
const xmlChar * | source_host, | ||
const xmlChar * | confirm_event, | ||
ncx_confirm_event_t | event, | ||
uint32 | timeout | ||
) |
Send a y_ietf_netconf_notifications_netconf_confirmed_commit notification.
Called by your code when notification event occurs
username | user doing confirm-commit |
session_id | session ID doing confirm-commit |
source_host | client address of session |
confirm_event | confirm commit event name |
event | enumeration for event |
timeout | timeout value if timeout happened |
void y_ietf_netconf_notifications_netconf_session_end_send | ( | const xmlChar * | username, |
uint32 | session_id, | ||
const xmlChar * | source_host, | ||
uint32 | killed_by, | ||
const xmlChar * | termination_reason | ||
) |
Send a y_ietf_netconf_notifications_netconf_session_end notification.
Called by your code when notification event occurs
username | user ending the session |
session_id | session ID ending |
source_host | client address of session |
killed_by | session ID that called kill-session (if any) |
termination_reason | string to use in event |
void y_ietf_netconf_notifications_netconf_session_start_send | ( | const xmlChar * | username, |
uint32 | session_id, | ||
const xmlChar * | source_host | ||
) |
Send a y_ietf_netconf_notifications_netconf_session_start notification.
Called by your code when notification event occurs
username | user starting the session |
session_id | session ID getting started |
source_host | client address of session |