Skip to content

Interface: SessionInfo ​

Defined in: netconf/src/operations/monitoring.ts:62

One open NETCONF session: an entry of RFC 6022 /netconf-state/sessions.

Properties ​

inBadRpcs? ​

ts
readonly inBadRpcs?: number;

Defined in: netconf/src/operations/monitoring.ts:80

Messages received on the session that weren't a correct <rpc>.


inRpcs? ​

ts
readonly inRpcs?: number;

Defined in: netconf/src/operations/monitoring.ts:78

Correct <rpc> messages received on the session.


loginTime ​

ts
readonly loginTime: string;

Defined in: netconf/src/operations/monitoring.ts:76

When the session started, as the server sent it (a YANG date-and-time), or ''.


outNotifications? ​

ts
readonly outNotifications?: number;

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

Notifications sent on the session.


outRpcErrors? ​

ts
readonly outRpcErrors?: number;

Defined in: netconf/src/operations/monitoring.ts:82

<rpc-reply> messages sent on the session that held an <rpc-error>.


sessionId ​

ts
readonly sessionId: number;

Defined in: netconf/src/operations/monitoring.ts:64

The session's id, as <kill-session> takes it.


sourceHost? ​

ts
readonly sourceHost?: string;

Defined in: netconf/src/operations/monitoring.ts:74

The client's host name or address, when the server reports it.


transport ​

ts
readonly transport: string;

Defined in: netconf/src/operations/monitoring.ts:70

The transport identity, module-qualified (RFC 7951), such as 'ietf-netconf-monitoring:netconf-ssh'; another module's identity keeps its own module name. '' if the server sent none it could resolve.


username ​

ts
readonly username: string;

Defined in: netconf/src/operations/monitoring.ts:72

The user the session authenticated as, or '' if the server sent none.

Released under the MIT Licence.