yumapro  24.10-2
YumaPro SDK
Loading...
Searching...
No Matches
IETF Notifications

NETCONF base notifications. More...

Collaboration diagram for IETF Notifications:

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...
 

Detailed Description

NETCONF base notifications.

Implementation of ietf-netconf-notifications.yang

Function Documentation

◆ y_ietf_netconf_notifications_cleanup()

void y_ietf_netconf_notifications_cleanup ( void  )

cleanup the server instrumentation library

Called by the server during shutdown.

◆ y_ietf_netconf_notifications_init()

status_t y_ietf_netconf_notifications_init ( void  )

initialize the ietf-netconf-notifications server instrumentation library

Returns
error status
Here is the call graph for this function:
Here is the caller graph for this function:

◆ y_ietf_netconf_notifications_init2()

status_t y_ietf_netconf_notifications_init2 ( void  )

SIL init phase 2: non-config data structures.

Called after running config is loaded

Returns
error status

◆ y_ietf_netconf_notifications_netconf_capability_change_send()

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

Parameters
usernameuser making the capability change
session_idsession making the capability change
source_hostclient address of session
cap_changecapability change enum
capstrcapability URI to report in event
Here is the call graph for this function:
Here is the caller graph for this function:

◆ y_ietf_netconf_notifications_netconf_config_change_send()

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.

Parameters
usernameuser making the config change
session_idsession making the config change
source_hostclient address of session
datastoredatastore for config change
auditrecQadd config change audit records to this queue
Here is the call graph for this function:
Here is the caller graph for this function:

◆ y_ietf_netconf_notifications_netconf_confirmed_commit_send()

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

Parameters
usernameuser doing confirm-commit
session_idsession ID doing confirm-commit
source_hostclient address of session
confirm_eventconfirm commit event name
eventenumeration for event
timeouttimeout value if timeout happened
Here is the call graph for this function:
Here is the caller graph for this function:

◆ y_ietf_netconf_notifications_netconf_session_end_send()

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

Parameters
usernameuser ending the session
session_idsession ID ending
source_hostclient address of session
killed_bysession ID that called kill-session (if any)
termination_reasonstring to use in event
Here is the call graph for this function:
Here is the caller graph for this function:

◆ y_ietf_netconf_notifications_netconf_session_start_send()

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

Parameters
usernameuser starting the session
session_idsession ID getting started
source_hostclient address of session
Here is the call graph for this function:
Here is the caller graph for this function: