Interface: PatchEdit
Defined in: netconf/src/operations/yang-patch.ts:12
One YANG Patch edit (RFC 8072 §2.2).
Extended by
Properties
editId
readonly editId: string;Defined in: netconf/src/operations/yang-patch.ts:14
The edit's identifier, unique within the patch.
operation
readonly operation: string;Defined in: netconf/src/operations/yang-patch.ts:16
The YANG Patch operation: create, delete, insert, merge, move, replace or remove.
point?
readonly point?: string;Defined in: netconf/src/operations/yang-patch.ts:26
For insert and move: the list entry the target is placed before or after.
target
readonly target: string;Defined in: netconf/src/operations/yang-patch.ts:24
The edited node, as the server wrote it. Its syntax and root vary by server: netopeer2 sends a YANG path with list keys as predicates (/ietf-interfaces:interfaces/interface[name='eth0']), which parsePath() from @node-net/netconf reads; Clixon sends RESTCONF style (/clixon-example:table/parameter=a).
value
readonly value: readonly XmlElement[];Defined in: netconf/src/operations/yang-patch.ts:30
The elements inside <value> (empty when there is none, as for delete and remove).
where?
readonly where?: string;Defined in: netconf/src/operations/yang-patch.ts:28
For insert and move: where the target goes, before, after, first or last.