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

Port Provisioning

Description

These APIs allow users to perform actions on a port of a specific Mellanox switch in NEO

Request URL

http://<NEO_SERVER_ADDRESS>/neo/actions/ports

Main Operations

  • Enable-Ports

  • Disable-Ports

  • Remove-Hybrid-Vlan-Port

  • Set-Access-VLAN-Port

  • Set-Hybrid-Vlan-Port

  • Set-MTU

  • Set-Port-Speed

Description

Performs port provisioning job on specific ports for the same system

Request URL

POST /neo/actions/ports

Response

HTTP Response Location Header will contain URI with Job ID created for running the port provisioning on the specified objects.

Request Data:

Copy
Copied!
            

{ "action": "port_provisioning", "params": { "template_name": "<template_name>", "arguments": { "globals": { "<global_arg1>": "<global_arg_val1>", "<global_arg2>": "<global_arg_val2>", . . . } } }, "ports": { “ < system_ip > ”: ["<port_caption1>", "<port_range1>", ...] }, "description": "Enable Ports" }

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