GlobalLock
Leafs
- class NetconfState.Datastores.Datastore.Locks.GlobalLock
Bases:
Entity
Class Hierarchy :
NetconfState
Datastores
Datastore
Locks
GlobalLock
This class represents state data.
Present if the global lock is set.
- locked_by_session
The session ID of the session that has locked this resource. Both a global lock and a partial lock MUST contain the NETCONF session-id. If the lock is held by a session that is not managed by the NETCONF server (e.g., a CLI session), a session id of 0 (zero) is reported
type: int
range: 0..4294967295
mandatory: True
config: False
- locked_time
The date and time of when the resource was locked
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