blob: 90e489bf2be425b1e0739b40b1699ba170efc786 [file] [log] [blame]
William Kurkian6ea97f82019-03-13 15:51:55 -04001syntax = "proto3";
2
William Kurkianad745652019-03-20 08:45:51 -04003option go_package = "github.com/opencord/voltha-protos/go/ietf";
William Kurkian6ea97f82019-03-13 15:51:55 -04004
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}