blob: 90758d90730b3712dcdbb8587b39061fc2e9410e [file] [log] [blame]
William Kurkian6ea97f82019-03-13 15:51:55 -04001syntax = "proto3";
2
Scott Baker383964b2019-11-01 14:26:07 -07003option go_package = "github.com/opencord/voltha-protos/v2/go/ietf";
William Kurkian6ea97f82019-03-13 15:51:55 -04004
William Kurkian12fc0af2019-04-18 14:27:45 -04005package ietf;
William Kurkian6ea97f82019-03-13 15:51:55 -04006
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}