Obtaining information about individual CHAP users who are allowed to access a compute port

Virtual Storage Platform One SDS Block System Administrator Guide

Version
1.15.x
Audience
anonymous
Part Number
MK-24VSP1SDS001-02

Obtain information about a CHAP user who is allowed to access a compute port as follows. The following information can be obtained.

  • id: ID (uuid) of a CHAP user who is allowed to access the compute port

  • targetChapUserName: CHAP user name used for CHAP authentication on the compute port (i.e., target side)

  • initiatorChapUserName: CHAP user name used for CHAP authentication on the initiator side of the compute node

  • Required role: Security

  1. Verify the ID of the intended compute port.

    If you use the CLI to specify a compute port by WWN or iSCSI name, check the WWN or iSCSI name of the compute port.

    REST API: GET /v1/objects/ports

    CLI: port_list

  2. Verify the ID of the CHAP user.

    If you use the CLI to specify a CHAP user with a CHAP user name, check the CHAP user name.

    REST API: GET /v1/objects/chap-users

    CLI: chap_user_list

  3. Obtain information about the CHAP user who is allowed to access the compute port.

    Run either of the following commands with the ID of the compute port and the ID of the CHAP user specified.

    If you use the CLI, you can specify the WWN or iSCSI name instead of the compute port ID, or the CHAP user name instead of the CHAP user's ID.

    REST API: GET /v1/objects/port-auth-settings/<id>/chap-users/<chapUserId>

    CLI: port_auth_setting_chap_user_show