21.16.1 list_all_hsm_tickets

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

ParameterTypeDescription
output_filestringSpecifies the output file, which contains a list of ticket IDs inside HSM. This parameter is optional.
hsm_byte_orderboolean

-

Return TypeDescription
List of stringsReturns a list of HSM tickets.

Error Codes

Error CodeDescription
NoneFpeng error: Unable to create/get HSM client.
NoneParameter '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]