Interface: DatastoreChange
Defined in: netconf/src/operations/transaction.ts:198
One difference between two configuration datastores (client.content.compareDatastores()): a change that turns the source into the target.
Properties
operation
readonly operation: "replace" | "create" | "delete" | "move";Defined in: netconf/src/operations/transaction.ts:205
create: the node is only in the target. delete: only in the source. replace: a leaf's value (or anydata's content) changed. move: an entry of an ordered-by-user list or leaf-list is in both, in a different place. Nothing inside a created or deleted node is listed separately.
path
readonly path: string;Defined in: netconf/src/operations/transaction.ts:207
The node's RFC 7951 data path, list entries by their keys and leaf-list entries by value: /ietf-interfaces:interfaces/interface[name='eth0']/mtu.
position?
readonly position?:
| {
where: "first";
}
| {
anchor: string;
where: "after";
};Defined in: netconf/src/operations/transaction.ts:213
Where a created or moved entry of an ordered-by-user list or leaf-list goes: first, or after the entry at anchor (a path).
Union Members
Type Literal
{
where: "first";
}where
readonly where: "first";First in the list.
Type Literal
{
anchor: string;
where: "after";
}anchor
readonly anchor: string;The path of the entry it follows.
where
readonly where: "after";After the entry at anchor.
previous?
readonly previous?: YangJsonValue;Defined in: netconf/src/operations/transaction.ts:211
The node as it is in the source, for delete and replace.
value?
readonly value?: YangJsonValue;Defined in: netconf/src/operations/transaction.ts:209
The node as it is in the target (absent for delete): a leaf's or leaf-list entry's typed value, a container's or list entry's object.