GET /lcm/api/v1/view/node?nodeID=$nodeID displays details for the specified node.

Prerequisites

Satisfy the following conditions before performing any tasks for this use case.

curl Command

The following example requests details for a data node.

curl -X GET "https://LCM-Hostname/lcm/api/v1/view/node?nodeID=a3b2e69ac10ad27555e68c9cc89ab" \
        -H "accept: application/json" \
        -H "x-xenon-auth-token: $token" \

JSON Output

The following JSON output is returned based on the command input.

{
  "name": "data",
  "id": "a3b2e69ac10ad27555e68c9cc89ab",
  "properties": [
    {
      "name": "ipAddress",
      "value": "10.000.000.000"
    },
    {
      "name": "dns",
      "value": "10.000.000.001,10.000.000.002"
    },
    {
      "name": "hostname",
      "value": "host.example.local"
    },
    {
      "name": "domain",
      "value": "example.local"
    },
    {
      "name": "netmask",
      "value": "255.255.255.0"
    },
    {
      "name": "diskFormat",
      "value": "Thin"
    },
    {
      "name": "name",
      "value": "data-host"
    },
    {
      "name": "storage",
      "value": "FC_LUN_1TB_1"
    },
    {
      "name": "cluster",
      "value": "CLUSTER#SS_MGMT_Cluster_TB1"
    },
    {
      "name": "vCenterHost",
      "value": "vcenter.example.local"
    },
    {
      "name": "network",
      "value": "NTWK_121"
    },
    {
      "name": "userName",
      "value": "Administrator@vsphere.local"
    },
    {
      "name": "searchpath",
      "value": "example.local"
    },
    {
      "name": "gateway",
      "value": "10.000.000.003"
    },
    {
      "name": "address",
      "value": "10.000.000.000"
    },
    {
      "name": "password",
      "value": "password"
    },
    {
      "name": "rootPassword",
      "value": "password"
    }
  ]
}