ethernet_stats¶
Overview¶
API to get ethernet ports information
Version information¶
Version : v2
URI scheme¶
Host :
BasePath : /sdwan/nitro/v2/monitor/
Schemes : HTTP
Tags¶
- ethernet_stats : Operations related to ethernet_stats
Paths¶
Get operation for ethernet_stats¶
GET /ethernet_stats
Description¶
Use this operation to get ethernet ports
Responses¶
| HTTP Code | Description | Schema |
|---|---|---|
| 200 | API Successfully executed | ethernet_stats_response_schema |
| 400 | Failed: bad input parameter | ErrorSchema |
| 401 | Unauthorized: Failed Authentication | ErrorSchema |
| 403 | Unauthorized: Forbidden | ErrorSchema |
| 405 | Failed: Data format unacceptable | ErrorSchema |
| 415 | Failed: Data format unacceptable | ErrorSchema |
| 500 | Failed: Internal Server Error | ErrorSchema |
Produces¶
application/json
Tags¶
- ethernet_stats
Definitions¶
ErrorSchema¶
| Name | Schema |
|---|---|
| errorcode optional |
integer |
| errormessage optional |
string |
bytes_received¶
Total bytes received
Type : integer
bytes_sent¶
Total bytes sent
Type : integer
errors¶
Errors
Type : integer
ethernet_stats_delete_success_schema¶
| Name | Schema |
|---|---|
| ethernet_stats optional |
ethernet_stats |
| Name | Description | Schema |
|---|---|---|
| message optional |
Example : "resource deleted succesfully" |
string |
ethernet_stats_post_success_schema¶
| Name | Schema |
|---|---|
| ethernet_stats optional |
ethernet_stats |
| Name | Description | Schema |
|---|---|---|
| message optional |
Example : "resource added succesfully" |
string |
ethernet_stats_put_success_schema¶
| Name | Schema |
|---|---|
| ethernet_stats optional |
ethernet_stats |
| Name | Description | Schema |
|---|---|---|
| message optional |
Example : "resource modified succesfully" |
string |
ethernet_stats_response_schema¶
Type : < ethernet_stats_response_schema > array
ethernet_stats_response_schema
| Name | Schema |
|---|---|
| bytes_received optional |
bytes_received |
| bytes_sent optional |
bytes_sent |
| errors optional |
errors |
| frames_received optional |
frames_received |
| frames_sent optional |
frames_sent |
| link_state optional |
link_state |
| port_num optional |
port_num |
frames_received¶
The number of frames received
Type : integer
frames_sent¶
The number of frames sent
Type : integer
link_state¶
The Link State
Type : string
port_num¶
Ethernet Port
Type : string