12 #ifndef _H_sil_sa_types 13 #define _H_sil_sa_types 39 #include <xmlstring.h> 61 #ifndef _H_status_enum 104 typedef enum sil_sa_state_t_ {
140 typedef struct sil_sa_bundle_t_ {
156 dlq_hdr_t bundle_modQ;
167 typedef struct sil_sa_cb_t_ {
249 dlq_hdr_t library_parmQ;
252 dlq_hdr_t bundle_unloadQ;
260 dlq_hdr_t added_editQ;
281 typedef struct sil_sa_child_edit_t_ {
297 typedef struct sil_sa_edit_t_ {
334 dlq_hdr_t child_editQ;
342 typedef struct sil_sa_added_edit_t_ {
val_value_t * curval
current value for edit; backptr into start_request msg
Definition: sil_sa_types.h:314
uint64 ncx_transaction_id_t
transaction is scoped to single session write operation on a config
Definition: ncxtypes.h:700
waiting for a Get-Data Hook response from the server, interrupting an edit transaction ...
Definition: sil_sa_types.h:135
boolean sil_load_done
SIL-SA library load is done.
Definition: sil_sa_types.h:181
SIL-SA serivice is starting up.
Definition: sil_sa_types.h:109
const xmlChar * client_addr
client address backptr from the transaction
Definition: sil_sa_types.h:225
dlq provides general double-linked list and queue support:
not set
Definition: sil_sa_types.h:106
boolean apply_done
apply phase done
Definition: sil_sa_types.h:323
val_value_t * keysval
keys value for edit; backptr into start_request msg
Definition: sil_sa_types.h:317
obj_template_t * cbobj
child object for callback; backptr to callback object
Definition: sil_sa_types.h:320
SIL-SA service in some error state.
Definition: sil_sa_types.h:115
op_editop_t editop
child edit operation
Definition: sil_sa_types.h:286
NETCONF Server and Client RPC Request/Reply Message Header.
Definition: rpc.h:181
rpc_msg_t * rpc_msg
dummy msg used for SIL-SA callback functions
Definition: sil_sa_types.h:219
sil_sa_state_t state
SIL-SA module state.
Definition: sil_sa_types.h:178
status_t error_edit_res
edit entry failure status
Definition: sil_sa_types.h:240
agt_hook_type_t hook_type
hook type if a hook edit
Definition: sil_sa_types.h:329
sil_sa_state_t
SIL-SA state machine enumerations.
Definition: sil_sa_types.h:104
val_value_t * hook_get_value
<hook-get-response> return value
Definition: sil_sa_types.h:272
One YANG data-def-stmt.
Definition: obj.h:1140
const xmlChar * where
edit operation insert_where parameter
Definition: sil_sa_types.h:356
boolean init2_done
init2 phase has been done.
Definition: sil_sa_types.h:187
op_editop_t editop
added edit operation
Definition: sil_sa_types.h:305
val_value_t * start_request
cached <start-transaction> message body
Definition: sil_sa_types.h:198
edit transaction started and is waiting for apply phase
Definition: sil_sa_types.h:127
SIL-SA service is stopped.
Definition: sil_sa_types.h:112
val_value_t * curval
child current value; backptr into start_request msg
Definition: sil_sa_types.h:292
val_value_t * newval
child new value; backptr into start_request msg
Definition: sil_sa_types.h:289
representation of one module or submodule during and after parsing
Definition: ncxtypes.h:1052
val_value_t * payload
cached <payload> element for use in request messages
Definition: sil_sa_types.h:175
const xmlChar * error_edit_str
edit string for error
Definition: sil_sa_types.h:243
boolean need_replay
SIL-SA library needs to trigger a config replay from the server.
Definition: sil_sa_types.h:184
Value Node Basic Support.
SIL-SA added edit data structure.
Definition: sil_sa_types.h:297
obj_template_t * cbobj
callback object template
Definition: sil_sa_types.h:365
const xmlChar * editop
edit operation string
Definition: sil_sa_types.h:353
boolean skipcb
edit operation skip_cb parameter
Definition: sil_sa_types.h:362
connection to server starting with register request
Definition: sil_sa_types.h:121
const xmlChar * point
edit operation insert_point parameter
Definition: sil_sa_types.h:359
boolean is_load_config
transaction is an internal <load-config>
Definition: sil_sa_types.h:210
uint32 msgid
request msgid that is expected in the response
Definition: sil_sa_types.h:190
YANG module data structures Many internal representations of YANG module constructs.
boolean load_event_done
make sure the bundle-load-event is only sent once for this bundle
Definition: sil_sa_types.h:161
const xmlChar * user_id
user-id backptr from the transaction
Definition: sil_sa_types.h:222
val_value_t * editval
edit value
Definition: sil_sa_types.h:350
op_editop_t
NETCONF edit-config operation types.
Definition: op.h:122
ncx_module_t * mod
yumaworks-sil-sa YANG module
Definition: sil_sa_types.h:169
const xmlChar * path
path string for added edit
Definition: sil_sa_types.h:308
edit transaction in progress and is waiting for commit phase
Definition: sil_sa_types.h:130
struct sil_sa_edit_t_ * cur_edit
edit-id maintained during the callback
Definition: sil_sa_types.h:216
const xmlChar * path
path for the edit
Definition: sil_sa_types.h:347
one value to match one type
Definition: val.h:870
control block for the SIL-SA module
Definition: sil_sa_types.h:167
val_value_t * config_response
cached <config-response> message body; list of modules/bundles to load
Definition: sil_sa_types.h:195
boolean is_hook_load
SIL-SA Hook support.
Definition: sil_sa_types.h:263
obj_template_t * obj
<sil-sa> object within the /ycontrol/payload object
Definition: sil_sa_types.h:172
status_t
global error return code
Definition: status_enum.h:186
one bundle unload record in case <unload-bundle> called
Definition: sil_sa_types.h:140
Multi-Protocol Network Management Server.
uint32 error_edit_index
saved by the sil_call_edit_phase code if an error occurs with a specific edit.
Definition: sil_sa_types.h:237
SIL-SA is idle ready for requests.
Definition: sil_sa_types.h:124
NETCONF protocol remote procedure call common definitions.
uint32 edit_index
key leaf for edit list
Definition: sil_sa_types.h:302
xmlChar * bundle_name
malloced copy of the bundle name This replaces the sil_sa_cb.bundle_nameQ
Definition: sil_sa_types.h:147
boolean is_validate
transaction is a <validate> operation
Definition: sil_sa_types.h:204
boolean hook_edit
this is a hook edit flag
Definition: sil_sa_types.h:326
const xmlChar * target
datastore target backptr from the transaction
Definition: sil_sa_types.h:228
connection to server in progress, waiting for the configuration
Definition: sil_sa_types.h:118
boolean is_hook_validate
Not the same as is_validate.
Definition: sil_sa_types.h:269
ncx_transaction_id_t txid
transaction ID derived from start_request
Definition: sil_sa_types.h:201
boolean is_reverse_edit
transaction is a reverse-edit during rollback
Definition: sil_sa_types.h:207
val_value_t * newval
new value for edit; backptr into start_request msg
Definition: sil_sa_types.h:311
Hook added edits that will be used in the hook-respose msg Saved from the sil_sa_hook_add_edit functi...
Definition: sil_sa_types.h:342
val_value_t * keys_val
backptr to the <keys> container passed in an <action-request>
Definition: sil_sa_types.h:255
EDIT2 children Queue Supports EDIT2 callbacks where child edits for the same parent container or list...
Definition: sil_sa_types.h:281
const xmlChar * txid_str
transaction ID from the transaction
Definition: sil_sa_types.h:231
global error status code enumerations
agt_hook_type_t
Hook types enumeration to specify Hook type.
Definition: agt.h:716