libyang 3.7.8
libyang is YANG data modelling language parser and toolkit written (and providing API) in C.
Loading...
Searching...
No Matches
Data operation type
Collaboration diagram for Data operation type:

Enumerations

enum  lyd_type {
  LYD_TYPE_DATA_YANG = 0 , LYD_TYPE_RPC_YANG , LYD_TYPE_NOTIF_YANG , LYD_TYPE_REPLY_YANG ,
  LYD_TYPE_RPC_NETCONF , LYD_TYPE_NOTIF_NETCONF , LYD_TYPE_REPLY_NETCONF , LYD_TYPE_RPC_RESTCONF ,
  LYD_TYPE_NOTIF_RESTCONF , LYD_TYPE_REPLY_RESTCONF
}
 

Detailed Description

Operation provided to lyd_validate_op() to validate.

The operation cannot be determined automatically since RPC/action and a reply to it share the common top level node referencing the RPC/action schema node and may not have any input/output children to use for distinction.

Enumeration Type Documentation

◆ lyd_type

enum lyd_type
Enumerator
LYD_TYPE_DATA_YANG 

generic YANG instance data

LYD_TYPE_RPC_YANG 

instance of a YANG RPC/action request with only "input" data children, including all parents and optional top-level "action" element in case of an action

LYD_TYPE_NOTIF_YANG 

instance of a YANG notification, including all parents in case of a nested one

LYD_TYPE_REPLY_YANG 

instance of a YANG RPC/action reply with only "output" data children, including all parents in case of an action

LYD_TYPE_RPC_NETCONF 

complete NETCONF RPC invocation as defined for RPC and action

LYD_TYPE_NOTIF_NETCONF 

complete NETCONF notification message as defined for notification

LYD_TYPE_REPLY_NETCONF 

complete NETCONF RPC reply as defined for RPC and action

LYD_TYPE_RPC_RESTCONF 

message-body of a RESTCONF operation input parameters (ref)

LYD_TYPE_NOTIF_RESTCONF 

RESTCONF JSON notification data (ref), to parse a notification in XML, use LYD_TYPE_NOTIF_NETCONF

LYD_TYPE_REPLY_RESTCONF 

message-body of a RESTCONF operation output parameters (ref)

Definition at line 334 of file parser_data.h.