yumapro  24.10-2
YumaPro SDK
Loading...
Searching...
No Matches
op.h File Reference

NETCONF protocol operations. More...

#include <xmlstring.h>
Include dependency graph for op.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  op_filter_t
 NETCONF protocol operation filter spec. More...
 

Enumerations

enum  op_method_t {
  OP_NO_METHOD ,
  OP_GET_CONFIG ,
  OP_EDIT_CONFIG ,
  OP_COPY_CONFIG ,
  OP_DELETE_CONFIG ,
  OP_LOCK ,
  OP_UNLOCK ,
  OP_GET ,
  OP_CLOSE_SESSION ,
  OP_KILL_SESSION ,
  OP_COMMIT ,
  OP_DISCARD_CHANGES ,
  OP_VALIDATE ,
  OP_CANCEL_COMMIT
}
 NETCONF protocol operation enumeration is actually an RPC method in the NECONF namespace This is not really used anymore! More...
 
enum  op_srctyp_t {
  OP_SOURCE_NONE ,
  OP_SOURCE_CONFIG ,
  OP_SOURCE_INLINE ,
  OP_SOURCE_URL
}
 NETCONF protocol operation PDU source types. More...
 
enum  op_targtyp_t {
  OP_TARGET_NONE ,
  OP_TARGET_CONFIG ,
  OP_TARGET_URL
}
 NETCONF protocol operation PDU target types. More...
 
enum  op_defop_t {
  OP_DEFOP_NOT_SET ,
  OP_DEFOP_NONE ,
  OP_DEFOP_MERGE ,
  OP_DEFOP_REPLACE ,
  OP_DEFOP_NOT_USED
}
 NETCONF protocol default edit-config operation types. More...
 
enum  op_filtertyp_t {
  OP_FILTER_NONE ,
  OP_FILTER_SUBTREE ,
  OP_FILTER_XPATH
}
 NETCONF protocol operation PDU filter types. More...
 
enum  op_editop_t {
  OP_EDITOP_NONE ,
  OP_EDITOP_MERGE ,
  OP_EDITOP_REPLACE ,
  OP_EDITOP_CREATE ,
  OP_EDITOP_DELETE ,
  OP_EDITOP_LOAD ,
  OP_EDITOP_COMMIT ,
  OP_EDITOP_REMOVE ,
  OP_EDITOP_DELETE_ALL ,
  OP_EDITOP_REMOVE_ALL
}
 NETCONF edit-config operation types. More...
 
enum  op_insertop_t {
  OP_INSOP_NONE ,
  OP_INSOP_FIRST ,
  OP_INSOP_LAST ,
  OP_INSOP_BEFORE ,
  OP_INSOP_AFTER
}
 YANG insert operation types. More...
 
enum  op_t {
  OP_NONE ,
  OP_MERGE ,
  OP_REPLACE ,
  OP_CREATE ,
  OP_DELETE ,
  OP_LOAD ,
  OP_NOTIFY ,
  OP_READ
}
 NETCONF full operation list for access control. More...
 
enum  op_testop_t {
  OP_TESTOP_NONE ,
  OP_TESTOP_TESTTHENSET ,
  OP_TESTOP_SET ,
  OP_TESTOP_TESTONLY
}
 NETCONF edit-config test-option types. More...
 
enum  op_errop_t {
  OP_ERROP_NONE ,
  OP_ERROP_STOP ,
  OP_ERROP_CONTINUE ,
  OP_ERROP_ROLLBACK
}
 NETCONF edit-config error-option types. More...
 

Functions

const xmlChar * op_method_name (op_method_t op_id)
 Get the keyword for the specified STD RPC method. More...
 
const xmlChar * op_editop_name (op_editop_t ed_id)
 Get the keyword for the specified op_editop_t enumeration. More...
 
op_editop_t op_editop_id (const xmlChar *opstr)
 Get the ID for the editop from its keyword. More...
 
const xmlChar * op_insertop_name (op_insertop_t ins_id)
 Get the keyword for the specified op_insertop_t enumeration. More...
 
op_insertop_t op_insertop_id (const xmlChar *opstr)
 Get the ID for the insert operation from its keyword. More...
 
op_filtertyp_t op_filtertyp_id (const xmlChar *filstr)
 Get the ID for the filter type from its keyword. More...
 
const xmlChar * op_defop_name (op_defop_t def_id)
 Get the keyword for the specified op_defop_t enumeration. More...
 
op_editop_t op_defop_id (const xmlChar *defstr)
 Get the ID for the default-operation from its keyword. More...
 
const xmlChar * op_testop_name (op_testop_t test_id)
 Get the keyword for the specified op_testop_t enumeration. More...
 
op_testop_t op_testop_enum (const xmlChar *teststr)
 Get the enum for the specified op_testop_t string. More...
 
const xmlChar * op_errop_name (op_errop_t err_id)
 Get the keyword for the specified op_errop_t enumeration. More...
 
op_errop_t op_errop_id (const xmlChar *errstr)
 Get the ID for the error-option from its keyword. More...
 
op_defop_t op_defop_id2 (const xmlChar *defstr)
 Get the ID for the default-operation from its keyword Return the op_defop_t, not the op_editop_t conversion. More...
 
boolean op_editop_is_delete (op_editop_t ed_id)
 Check if the editop is some sort of delete. More...
 

Detailed Description

NETCONF protocol operations.