REST API  14
REST API for Luna Network HSMs
PUT /api/lunasa/ntls/threads

PUT /api/lunasa/ntls/threads

This resource will configure all the NTLS worker threads settings.

Note: The NTLS service should be restarted for new settings to take effect.

Parameters

dataPath

Specifies the number of worker thread pairs used to process inbound and outbound socket events.

Note: In practical terms, this value specifies the number of different NTLS clients, from different sockets, that the data path can support in parallel. You may need to increase this value if NTLS must service a high number of client connections.

Use: Required

JSON Schema:

   Object
   type: integer

cmdProcessor

Specifies the number of threads used in the command processor to submit HSM requests to the HSM key card inside the appliance.

Use: Required

JSON Schema:

   Object
   type: integer

The following table shows defined values for cmdProcessor and dataPath.

Parameter Range Default Value
cmdProcessor 1 - 70 20
dataPath 1 - 15 5

Responses

204

Success

400

Unexpected error

Example Request

   PUT
   https://1.2.3.4:8443/api/lunasa/ntls/threads
   {
        "dataPath" : 6,
        "cmdProcessor" : 30
   }

Example Result

{
}

See Also

GET /api/lunasa/ntls/threads