NIC Capabilities
|
Description |
Allows users to retrieve Linux hosts' NICs information in NEO |
|||||||||||
|
Request URL |
/neo/resources/adapters |
|||||||||||
|
Main Operations |
|
|||||||||||
|
Description |
Retrieves adapter information |
|
|
Request URL |
GET /neo/resources/adapters/<adapter_id1>,<adapter_id2> |
|
|
Request Data |
N/A |
|
Response:
[{
"protocolDescription": "Peripheral Component Interconnect",
"numOfPorts": <num_of_physical_ports>,
"type": "ConnectX4"/"Connectx5",
"id": <adaper_id>,
"protocolSupported": "PCI"
},
.
.
.
]
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:
[{
"protocolDescription": "Peripheral Component Interconnect",
"numOfPorts": <num_of_physical_ports>,
"type": "ConnectX4"/"Connectx5",
"id": <adaper_id>,
"protocolSupported": "PCI"
},
.
.
.
]