Added basic rfc8527 support
Added basic rfc8527 support, but without support for: * ds:operational * with-origin * clixon/test/test_rfc8527_*.sh The current level of rfc8527 support is intended to allow commit operations on the 'candidate' datastore without rewriting the 'startup' datastore.
This commit is contained in:
parent
a1f54d71ac
commit
cd45f277ef
9 changed files with 152 additions and 47 deletions
|
|
@ -56,6 +56,18 @@ enum restconf_media{
|
|||
};
|
||||
typedef enum restconf_media restconf_media;
|
||||
|
||||
/* @See https://tools.ietf.org/html/rfc8342, ietf-datastores@2018-02-14.yang */
|
||||
enum ietf_ds {
|
||||
IETF_DS_NONE = 0,
|
||||
IETF_DS_RUNNING,
|
||||
IETF_DS_CANDIDATE,
|
||||
IETF_DS_STARTUP,
|
||||
IETF_DS_INTENDED,
|
||||
IETF_DS_DYNAMIC,
|
||||
IETF_DS_OPERATIONAL
|
||||
};
|
||||
typedef enum ietf_ds ietf_ds_t;
|
||||
|
||||
/*
|
||||
* Prototypes
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue