Locks¶
Children
-
class
NetconfState.Datastores.Datastore.
Locks
¶ Bases:
Entity
Class Hierarchy:
NetconfState
Datastores
Datastore
Locks
This class is a presence class
This class represents state data.
The NETCONF <lock> and <partial-lock> operations allow
a client to lock specific resources in a datastore. The
NETCONF server will prevent changes to the locked
resources by all sessions except the one that acquired
the lock(s).
Monitoring information is provided for each datastore
entry including details such as the session that acquired
the lock, the type of lock (global or partial) and the
list of locked resources. Multiple locks per datastore
are supported.
-
global_lock
¶ Present if the global lock is set
type:
GlobalLock
config: False
-
partial_lock
¶ List of partial locks
type: list of
PartialLock
config: False
-