Aaron Kruglikov | 9f95f99 | 2017-06-23 14:15:25 +0900 | [diff] [blame^] | 1 | syntax = "proto3"; |
| 2 | option java_package = "org.onosproject.grpc.net.models"; |
| 3 | |
| 4 | package Port; |
| 5 | |
| 6 | message PortStatistics { |
| 7 | int32 port = 1; |
| 8 | int64 packets_received = 2; |
| 9 | int64 packets_sent = 3; |
| 10 | int64 bytes_received = 4; |
| 11 | int64 bytes_sent = 5; |
| 12 | int64 packets_rx_dropped = 6; |
| 13 | int64 packets_tx_dropped = 7; |
| 14 | int64 packets_rx_errors = 8; |
| 15 | int64 packets_tx_errors = 9; |
| 16 | int64 duration_sec = 10; |
| 17 | int64 duration_nano = 11; |
| 18 | bool is_zero = 12; |
| 19 | // TODO add all other fields |
| 20 | } |