State

Leafs

class System.State

Bases: Entity

Class Hierarchy: System State

This class represents state data.

Global operational state data for the system

hostname

The hostname of the device – should be a single domain label, without the domain

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

domain_name

Specifies the domain name used to form fully qualified name for unqualified hostnames

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_banner

The console login message displayed before the login prompt, i.e., before a user logs into the system

type: str

config: False

motd_banner

The console message displayed after a user logs into the system. They system may append additional standard information such as the current system date and time, uptime, last login timestamp, etc

type: str

config: False

current_datetime

The current system date and time

type: str

pattern: ^[0-9]{4}\-[0-9]{2}\-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(\.[0-9]+)?Z[+-][0-9]{2}:[0-9]{2}$

config: False

boot_time

This timestamp indicates the time that the system was last restarted. The value is the timestamp in seconds relative to the Unix Epoch (Jan 1, 1970 00:00:00 UTC)

type: int

range: 0..18446744073709551615

config: False