Getting a list of host modes and host mode options

REST API Reference Guide for Virtual Storage Platform 5000, Virtual Storage Platform E Series, and Virtual Storage Platform G/F Series

Version
93-07-0x
90-09-0x
88-08-10
Audience
anonymous
Part Number
MK-98RD9014-17
The following request acquires a list of host modes and host mode options used for the storage system.

Execution permission

Storage Administrator (View Only)

Request line

GET base-URL/v1/objects/supported-host-modes/instance

Request message

Object ID

Specify instance.

If an object has only one instance, instance is the fixed value that specifies the object ID.

Query parameters

None.

Body

None.

Response message

Body
{
  "hostModes": [
    {
      "hostModeId": 0,
      "hostModeName": "Standard",
      "hostModeDisplay": "LINUX/IRIX"
    },
    {
      "hostModeId": 1,
      "hostModeName": "(Deprecated) VMware",
      "hostModeDisplay": "VMWARE"
    }
  ],
  "hostModeOptions": [
    {
      "hostModeOptionId": 2,
      "hostModeOptionDescription": "VERITAS Database Edition/Advanced Cluster"
    },
    {
      "hostModeOptionId": 6,
      "hostModeOptionDescription": "TPRLO"
    }
  ]
}

Attribute

Type

Description

hostModes

object[]

The following attributes related to the host mode are output:

  • hostModeId (int)

    Host mode number

  • hostModeName (string)

    Identification name of the host mode

  • hostModeDisplay (string)

    Host mode value

    Value to be used to specify the host mode

hostModeOptions

object[]

The following attributes related to the host mode option are output:

  • hostModeOptionId (int)

    Host mode option number

  • hostModeOptionDescription (string)

    Description of the host mode option

Status codes

For details on the status codes of the request for this operation, see the description of HTTP status codes.

Coding example

curl -v -H "Accept:application/json" -H "Content-Type:application/json" -H "Authorization:Session d7b673af189048468c5af9bcf3bbbb6f" -X GET https://192.0.2.100/ConfigurationManager/v1/objects/supported-host-modes/instance