Interface: CompareEdit
Defined in: netconf/src/operations/compare.ts:90
One difference.
Extends
Properties
editId
readonly editId: string;Defined in: netconf/src/operations/yang-patch.ts:14
The edit's identifier, unique within the patch.
Inherited from
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.
Inherited from
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.
Inherited from
sourceValue
readonly sourceValue: readonly XmlElement[];Defined in: netconf/src/operations/compare.ts:96
The node as it is in the source, for replace, delete, remove, merge and move edits. Empty when the server sent none (Clixon sends the removed node of a delete in value instead).
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).
Inherited from
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).
Inherited from
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.