Automation Knowledge Base

M_RESERVATION whattodo

Explanation

You set this parameter 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.

Summary

set or get, value type: B

Parameters

whattodo: coded byte, containing the operation to perform: [RELEASE (0) | RESERVE (1) | RELINQUISH (2)]

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: [ RELEASED (0) | RESERVED_BY_YOU (1) | RESERVED_BY_OTHER (2) ]

Example (set)

0 M_RESERVATION RELEASE

M_RESERVEDBY username

Explanation

Identify the user who has a module reserved. Returns an empty string if the module is not currently reserved by anyone.

Summary

get only, value type: O

Parameters

username: string, containing the name of the current owner of the module.

Example

0 M_RESERVEDBY ””