show service instance lock status
Syntax
show service instance lock status
show service instance lock status service-instance-name
show service instance lock status expired
show service instance lock status service-instance-name expired
Description
See the lock status of a service instance.
A service instance is locked when the instance is being uploaded, modified, or if the
network administrator has manually locked it by using the request
service instance lock
command in the service orchestration
cMGD.
Options
none |
See the lock status of all service instances. |
service-instance-name |
Name of the service instance for which you want to see the lock status. |
expired |
See the last lock status of all service instances. |
service-instance-name expired |
See the last lock status of the service instance you specify. |
Output Fields
Table 1 lists the output fields for the show service instance
lock status
command.
Field |
Description |
---|---|
Service Instance |
Name of the service instance. |
Acquired By |
Name of the user who has acquired the lock for the service instance. |
Start Time |
The starting time of the lock. |
Release Time |
The release time of the lock. |
Lock Reason |
The reason for locking the service instance. For example, Upload service instance. |
Release Reason |
The reason for which the lock was released. For example, Upload service instance done. If the service instance is still in locked state, the release reason field shows that the instance is still locked. |
Sample Output
show service instance lock status
root@cmgd-594bd779bd-qqb56> show service instance lock status ServiceInstance AcquiredBy StartTime ReleaseTime internal_vpn cmgd 2024-06-12T13:07:23.070677060Z 0001-01-01T00:00:00Z LockReason: cmgd-test ReleaseReason: Not released : Instance still locked
show service instance lock status expired
root@cmgd-594bd779bd-qqb56> show service instance lock status ServiceInstance AcquiredBy StartTime ReleaseTime test_l3vpn-svc internal 2024-06-10T06:34:48.516222655Z 2024-06-10T06:34:48.699125206Z LockReason: Upload service instance ReleaseReason: Upload service instance done internal_l3-addr internal 2024-06-10T06:36:48.245343930Z 2024-06-10T06:36:48.385791296Z LockReason: Upload service instance ReleaseReason: Upload service instance done internal_routing internal 2024-06-10T06:36:49.552680841Z 2024-06-10T06:36:49.648960819Z LockReason: Upload service instance ReleaseReason: Upload service instance done internal_topo test1@test.com 2024-06-11T10:29:38.443930804Z 2024-06-11T10:34:29.679572176Z LockReason: test ReleaseReason: timeout
Release Information
Command introduced in Juniper Paragon Automation Release 2.1.0.