Interface: DeviceOps
Defined in: netconf/src/client-ops.ts:44
client.ops.device: the operations the device profile defines, run against the connected device.
Methods
call()
ts
call(name, params?): Promise<unknown>;Defined in: netconf/src/client-ops.ts:50
Run a device profile operation by name, with its parameters. Resolves with what the operation returns (text, an element, an object or the reply).
Parameters
name
string
params?
Readonly<Record<string, unknown>>
Returns
Promise<unknown>
Throws
TypeError when no profile is in use or it has no such operation.