SitesDevicesWiredVirtual Chassis

getSiteDeviceVirtualChassis

GET
/api/v1/sites/{site_id}/devices/{device_id}/vc

Get VC Status

The API returns a combined view of the VC status which includes topology and stats_

Authorization

Authorization<token>

Preferred authentication method for automation and integrations. Send the API token in the HTTP Authorization header.

Format: Authorization: Token {apitoken}

Notes:

  • An API token generated for a specific admin has the same privileges as that admin
  • An API token is automatically removed if it is not used for more than 90 days
  • SSO admins cannot generate admin API tokens. Use organization API tokens when scoped Org/Site privileges are needed.

In: header

Path Parameters

site_id*string
Formatuuid
device_id*string
Formatuuid

Response Body

curl -X GET "https://example.com/api/v1/sites/000000ab-00ab-00ab-00ab-0000000000ab/devices/000000ab-00ab-00ab-00ab-0000000000ab/vc"
{  "config_type": "nonprovisioned",  "id": "00000000-0000-0000-1000-52d9107af289",  "mac": "52d9107af289",  "members": [    {      "boot_partition": "junos",      "cpld_version": "6",      "cpu_stat": {        "idle": 69,        "interrupt": 1,        "load_avg": [          0.8,          1.09,          1.07        ],        "system": 11,        "user": 19      },      "fans": [        {          "airflow": "out",          "name": "Fan Tray 0 Fan 0",          "rpm": 0,          "status": "ok"        },        {          "airflow": "out",          "name": "Fan Tray 1 Fan 0",          "rpm": 0,          "status": "ok"        }      ],      "fpc_idx": 0,      "mac": "52d9107af289",      "memory_stat": {        "usage": 42      },      "model": "EX2300-48P",      "pics": [        {          "index": 0,          "model_number": "EX2300-48P",          "port_groups": [            {              "count": 48,              "type": "GE"            }          ]        },        {          "index": 1,          "model_number": "EX2300-48P",          "port_groups": [            {              "count": 4,              "type": "SFP/SFP+"            }          ]        }      ],      "poe": {        "max_power": 750,        "power_draw": 40.4,        "status": "AT_MODE"      },      "poe_version": "2.1.1.19.3 (type1)",      "psus": [        {          "name": "Power Supply 0",          "status": "ok"        }      ],      "recovery_version": "21.4R3-S4.18",      "serial": "JW0000000000",      "temperatures": [        {          "celsius": 33,          "name": "CPU Sensor",          "status": "ok"        },        {          "celsius": 29,          "name": "PSU Sensor",          "status": "ok"        }      ],      "type": "fpc",      "uboot_version": "U-Boot 2016.01-rc1 (Nov 11 2016 - 14:26:00 -0800)  1.3.2",      "uptime": 27636720,      "vc_links": [        {          "neighbor_module_idx": 1,          "neighbor_port_id": "vcp-1/1/0",          "port_id": "vcp-0/1/0"        }      ],      "vc_mode": "HiGiG",      "vc_role": "master",      "vc_state": "present",      "version": "21.4R3-S4.18"    },    {      "boot_partition": "junos",      "cpld_version": "6",      "cpu_stat": {        "idle": 76,        "interrupt": 0,        "load_avg": [          0.96,          0.87,          0.76        ],        "system": 6,        "user": 17      },      "fans": [        {          "airflow": "out",          "name": "Fan Tray 0 Fan 0",          "rpm": 0,          "status": "ok"        },        {          "airflow": "out",          "name": "Fan Tray 1 Fan 0",          "rpm": 0,          "status": "ok"        }      ],      "fpc_idx": 1,      "mac": "d0dd4991652d",      "memory_stat": {        "usage": 18      },      "model": "EX2300-48P",      "pics": [        {          "index": 0,          "model_number": "EX2300-48P",          "port_groups": [            {              "count": 48,              "type": "GE"            }          ]        },        {          "index": 1,          "model_number": "EX2300-48P",          "port_groups": [            {              "count": 4,              "type": "SFP/SFP+"            }          ]        }      ],      "poe": {        "max_power": 750,        "power_draw": 21.2,        "status": "AT_MODE"      },      "poe_version": "2.1.1.19.3 (type1)",      "psus": [        {          "name": "Power Supply 0",          "status": "ok"        }      ],      "recovery_version": "21.4R3-S4.18",      "serial": "JW3619300922",      "temperatures": [        {          "celsius": 32,          "name": "CPU Sensor",          "status": "ok"        },        {          "celsius": 29,          "name": "PSU Sensor",          "status": "ok"        }      ],      "type": "fpc",      "uboot_version": "U-Boot 2016.01-rc1 (Nov 11 2016 - 14:26:00 -0800)  1.3.2",      "uptime": 27636720,      "vc_links": [        {          "neighbor_module_idx": 0,          "neighbor_port_id": "vcp-0/1/0",          "port_id": "vcp-1/1/0"        }      ],      "vc_mode": "HiGiG",      "vc_role": "backup",      "vc_state": "present",      "version": "21.4R3-S4.18"    }  ],  "model": "EX2300-48P",  "num_routing_engines": 1,  "org_id": "1e9a61a9-bc42-42ca-bf67-1ad87443d9b8",  "serial": "JW3619300157",  "site_id": "ab0aca7a-d45c-469b-b3bb-4fe240642d0b",  "status": "connected",  "type": "switch",  "vc_mac": "52d9107af289"}