Interface: CompareOptions
Defined in: netconf/src/operations/compare.ts:67
What client.ops.compare.datastores() compares: two datastores, and optionally a filter.
Properties
all?
readonly all?: boolean;Defined in: netconf/src/operations/compare.ts:76
Compare every data node. Without it, when one side is operational and the other holds only configuration, state data is left out.
filter?
readonly filter?:
| YangJsonObject
| Filter;Defined in: netconf/src/operations/compare.ts:84
Compare only part of the datastores: subtree(...), xpath(...) / client.content.toXPath(path) (needs :xpath), or an RFC 7951 JSON object, converted to a subtree filter with the source datastore's schema.
json?
readonly json?: JsonOptions;Defined in: netconf/src/operations/compare.ts:86
JSON input options for a JSON filter (see JsonOptions). Never sent.
reportOrigin?
readonly reportOrigin?: boolean;Defined in: netconf/src/operations/compare.ts:78
Include or:origin annotations from operational in the values.
source
readonly source: DatastoreRef;Defined in: netconf/src/operations/compare.ts:69
The datastore the patch starts from.
target
readonly target: DatastoreRef;Defined in: netconf/src/operations/compare.ts:71
The datastore the patch leads to.