libcsm.hsm.components module

Module contents

Submodule for interacting with components from HSM.

libcsm.hsm.components.get_components(role_subrole, api_gateway_address='api-gw-service-nmn.local')

Get management components from HSM based on their role and subrole.

Parameters:
  • role_subrole (str) – The subrole in HSM to query under.

  • api_gateway_address (str) – The hostname of the API gateway.

Return type:

Response

Returns:

The HTTP response from the API gateway.