Dell N3200-ON Networking N-Series Switches RESTful API User Guide version 6.8. - Page 150
Response Details, Update Snooping Interface Request Example, Response Example, Table 4
View all Dell N3200-ON manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 150 highlights
Response Details HTTP Response Codes The possible HTTP Response codes are 200, 400, 404, and 500. Internal Error Codes The possible error codes for OpEN API are shown in the following table. Table 4-83. Snooping Interface UPDATE Internal Error Codes Error Code 0 -21 -22 -26 -29 Code Name Description OPEN_E_NONE Success. OPEN_E_INTERNAL Internal error. OPEN_E_PARAM Invalid parameter. OPEN_E_FAIL Operation Fail. OPEN_E_NOT_FOUND Parameter not found. Update Snooping Interface Request Example The following example enables the snooping mode and sets response time to 100 for Interface located in slot 0, port 1. curl -GET -XPUT -d "interface=0/1&intfMode= enabled&responseTime=100&family=igmp" 10.10.10.1:8080/open/v1/snoopinginterfaces browser http://10.10.10.1:8080/open/v1/snoopinginterfaces?method= put&interface=0/1&intfMode=enabled&responseTime=100&family= igmp Response Example { "status": { "response_code": 200, "msg": "OK", "more_info": "", "error_code": 0 } 150 Rest API Reference