Variable: yangLibrary
const yangLibrary: object;Defined in: netconf/src/operations/yang-library.ts:457
The YANG library extension (RFC 8525, with the RFC 7895 fallback). Enable it with connect({ extensions: [yangLibrary] }). It needs no capability to be enabled; client.content.yangLibrary.load() needs :yang-library:1.1 or :yang-library:1.0.
Type Declaration
content
readonly content: (ctx) => YangLibraryContent;Content layer: called once per client, after the hello, with the same context as ops. The result becomes client.content.<id>: calls that hand back decoded, typed data. State shared with ops belongs in a WeakMap keyed by ctx.sessionKey.
Parameters
ctx
Returns
description
readonly description: "RFC 8525 (and RFC 7895): the YANG modules a server implements, per datastore" = 'RFC 8525 (and RFC 7895): the YANG modules a server implements, per datastore';A one-line summary of what the extension adds, for tools and help text.
descriptors
readonly descriptors: readonly [OperationDescriptor];Descriptors for the RPCs this extension adds (each needs a builder in requests), and for its reads (kind: 'read', run through the method of content they name).
id
readonly id: "yangLibrary" = 'yangLibrary';Becomes client.ops.<id> and client.content.<id>, for the layers the extension contributes to.