Interface: YangLibraryContent
Defined in: netconf/src/operations/yang-library.ts:144
What client.content.yangLibrary holds.
Properties
contentId
ts
readonly contentId: string | undefined;Defined in: netconf/src/operations/yang-library.ts:146
The content-id (or, on a :yang-library:1.0 server, module-set-id) the server sent in its hello, if any.
Methods
load()
ts
load(options?): Promise<YangLibrary>;Defined in: netconf/src/operations/yang-library.ts:153
Read the library: /yang-library, or /modules-state on a server with only :yang-library:1.0. The result is kept for this session (shared with client.content.loadModules()), so later calls send nothing; refresh: true reads it again (after a library change).
Parameters
options?
Returns
Promise<YangLibrary>