Interface: ContentQuirks
Defined in: netconf/src/content/quirks.ts:6
Content-layer quirks: known ways devices deviate in how the path API may fetch data. Each is a named switch implemented and tested here; a device profile can only turn switches on.
Properties
subtreeFilter?
ts
readonly subtreeFilter?: "supported" | "unsupported" | "containers";Defined in: netconf/src/content/quirks.ts:16
Whether path reads (read(), readValue()) may send a subtree filter:
'supported'(default): send a filter selecting just the path.'unsupported': fetch the whole datastore without a filter and select the path locally, for devices that reject or mistranslate filters.'containers': send a filter cut short (seesubtreeFilterDepth) and select the rest of the path locally, for devices that accept filters only down to certain levels.
subtreeFilterDepth?
ts
readonly subtreeFilterDepth?: number;Defined in: netconf/src/content/quirks.ts:23
With subtreeFilter: 'containers' (and required by it): how far the filter goes. It keeps the first subtreeFilterDepth steps of the path, then any keyed list entries right after them, and stops at the first step without keys past that.