Dell N3200-ON Networking N-Series Switches RESTful API User Guide version 6.8. - Page 108
Single ip Request Example, Response Example
View all Dell N3200-ON manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 108 highlights
"ipAddr": "10.11.12.11", "ifIndex": "0/1", "netMask": "255.255.255.128", "bCast": 1, "reasmMaxSize": 120 }, { "ipAddr": "10.11.12.12", "ifIndex": "0/2", "netMask": "255.255.255.128", "bCast": 1, "reasmMaxSize": 120 }, ], "status": { "response_code": 200, "msg": "OK", "more_info": "", "error_code": "0" Single ip Request Example curl -GET -d "ipAddr=10.11.12.11" 10.10.10.1:8080/open/v1/ip browser: http://10.10.10.1:8080/open/v1/ip?ipAddr=10.11.12.11 Response Example { "ip": [ { "ipAddr": "10.11.12.11", "ifIndex": "0/1", "netMask": "255.255.255.128", "bCast": 1, "reasmMaxSize": 120 } ], "status": { 108 Rest API Reference
108
Rest API Reference
"ipAddr": "10.11.12.11",
"ifIndex": "0/1",
"netMask": "255.255.255.128",
"bCast": 1,
"reasmMaxSize": 120
},
{
"ipAddr": "10.11.12.12",
"ifIndex": "0/2",
"netMask": "255.255.255.128",
"bCast": 1,
"reasmMaxSize": 120
},
],
"status": {
"response_code": 200,
"msg": "OK",
"more_info": "",
"error_code": "0"
Single ip Request Example
curl -GET -d "ipAddr=10.11.12.11" 10.10.10.1:8080/open/v1/ip
browser:
Response Example
{
"ip": [
{
"ipAddr": "10.11.12.11",
"ifIndex": "0/1",
"netMask": "255.255.255.128",
"bCast": 1,
"reasmMaxSize": 120
}
],
"status": {