NIC Capabilities

Description

Allows users to retrieve Linux hosts' NICs information in NEO

Request URL

/neo/resources/adapters

Main Operations

  • Get Adapter Information

  • Get All Adapters Information

Description

Retrieves adapter information

Request URL

GET /neo/resources/adapters/<adapter_id1>,<adapter_id2>

Request Data

N/A

Response:

Copy
Copied!
            

[{ "protocolDescription": "Peripheral Component Interconnect", "numOfPorts": <num_of_physical_ports>, "type": "ConnectX4"/"Connectx5", "id": <adaper_id>, "protocolSupported": "PCI" }, . . . ]

Warning

When the user requests a single adapter, the response body will be a single JSON (and not a list of JSONs).

Description

Retrieves all adapter information

Request URL

GET /neo/resources/adapters?device_ids=<system_id1>,<system_id2>

Request Data

N/A

Response:

Copy
Copied!
            

[{ "protocolDescription": "Peripheral Component Interconnect", "numOfPorts": <num_of_physical_ports>, "type": "ConnectX4"/"Connectx5", "id": <adaper_id>, "protocolSupported": "PCI" }, . . . ]

© Copyright 2023, NVIDIA. Last updated on Nov 16, 2023.