NVIDIA NEO REST API Guide v2.7.20
NVIDIA NEO REST API Guide v2.7.20

Docker Container

Description

Manages images instances that run on the switch.

Request URL

/neo/resources

Request URL

GET /neo/resources/systems/<system_id>/docker/instances for instances

GET /neo/resources/systems/<system_id>/docker/images

Response:

For images:

Copy
Copied!
            

[{ "Uptime":"6 weeks ago" "version":"latest" "Name":"omar" "image_name":"centos" }]

For instances:

Copy
Copied!
            

[ {version :"1.0.0" creation_date:4 months ago name:poc_neo image_size:742MB} ]

Request URL

POST neo/resources/systems/<system_id> /docker/fetch

Response

{ 
 "location": "/neo/app/jobs/24", "objectID": "24" 
 }

Status Codes

Note: for status code 404, the system was not found or the system is not a Mellanox Switch

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