Sergiusz Bazanski | e08e6da | 2018-08-27 20:40:10 +0100 | [diff] [blame] | 1 | syntax = "proto3"; |
| 2 | |
| 3 | package proto; |
| 4 | |
| 5 | message ShowVersionRequest { |
| 6 | }; |
| 7 | |
| 8 | message ShowVersionResponse { |
| 9 | string model_name = 1; |
| 10 | string internal_version = 2; |
| 11 | string system_mac_address = 3; |
| 12 | string serial_number = 4; |
| 13 | int64 mem_total = 5; |
| 14 | double bootup_timestamp = 6; |
| 15 | int64 mem_free = 7; |
| 16 | string version = 8; |
| 17 | string architecture = 9; |
| 18 | string internal_build_id = 10; |
| 19 | string hardware_revision = 11; |
| 20 | }; |
| 21 | |
| 22 | service AristaProxy { |
| 23 | rpc ShowVersion(ShowVersionRequest) returns (ShowVersionResponse); |
| 24 | }; |