Session¶
Keys
Leafs
-
class
NetconfState.Sessions.
Session
¶ Bases:
Entity
Class Hierarchy:
NetconfState
Sessions
Session
This class represents state data.
All NETCONF sessions managed by the NETCONF server
MUST be reported in this list.
-
session_id
(key)¶ Unique identifier for the session. This value is the NETCONF session identifier, as defined in RFC 4741
type: int
range: 1..4294967295config: False
-
transport
¶ Identifies the transport for each session, e.g., ‘netconf-ssh’, ‘netconf-soap’, etc
type: one of the below values:
NetconfSsh
mandatory: True
config: False
-
username
¶ The username is the client identity that was authenticated by the NETCONF transport protocol. The algorithm used to derive the username is NETCONF transport protocol specific and in addition specific to the authentication mechanism used by the NETCONF transport protocol
type: str
mandatory: True
config: False
-
source_host
¶ Host identifier of the NETCONF client. The value returned is implementation specific (e.g., hostname, IPv4 address, IPv6 address)
type: union of the below types:
type: str
pattern: (([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(%[\p{N}\p{L}]+)?type: str
pattern: ((:|[0-9a-fA-F]{0,4}):)([0-9a-fA-F]{0,4}:){0,5}((([0-9a-fA-F]{0,4}:)?(:|[0-9a-fA-F]{0,4}))|(((25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])))(%[\p{N}\p{L}]+)?type: str
pattern: ((([a-zA-Z0-9_]([a-zA-Z0-9\-_]){0,61})?[a-zA-Z0-9]\.)*([a-zA-Z0-9_]([a-zA-Z0-9\-_]){0,61})?[a-zA-Z0-9]\.?)|\.config: False
-
login_time
¶ Time at the server at which the session was established
type: str
pattern: \d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d+)?(Z|[\+\-]\d{2}:\d{2})mandatory: True
config: False
-
in_rpcs
¶ Number of correct <rpc> messages received
type: int
range: 0..4294967295config: False
-
in_bad_rpcs
¶ Number of messages received when an <rpc> message was expected, that were not correct <rpc> messages. This includes XML parse errors and errors on the rpc layer
type: int
range: 0..4294967295config: False
-
out_rpc_errors
¶ Number of <rpc-reply> messages sent that contained an <rpc-error> element
type: int
range: 0..4294967295config: False
-
out_notifications
¶ Number of <notification> messages sent
type: int
range: 0..4294967295config: False
-