21.16.1 list_all_hsm_tickets
(Ask a Question)Description
This Tcl command returns the list of HSM tickets.
Note: HSM server name must be specified via
HSM_SERVER_NAME DEF
variable.
list_all_hsm_tickets [-output_file "Output file"] \
[-hsm_byte_order "TRUE | FALSE"]Arguments
| Parameter | Type | Description |
|---|---|---|
| output_file | string | Specifies the output file, which contains a list of ticket IDs inside HSM. This parameter is optional. |
| hsm_byte_order | boolean | - |
| Return Type | Description |
|---|---|
| List of strings | Returns a list of HSM tickets. |
Error Codes
| Error Code | Description |
|---|---|
| None | Fpeng error: Unable to create/get HSM client. |
| None | Parameter 'param_name' is not defined. Valid command formatting is 'list_all_hsm_tickets [-output_file "Output file which contains list of ticket IDs inside HSM"] \ [-hsm_byte_order "TRUE | FALSE"]'. |
Supported Families
| PolarFire® |
| SmartFusion® 2 |
| IGLOO® 2 |
| PolarFire SoC |
Example
The following example displays the list of the tickets in HSM server:
puts [list_all_hsm_tickets]