diff options
| author | Igor Ryzhov <iryzhov@nfware.com> | 2023-10-09 03:21:16 +0300 | 
|---|---|---|
| committer | Igor Ryzhov <iryzhov@nfware.com> | 2024-01-11 15:06:53 +0200 | 
| commit | d726114790464831b1d377eb3acc05c2933e3cd8 (patch) | |
| tree | f23c3e1eaf654359d0bf28722eae92fcf5544f97 /lib/mgmt.proto | |
| parent | fe0d4dc2cb8fdf63524d92ab364157904327eb29 (diff) | |
mgmt, lib: implement REPLACE operation
Replace operation removes the current data node configuration and sets
the provided value. As current northbound code works only with one
xpath at a time, the operation only makes sense to clear the config of
a container without deleting it itself. However, the next step is to
allow passing JSON-encoded complex values to northbound operations which
will make replace operation much more useful.
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
Diffstat (limited to 'lib/mgmt.proto')
| -rw-r--r-- | lib/mgmt.proto | 1 | 
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/mgmt.proto b/lib/mgmt.proto index e0b6019d2b..5d83fca347 100644 --- a/lib/mgmt.proto +++ b/lib/mgmt.proto @@ -58,6 +58,7 @@ enum CfgDataReqType {    REMOVE_DATA = 2;    CREATE_DATA = 3;    DELETE_DATA = 4; +  REPLACE_DATA = 5;  }  message YangCfgDataReq {  | 
