Skip to content

Interface: EditDataOptions ​

Defined in: netconf/src/operations/nmda.ts:84

Options for <edit-data> (RFC 8526 §3.1.2). See nmda.

Properties ​

config? ​

ts
readonly config?: 
  | Child
  | YangJsonObject;

Defined in: netconf/src/operations/nmda.ts:91

Content to apply: XML, or an RFC 7951 JSON object, converted with the datastore's YANG schema as for editConfig. Give exactly one of config and url.


datastore ​

ts
readonly datastore: DatastoreRef;

Defined in: netconf/src/operations/nmda.ts:86

The writable datastore to change: 'running', 'candidate', 'startup' or another datastore identity.


defaultOperation? ​

ts
readonly defaultOperation?: "replace" | "none" | "merge";

Defined in: netconf/src/operations/nmda.ts:97

merge (the server default), replace or none.


json? ​

ts
readonly json?: JsonOptions;

Defined in: netconf/src/operations/nmda.ts:93

JSON input options (see JsonOptions). Never sent.


url? ​

ts
readonly url?: string;

Defined in: netconf/src/operations/nmda.ts:95

Load the content from a URL (:url).

Released under the MIT Licence.