go.ligato.io/vpp-agent/v3@v3.5.0/proto/ligato/linux/interfaces/state.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.27.1 4 // protoc v3.17.3 5 // source: ligato/linux/interfaces/state.proto 6 7 package linux_interfaces 8 9 import ( 10 _ "go.ligato.io/vpp-agent/v3/proto/ligato" 11 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 12 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 13 reflect "reflect" 14 sync "sync" 15 ) 16 17 const ( 18 // Verify that this generated code is sufficiently up-to-date. 19 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 20 // Verify that runtime/protoimpl is sufficiently up-to-date. 21 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 22 ) 23 24 type InterfaceState_Status int32 25 26 const ( 27 InterfaceState_UNKNOWN_STATUS InterfaceState_Status = 0 28 InterfaceState_UP InterfaceState_Status = 1 29 InterfaceState_DOWN InterfaceState_Status = 2 30 InterfaceState_DELETED InterfaceState_Status = 3 31 ) 32 33 // Enum value maps for InterfaceState_Status. 34 var ( 35 InterfaceState_Status_name = map[int32]string{ 36 0: "UNKNOWN_STATUS", 37 1: "UP", 38 2: "DOWN", 39 3: "DELETED", 40 } 41 InterfaceState_Status_value = map[string]int32{ 42 "UNKNOWN_STATUS": 0, 43 "UP": 1, 44 "DOWN": 2, 45 "DELETED": 3, 46 } 47 ) 48 49 func (x InterfaceState_Status) Enum() *InterfaceState_Status { 50 p := new(InterfaceState_Status) 51 *p = x 52 return p 53 } 54 55 func (x InterfaceState_Status) String() string { 56 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 57 } 58 59 func (InterfaceState_Status) Descriptor() protoreflect.EnumDescriptor { 60 return file_ligato_linux_interfaces_state_proto_enumTypes[0].Descriptor() 61 } 62 63 func (InterfaceState_Status) Type() protoreflect.EnumType { 64 return &file_ligato_linux_interfaces_state_proto_enumTypes[0] 65 } 66 67 func (x InterfaceState_Status) Number() protoreflect.EnumNumber { 68 return protoreflect.EnumNumber(x) 69 } 70 71 // Deprecated: Use InterfaceState_Status.Descriptor instead. 72 func (InterfaceState_Status) EnumDescriptor() ([]byte, []int) { 73 return file_ligato_linux_interfaces_state_proto_rawDescGZIP(), []int{0, 0} 74 } 75 76 type InterfaceNotification_NotifType int32 77 78 const ( 79 InterfaceNotification_UNKNOWN InterfaceNotification_NotifType = 0 80 InterfaceNotification_UPDOWN InterfaceNotification_NotifType = 1 81 ) 82 83 // Enum value maps for InterfaceNotification_NotifType. 84 var ( 85 InterfaceNotification_NotifType_name = map[int32]string{ 86 0: "UNKNOWN", 87 1: "UPDOWN", 88 } 89 InterfaceNotification_NotifType_value = map[string]int32{ 90 "UNKNOWN": 0, 91 "UPDOWN": 1, 92 } 93 ) 94 95 func (x InterfaceNotification_NotifType) Enum() *InterfaceNotification_NotifType { 96 p := new(InterfaceNotification_NotifType) 97 *p = x 98 return p 99 } 100 101 func (x InterfaceNotification_NotifType) String() string { 102 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 103 } 104 105 func (InterfaceNotification_NotifType) Descriptor() protoreflect.EnumDescriptor { 106 return file_ligato_linux_interfaces_state_proto_enumTypes[1].Descriptor() 107 } 108 109 func (InterfaceNotification_NotifType) Type() protoreflect.EnumType { 110 return &file_ligato_linux_interfaces_state_proto_enumTypes[1] 111 } 112 113 func (x InterfaceNotification_NotifType) Number() protoreflect.EnumNumber { 114 return protoreflect.EnumNumber(x) 115 } 116 117 // Deprecated: Use InterfaceNotification_NotifType.Descriptor instead. 118 func (InterfaceNotification_NotifType) EnumDescriptor() ([]byte, []int) { 119 return file_ligato_linux_interfaces_state_proto_rawDescGZIP(), []int{1, 0} 120 } 121 122 type InterfaceState struct { 123 state protoimpl.MessageState 124 sizeCache protoimpl.SizeCache 125 unknownFields protoimpl.UnknownFields 126 127 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 128 InternalName string `protobuf:"bytes,2,opt,name=internal_name,json=internalName,proto3" json:"internal_name,omitempty"` 129 Type Interface_Type `protobuf:"varint,3,opt,name=type,proto3,enum=ligato.linux.interfaces.Interface_Type" json:"type,omitempty"` 130 IfIndex int32 `protobuf:"varint,4,opt,name=if_index,json=ifIndex,proto3" json:"if_index,omitempty"` 131 AdminStatus InterfaceState_Status `protobuf:"varint,5,opt,name=admin_status,json=adminStatus,proto3,enum=ligato.linux.interfaces.InterfaceState_Status" json:"admin_status,omitempty"` 132 OperStatus InterfaceState_Status `protobuf:"varint,6,opt,name=oper_status,json=operStatus,proto3,enum=ligato.linux.interfaces.InterfaceState_Status" json:"oper_status,omitempty"` 133 LastChange int64 `protobuf:"varint,7,opt,name=last_change,json=lastChange,proto3" json:"last_change,omitempty"` 134 PhysAddress string `protobuf:"bytes,8,opt,name=phys_address,json=physAddress,proto3" json:"phys_address,omitempty"` 135 Speed uint64 `protobuf:"varint,9,opt,name=speed,proto3" json:"speed,omitempty"` 136 Mtu uint32 `protobuf:"varint,10,opt,name=mtu,proto3" json:"mtu,omitempty"` 137 Statistics *InterfaceState_Statistics `protobuf:"bytes,100,opt,name=statistics,proto3" json:"statistics,omitempty"` 138 } 139 140 func (x *InterfaceState) Reset() { 141 *x = InterfaceState{} 142 if protoimpl.UnsafeEnabled { 143 mi := &file_ligato_linux_interfaces_state_proto_msgTypes[0] 144 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 145 ms.StoreMessageInfo(mi) 146 } 147 } 148 149 func (x *InterfaceState) String() string { 150 return protoimpl.X.MessageStringOf(x) 151 } 152 153 func (*InterfaceState) ProtoMessage() {} 154 155 func (x *InterfaceState) ProtoReflect() protoreflect.Message { 156 mi := &file_ligato_linux_interfaces_state_proto_msgTypes[0] 157 if protoimpl.UnsafeEnabled && x != nil { 158 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 159 if ms.LoadMessageInfo() == nil { 160 ms.StoreMessageInfo(mi) 161 } 162 return ms 163 } 164 return mi.MessageOf(x) 165 } 166 167 // Deprecated: Use InterfaceState.ProtoReflect.Descriptor instead. 168 func (*InterfaceState) Descriptor() ([]byte, []int) { 169 return file_ligato_linux_interfaces_state_proto_rawDescGZIP(), []int{0} 170 } 171 172 func (x *InterfaceState) GetName() string { 173 if x != nil { 174 return x.Name 175 } 176 return "" 177 } 178 179 func (x *InterfaceState) GetInternalName() string { 180 if x != nil { 181 return x.InternalName 182 } 183 return "" 184 } 185 186 func (x *InterfaceState) GetType() Interface_Type { 187 if x != nil { 188 return x.Type 189 } 190 return Interface_UNDEFINED 191 } 192 193 func (x *InterfaceState) GetIfIndex() int32 { 194 if x != nil { 195 return x.IfIndex 196 } 197 return 0 198 } 199 200 func (x *InterfaceState) GetAdminStatus() InterfaceState_Status { 201 if x != nil { 202 return x.AdminStatus 203 } 204 return InterfaceState_UNKNOWN_STATUS 205 } 206 207 func (x *InterfaceState) GetOperStatus() InterfaceState_Status { 208 if x != nil { 209 return x.OperStatus 210 } 211 return InterfaceState_UNKNOWN_STATUS 212 } 213 214 func (x *InterfaceState) GetLastChange() int64 { 215 if x != nil { 216 return x.LastChange 217 } 218 return 0 219 } 220 221 func (x *InterfaceState) GetPhysAddress() string { 222 if x != nil { 223 return x.PhysAddress 224 } 225 return "" 226 } 227 228 func (x *InterfaceState) GetSpeed() uint64 { 229 if x != nil { 230 return x.Speed 231 } 232 return 0 233 } 234 235 func (x *InterfaceState) GetMtu() uint32 { 236 if x != nil { 237 return x.Mtu 238 } 239 return 0 240 } 241 242 func (x *InterfaceState) GetStatistics() *InterfaceState_Statistics { 243 if x != nil { 244 return x.Statistics 245 } 246 return nil 247 } 248 249 type InterfaceNotification struct { 250 state protoimpl.MessageState 251 sizeCache protoimpl.SizeCache 252 unknownFields protoimpl.UnknownFields 253 254 Type InterfaceNotification_NotifType `protobuf:"varint,1,opt,name=type,proto3,enum=ligato.linux.interfaces.InterfaceNotification_NotifType" json:"type,omitempty"` 255 State *InterfaceState `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"` 256 } 257 258 func (x *InterfaceNotification) Reset() { 259 *x = InterfaceNotification{} 260 if protoimpl.UnsafeEnabled { 261 mi := &file_ligato_linux_interfaces_state_proto_msgTypes[1] 262 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 263 ms.StoreMessageInfo(mi) 264 } 265 } 266 267 func (x *InterfaceNotification) String() string { 268 return protoimpl.X.MessageStringOf(x) 269 } 270 271 func (*InterfaceNotification) ProtoMessage() {} 272 273 func (x *InterfaceNotification) ProtoReflect() protoreflect.Message { 274 mi := &file_ligato_linux_interfaces_state_proto_msgTypes[1] 275 if protoimpl.UnsafeEnabled && x != nil { 276 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 277 if ms.LoadMessageInfo() == nil { 278 ms.StoreMessageInfo(mi) 279 } 280 return ms 281 } 282 return mi.MessageOf(x) 283 } 284 285 // Deprecated: Use InterfaceNotification.ProtoReflect.Descriptor instead. 286 func (*InterfaceNotification) Descriptor() ([]byte, []int) { 287 return file_ligato_linux_interfaces_state_proto_rawDescGZIP(), []int{1} 288 } 289 290 func (x *InterfaceNotification) GetType() InterfaceNotification_NotifType { 291 if x != nil { 292 return x.Type 293 } 294 return InterfaceNotification_UNKNOWN 295 } 296 297 func (x *InterfaceNotification) GetState() *InterfaceState { 298 if x != nil { 299 return x.State 300 } 301 return nil 302 } 303 304 type InterfaceState_Statistics struct { 305 state protoimpl.MessageState 306 sizeCache protoimpl.SizeCache 307 unknownFields protoimpl.UnknownFields 308 309 InPackets uint64 `protobuf:"varint,1,opt,name=in_packets,json=inPackets,proto3" json:"in_packets,omitempty"` 310 InBytes uint64 `protobuf:"varint,2,opt,name=in_bytes,json=inBytes,proto3" json:"in_bytes,omitempty"` 311 OutPackets uint64 `protobuf:"varint,3,opt,name=out_packets,json=outPackets,proto3" json:"out_packets,omitempty"` 312 OutBytes uint64 `protobuf:"varint,4,opt,name=out_bytes,json=outBytes,proto3" json:"out_bytes,omitempty"` 313 DropPackets uint64 `protobuf:"varint,5,opt,name=drop_packets,json=dropPackets,proto3" json:"drop_packets,omitempty"` 314 InErrorPackets uint64 `protobuf:"varint,6,opt,name=in_error_packets,json=inErrorPackets,proto3" json:"in_error_packets,omitempty"` 315 OutErrorPackets uint64 `protobuf:"varint,7,opt,name=out_error_packets,json=outErrorPackets,proto3" json:"out_error_packets,omitempty"` 316 } 317 318 func (x *InterfaceState_Statistics) Reset() { 319 *x = InterfaceState_Statistics{} 320 if protoimpl.UnsafeEnabled { 321 mi := &file_ligato_linux_interfaces_state_proto_msgTypes[2] 322 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 323 ms.StoreMessageInfo(mi) 324 } 325 } 326 327 func (x *InterfaceState_Statistics) String() string { 328 return protoimpl.X.MessageStringOf(x) 329 } 330 331 func (*InterfaceState_Statistics) ProtoMessage() {} 332 333 func (x *InterfaceState_Statistics) ProtoReflect() protoreflect.Message { 334 mi := &file_ligato_linux_interfaces_state_proto_msgTypes[2] 335 if protoimpl.UnsafeEnabled && x != nil { 336 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 337 if ms.LoadMessageInfo() == nil { 338 ms.StoreMessageInfo(mi) 339 } 340 return ms 341 } 342 return mi.MessageOf(x) 343 } 344 345 // Deprecated: Use InterfaceState_Statistics.ProtoReflect.Descriptor instead. 346 func (*InterfaceState_Statistics) Descriptor() ([]byte, []int) { 347 return file_ligato_linux_interfaces_state_proto_rawDescGZIP(), []int{0, 0} 348 } 349 350 func (x *InterfaceState_Statistics) GetInPackets() uint64 { 351 if x != nil { 352 return x.InPackets 353 } 354 return 0 355 } 356 357 func (x *InterfaceState_Statistics) GetInBytes() uint64 { 358 if x != nil { 359 return x.InBytes 360 } 361 return 0 362 } 363 364 func (x *InterfaceState_Statistics) GetOutPackets() uint64 { 365 if x != nil { 366 return x.OutPackets 367 } 368 return 0 369 } 370 371 func (x *InterfaceState_Statistics) GetOutBytes() uint64 { 372 if x != nil { 373 return x.OutBytes 374 } 375 return 0 376 } 377 378 func (x *InterfaceState_Statistics) GetDropPackets() uint64 { 379 if x != nil { 380 return x.DropPackets 381 } 382 return 0 383 } 384 385 func (x *InterfaceState_Statistics) GetInErrorPackets() uint64 { 386 if x != nil { 387 return x.InErrorPackets 388 } 389 return 0 390 } 391 392 func (x *InterfaceState_Statistics) GetOutErrorPackets() uint64 { 393 if x != nil { 394 return x.OutErrorPackets 395 } 396 return 0 397 } 398 399 var File_ligato_linux_interfaces_state_proto protoreflect.FileDescriptor 400 401 var file_ligato_linux_interfaces_state_proto_rawDesc = []byte{ 402 0x0a, 0x23, 0x6c, 0x69, 0x67, 0x61, 0x74, 0x6f, 0x2f, 0x6c, 0x69, 0x6e, 0x75, 0x78, 0x2f, 0x69, 403 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x73, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x2e, 404 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x17, 0x6c, 0x69, 0x67, 0x61, 0x74, 0x6f, 0x2e, 0x6c, 0x69, 405 0x6e, 0x75, 0x78, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x73, 0x1a, 0x27, 406 0x6c, 0x69, 0x67, 0x61, 0x74, 0x6f, 0x2f, 0x6c, 0x69, 0x6e, 0x75, 0x78, 0x2f, 0x69, 0x6e, 0x74, 407 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x73, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 408 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x18, 0x6c, 0x69, 0x67, 0x61, 0x74, 0x6f, 0x2f, 409 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 410 0x6f, 0x22, 0xcc, 0x06, 0x0a, 0x0e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x53, 411 0x74, 0x61, 0x74, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 412 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x69, 0x6e, 0x74, 0x65, 413 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 414 0x0c, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x3b, 0x0a, 415 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x6c, 0x69, 416 0x67, 0x61, 0x74, 0x6f, 0x2e, 0x6c, 0x69, 0x6e, 0x75, 0x78, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 417 0x66, 0x61, 0x63, 0x65, 0x73, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x2e, 418 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x69, 0x66, 419 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x69, 0x66, 420 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x51, 0x0a, 0x0c, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x5f, 0x73, 421 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2e, 0x2e, 0x6c, 0x69, 422 0x67, 0x61, 0x74, 0x6f, 0x2e, 0x6c, 0x69, 0x6e, 0x75, 0x78, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 423 0x66, 0x61, 0x63, 0x65, 0x73, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x53, 424 0x74, 0x61, 0x74, 0x65, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x0b, 0x61, 0x64, 0x6d, 425 0x69, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x4f, 0x0a, 0x0b, 0x6f, 0x70, 0x65, 0x72, 426 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2e, 0x2e, 427 0x6c, 0x69, 0x67, 0x61, 0x74, 0x6f, 0x2e, 0x6c, 0x69, 0x6e, 0x75, 0x78, 0x2e, 0x69, 0x6e, 0x74, 428 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x73, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 429 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x0a, 0x6f, 430 0x70, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x6c, 0x61, 0x73, 431 0x74, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 432 0x6c, 0x61, 0x73, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x68, 433 0x79, 0x73, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 434 0x52, 0x0b, 0x70, 0x68, 0x79, 0x73, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x14, 0x0a, 435 0x05, 0x73, 0x70, 0x65, 0x65, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x73, 0x70, 436 0x65, 0x65, 0x64, 0x12, 0x1a, 0x0a, 0x03, 0x6d, 0x74, 0x75, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 437 0x42, 0x08, 0x82, 0x7d, 0x05, 0x12, 0x03, 0x10, 0x80, 0x48, 0x52, 0x03, 0x6d, 0x74, 0x75, 0x12, 438 0x52, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, 0x73, 0x18, 0x64, 0x20, 439 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x6c, 0x69, 0x67, 0x61, 0x74, 0x6f, 0x2e, 0x6c, 0x69, 0x6e, 440 0x75, 0x78, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x73, 0x2e, 0x49, 0x6e, 441 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x53, 0x74, 0x61, 442 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, 0x73, 0x52, 0x0a, 0x73, 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, 443 0x69, 0x63, 0x73, 0x1a, 0xfd, 0x01, 0x0a, 0x0a, 0x53, 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, 0x69, 444 0x63, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x6e, 0x5f, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x73, 445 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x69, 0x6e, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 446 0x73, 0x12, 0x19, 0x0a, 0x08, 0x69, 0x6e, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x02, 0x20, 447 0x01, 0x28, 0x04, 0x52, 0x07, 0x69, 0x6e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 448 0x6f, 0x75, 0x74, 0x5f, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 449 0x04, 0x52, 0x0a, 0x6f, 0x75, 0x74, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x73, 0x12, 0x1b, 0x0a, 450 0x09, 0x6f, 0x75, 0x74, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 451 0x52, 0x08, 0x6f, 0x75, 0x74, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x72, 452 0x6f, 0x70, 0x5f, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 453 0x52, 0x0b, 0x64, 0x72, 0x6f, 0x70, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x73, 0x12, 0x28, 0x0a, 454 0x10, 0x69, 0x6e, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x74, 455 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0e, 0x69, 0x6e, 0x45, 0x72, 0x72, 0x6f, 0x72, 456 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x73, 0x12, 0x2a, 0x0a, 0x11, 0x6f, 0x75, 0x74, 0x5f, 0x65, 457 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x73, 0x18, 0x07, 0x20, 0x01, 458 0x28, 0x04, 0x52, 0x0f, 0x6f, 0x75, 0x74, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x50, 0x61, 0x63, 0x6b, 459 0x65, 0x74, 0x73, 0x22, 0x3b, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x12, 0x0a, 460 0x0e, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x10, 461 0x00, 0x12, 0x06, 0x0a, 0x02, 0x55, 0x50, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x44, 0x4f, 0x57, 462 0x4e, 0x10, 0x02, 0x12, 0x0b, 0x0a, 0x07, 0x44, 0x45, 0x4c, 0x45, 0x54, 0x45, 0x44, 0x10, 0x03, 463 0x22, 0xca, 0x01, 0x0a, 0x15, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x4e, 0x6f, 464 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x4c, 0x0a, 0x04, 0x74, 0x79, 465 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x38, 0x2e, 0x6c, 0x69, 0x67, 0x61, 0x74, 466 0x6f, 0x2e, 0x6c, 0x69, 0x6e, 0x75, 0x78, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 467 0x65, 0x73, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x4e, 0x6f, 0x74, 0x69, 468 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x54, 0x79, 469 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x3d, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 470 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x6c, 0x69, 0x67, 0x61, 0x74, 0x6f, 471 0x2e, 0x6c, 0x69, 0x6e, 0x75, 0x78, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 472 0x73, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 473 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x22, 0x24, 0x0a, 0x09, 0x4e, 0x6f, 0x74, 0x69, 0x66, 474 0x54, 0x79, 0x70, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 475 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x55, 0x50, 0x44, 0x4f, 0x57, 0x4e, 0x10, 0x01, 0x42, 0x4a, 0x5a, 476 0x48, 0x67, 0x6f, 0x2e, 0x6c, 0x69, 0x67, 0x61, 0x74, 0x6f, 0x2e, 0x69, 0x6f, 0x2f, 0x76, 0x70, 477 0x70, 0x2d, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2f, 0x76, 0x33, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 478 0x2f, 0x6c, 0x69, 0x67, 0x61, 0x74, 0x6f, 0x2f, 0x6c, 0x69, 0x6e, 0x75, 0x78, 0x2f, 0x69, 0x6e, 479 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x73, 0x3b, 0x6c, 0x69, 0x6e, 0x75, 0x78, 0x5f, 0x69, 480 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 481 0x33, 482 } 483 484 var ( 485 file_ligato_linux_interfaces_state_proto_rawDescOnce sync.Once 486 file_ligato_linux_interfaces_state_proto_rawDescData = file_ligato_linux_interfaces_state_proto_rawDesc 487 ) 488 489 func file_ligato_linux_interfaces_state_proto_rawDescGZIP() []byte { 490 file_ligato_linux_interfaces_state_proto_rawDescOnce.Do(func() { 491 file_ligato_linux_interfaces_state_proto_rawDescData = protoimpl.X.CompressGZIP(file_ligato_linux_interfaces_state_proto_rawDescData) 492 }) 493 return file_ligato_linux_interfaces_state_proto_rawDescData 494 } 495 496 var file_ligato_linux_interfaces_state_proto_enumTypes = make([]protoimpl.EnumInfo, 2) 497 var file_ligato_linux_interfaces_state_proto_msgTypes = make([]protoimpl.MessageInfo, 3) 498 var file_ligato_linux_interfaces_state_proto_goTypes = []interface{}{ 499 (InterfaceState_Status)(0), // 0: ligato.linux.interfaces.InterfaceState.Status 500 (InterfaceNotification_NotifType)(0), // 1: ligato.linux.interfaces.InterfaceNotification.NotifType 501 (*InterfaceState)(nil), // 2: ligato.linux.interfaces.InterfaceState 502 (*InterfaceNotification)(nil), // 3: ligato.linux.interfaces.InterfaceNotification 503 (*InterfaceState_Statistics)(nil), // 4: ligato.linux.interfaces.InterfaceState.Statistics 504 (Interface_Type)(0), // 5: ligato.linux.interfaces.Interface.Type 505 } 506 var file_ligato_linux_interfaces_state_proto_depIdxs = []int32{ 507 5, // 0: ligato.linux.interfaces.InterfaceState.type:type_name -> ligato.linux.interfaces.Interface.Type 508 0, // 1: ligato.linux.interfaces.InterfaceState.admin_status:type_name -> ligato.linux.interfaces.InterfaceState.Status 509 0, // 2: ligato.linux.interfaces.InterfaceState.oper_status:type_name -> ligato.linux.interfaces.InterfaceState.Status 510 4, // 3: ligato.linux.interfaces.InterfaceState.statistics:type_name -> ligato.linux.interfaces.InterfaceState.Statistics 511 1, // 4: ligato.linux.interfaces.InterfaceNotification.type:type_name -> ligato.linux.interfaces.InterfaceNotification.NotifType 512 2, // 5: ligato.linux.interfaces.InterfaceNotification.state:type_name -> ligato.linux.interfaces.InterfaceState 513 6, // [6:6] is the sub-list for method output_type 514 6, // [6:6] is the sub-list for method input_type 515 6, // [6:6] is the sub-list for extension type_name 516 6, // [6:6] is the sub-list for extension extendee 517 0, // [0:6] is the sub-list for field type_name 518 } 519 520 func init() { file_ligato_linux_interfaces_state_proto_init() } 521 func file_ligato_linux_interfaces_state_proto_init() { 522 if File_ligato_linux_interfaces_state_proto != nil { 523 return 524 } 525 file_ligato_linux_interfaces_interface_proto_init() 526 if !protoimpl.UnsafeEnabled { 527 file_ligato_linux_interfaces_state_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 528 switch v := v.(*InterfaceState); i { 529 case 0: 530 return &v.state 531 case 1: 532 return &v.sizeCache 533 case 2: 534 return &v.unknownFields 535 default: 536 return nil 537 } 538 } 539 file_ligato_linux_interfaces_state_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 540 switch v := v.(*InterfaceNotification); i { 541 case 0: 542 return &v.state 543 case 1: 544 return &v.sizeCache 545 case 2: 546 return &v.unknownFields 547 default: 548 return nil 549 } 550 } 551 file_ligato_linux_interfaces_state_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 552 switch v := v.(*InterfaceState_Statistics); i { 553 case 0: 554 return &v.state 555 case 1: 556 return &v.sizeCache 557 case 2: 558 return &v.unknownFields 559 default: 560 return nil 561 } 562 } 563 } 564 type x struct{} 565 out := protoimpl.TypeBuilder{ 566 File: protoimpl.DescBuilder{ 567 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 568 RawDescriptor: file_ligato_linux_interfaces_state_proto_rawDesc, 569 NumEnums: 2, 570 NumMessages: 3, 571 NumExtensions: 0, 572 NumServices: 0, 573 }, 574 GoTypes: file_ligato_linux_interfaces_state_proto_goTypes, 575 DependencyIndexes: file_ligato_linux_interfaces_state_proto_depIdxs, 576 EnumInfos: file_ligato_linux_interfaces_state_proto_enumTypes, 577 MessageInfos: file_ligato_linux_interfaces_state_proto_msgTypes, 578 }.Build() 579 File_ligato_linux_interfaces_state_proto = out.File 580 file_ligato_linux_interfaces_state_proto_rawDesc = nil 581 file_ligato_linux_interfaces_state_proto_goTypes = nil 582 file_ligato_linux_interfaces_state_proto_depIdxs = nil 583 }