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 |
|
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:
{
"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"
}