M_RESERVATION
code: 72
# set
<module-index> M_RESERVATION <operation>
# get
<module-index> M_RESERVATION ?
Description
Set this command to reserve, release, or relinquish a module itself (as opposed to its ports). The module must be reserved before its hardware image can be upgraded. The owner of the session must already have been specified. Reservation will fail if the chassis or any ports are reserved for other users.
Note
The reservation parameters are slightly asymmetric with respect to set/get. When querying for the current reservation state, the chassis will use these values.
Actions
set, get
Parameters
operation
: byte, reservation operation to perform
RELEASE = 0
RESERVE = 1
RELINQUISH = 2
Example
# set
input: 0 M_RESERVATION RELEASE
output: <OK>
# get
input: 0 M_RESERVATION ?
output: 0 M_RESERVATION RELEASE