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