Skip to content

Interface: YangLibrary ​

Defined in: netconf/src/operations/yang-library.ts:130

A server's YANG library, as plain data: what client.content.yangLibrary.load() resolves with. Find a datastore's modules with findDatastore. See yang-library.

Properties ​

contentId ​

ts
readonly contentId: string;

Defined in: netconf/src/operations/yang-library.ts:134

RFC 8525's content-id, or RFC 7895's module-set-id.


datastores ​

ts
readonly datastores: readonly LibraryDatastore[];

Defined in: netconf/src/operations/yang-library.ts:140

Each datastore with its modules resolved. Empty from a :yang-library:1.0 server.


moduleSets ​

ts
readonly moduleSets: readonly ModuleSet[];

Defined in: netconf/src/operations/yang-library.ts:136

Every module set, as listed.


schemas ​

ts
readonly schemas: readonly LibrarySchema[];

Defined in: netconf/src/operations/yang-library.ts:138

Every schema, as listed. Empty from a :yang-library:1.0 server.


version ​

ts
readonly version: "1.0" | "1.1";

Defined in: netconf/src/operations/yang-library.ts:132

'1.1': read from /yang-library (RFC 8525). '1.0': from /modules-state (RFC 7895).

Released under the MIT Licence.