blob: d43c02d911647acc7c850e068d6576ac0d351324 [file] [log] [blame]
khenaidooabad44c2018-08-03 16:58:35 -04001syntax = "proto3";
2
3option go_package = "github.com/opencord/voltha-go/protos/ietf";
4
5package ietf_interfaces;
6
7message Interfaces {
8 repeated Interface all_interfaces = 1;
9}
10message Interface {
11 string name = 1 ;
12 string description = 2 ;
13 string type = 3 ;
14 bool enabled = 4;
15 enum LinkUpDownTrapEnableType
16 {
17 TRAP_DISABLED = 0 ;
18 TRAP_ENABLED = 1 ;
19 }
20 LinkUpDownTrapEnableType link_up_down_trap_enable = 5;
21}
22
23message InterfacesState {
24 repeated InterfaceState all_interfacs = 1;
25}
26message InterfaceState {
27 string name = 1 ;
28 string type = 2 ;
29 enum AdminStatusType
30 {
31 ADMIN_DOWN = 0 ;
32 ADMIN_TESTING = 1 ;
33 ADMIN_UP = 2 ;
34 }
35 AdminStatusType admin_status = 3;
36 enum OperStatusType
37 {
38 DORMANT = 0 ;
39 LOWER_LAYER_DOWN = 1 ;
40 UNKNOWN = 2 ;
41 TESTING = 3 ;
42 UP = 4 ;
43 DOWN = 5 ;
44 NOT_PRESENT = 6 ;
45 }
46 OperStatusType oper_status = 4;
47 string last_change = 5 ;
48 int32 if_index = 6 ;
49 string phys_address = 7 ;
50 repeated string higher_layer_if = 8 ;
51 repeated string lower_layer_if = 9 ;
52 uint64 speed = 10 ;
53}