go.ligato.io/vpp-agent/v3@v3.5.0/proto/ligato/vpp/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/vpp/interfaces/state.proto 6 7 package vpp_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_vpp_interfaces_state_proto_enumTypes[0].Descriptor() 61 } 62 63 func (InterfaceState_Status) Type() protoreflect.EnumType { 64 return &file_ligato_vpp_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_vpp_interfaces_state_proto_rawDescGZIP(), []int{1, 0} 74 } 75 76 type InterfaceState_Duplex int32 77 78 const ( 79 InterfaceState_UNKNOWN_DUPLEX InterfaceState_Duplex = 0 80 InterfaceState_HALF InterfaceState_Duplex = 1 81 InterfaceState_FULL InterfaceState_Duplex = 2 82 ) 83 84 // Enum value maps for InterfaceState_Duplex. 85 var ( 86 InterfaceState_Duplex_name = map[int32]string{ 87 0: "UNKNOWN_DUPLEX", 88 1: "HALF", 89 2: "FULL", 90 } 91 InterfaceState_Duplex_value = map[string]int32{ 92 "UNKNOWN_DUPLEX": 0, 93 "HALF": 1, 94 "FULL": 2, 95 } 96 ) 97 98 func (x InterfaceState_Duplex) Enum() *InterfaceState_Duplex { 99 p := new(InterfaceState_Duplex) 100 *p = x 101 return p 102 } 103 104 func (x InterfaceState_Duplex) String() string { 105 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 106 } 107 108 func (InterfaceState_Duplex) Descriptor() protoreflect.EnumDescriptor { 109 return file_ligato_vpp_interfaces_state_proto_enumTypes[1].Descriptor() 110 } 111 112 func (InterfaceState_Duplex) Type() protoreflect.EnumType { 113 return &file_ligato_vpp_interfaces_state_proto_enumTypes[1] 114 } 115 116 func (x InterfaceState_Duplex) Number() protoreflect.EnumNumber { 117 return protoreflect.EnumNumber(x) 118 } 119 120 // Deprecated: Use InterfaceState_Duplex.Descriptor instead. 121 func (InterfaceState_Duplex) EnumDescriptor() ([]byte, []int) { 122 return file_ligato_vpp_interfaces_state_proto_rawDescGZIP(), []int{1, 1} 123 } 124 125 type InterfaceNotification_NotifType int32 126 127 const ( 128 InterfaceNotification_UNKNOWN InterfaceNotification_NotifType = 0 129 InterfaceNotification_UPDOWN InterfaceNotification_NotifType = 1 130 InterfaceNotification_COUNTERS InterfaceNotification_NotifType = 2 131 ) 132 133 // Enum value maps for InterfaceNotification_NotifType. 134 var ( 135 InterfaceNotification_NotifType_name = map[int32]string{ 136 0: "UNKNOWN", 137 1: "UPDOWN", 138 2: "COUNTERS", 139 } 140 InterfaceNotification_NotifType_value = map[string]int32{ 141 "UNKNOWN": 0, 142 "UPDOWN": 1, 143 "COUNTERS": 2, 144 } 145 ) 146 147 func (x InterfaceNotification_NotifType) Enum() *InterfaceNotification_NotifType { 148 p := new(InterfaceNotification_NotifType) 149 *p = x 150 return p 151 } 152 153 func (x InterfaceNotification_NotifType) String() string { 154 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 155 } 156 157 func (InterfaceNotification_NotifType) Descriptor() protoreflect.EnumDescriptor { 158 return file_ligato_vpp_interfaces_state_proto_enumTypes[2].Descriptor() 159 } 160 161 func (InterfaceNotification_NotifType) Type() protoreflect.EnumType { 162 return &file_ligato_vpp_interfaces_state_proto_enumTypes[2] 163 } 164 165 func (x InterfaceNotification_NotifType) Number() protoreflect.EnumNumber { 166 return protoreflect.EnumNumber(x) 167 } 168 169 // Deprecated: Use InterfaceNotification_NotifType.Descriptor instead. 170 func (InterfaceNotification_NotifType) EnumDescriptor() ([]byte, []int) { 171 return file_ligato_vpp_interfaces_state_proto_rawDescGZIP(), []int{2, 0} 172 } 173 174 type InterfaceStats struct { 175 state protoimpl.MessageState 176 sizeCache protoimpl.SizeCache 177 unknownFields protoimpl.UnknownFields 178 179 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 180 Rx *InterfaceStats_CombinedCounter `protobuf:"bytes,2,opt,name=rx,proto3" json:"rx,omitempty"` 181 Tx *InterfaceStats_CombinedCounter `protobuf:"bytes,3,opt,name=tx,proto3" json:"tx,omitempty"` 182 RxUnicast *InterfaceStats_CombinedCounter `protobuf:"bytes,4,opt,name=rx_unicast,json=rxUnicast,proto3" json:"rx_unicast,omitempty"` 183 RxMulticast *InterfaceStats_CombinedCounter `protobuf:"bytes,5,opt,name=rx_multicast,json=rxMulticast,proto3" json:"rx_multicast,omitempty"` 184 RxBroadcast *InterfaceStats_CombinedCounter `protobuf:"bytes,6,opt,name=rx_broadcast,json=rxBroadcast,proto3" json:"rx_broadcast,omitempty"` 185 TxUnicast *InterfaceStats_CombinedCounter `protobuf:"bytes,7,opt,name=tx_unicast,json=txUnicast,proto3" json:"tx_unicast,omitempty"` 186 TxMulticast *InterfaceStats_CombinedCounter `protobuf:"bytes,8,opt,name=tx_multicast,json=txMulticast,proto3" json:"tx_multicast,omitempty"` 187 TxBroadcast *InterfaceStats_CombinedCounter `protobuf:"bytes,9,opt,name=tx_broadcast,json=txBroadcast,proto3" json:"tx_broadcast,omitempty"` 188 RxError uint64 `protobuf:"varint,12,opt,name=rx_error,json=rxError,proto3" json:"rx_error,omitempty"` 189 TxError uint64 `protobuf:"varint,13,opt,name=tx_error,json=txError,proto3" json:"tx_error,omitempty"` 190 RxNoBuf uint64 `protobuf:"varint,10,opt,name=rx_no_buf,json=rxNoBuf,proto3" json:"rx_no_buf,omitempty"` 191 RxMiss uint64 `protobuf:"varint,11,opt,name=rx_miss,json=rxMiss,proto3" json:"rx_miss,omitempty"` 192 Drops uint64 `protobuf:"varint,14,opt,name=drops,proto3" json:"drops,omitempty"` 193 Punts uint64 `protobuf:"varint,15,opt,name=punts,proto3" json:"punts,omitempty"` 194 Ip4 uint64 `protobuf:"varint,16,opt,name=ip4,proto3" json:"ip4,omitempty"` 195 Ip6 uint64 `protobuf:"varint,17,opt,name=ip6,proto3" json:"ip6,omitempty"` 196 Mpls uint64 `protobuf:"varint,18,opt,name=mpls,proto3" json:"mpls,omitempty"` 197 } 198 199 func (x *InterfaceStats) Reset() { 200 *x = InterfaceStats{} 201 if protoimpl.UnsafeEnabled { 202 mi := &file_ligato_vpp_interfaces_state_proto_msgTypes[0] 203 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 204 ms.StoreMessageInfo(mi) 205 } 206 } 207 208 func (x *InterfaceStats) String() string { 209 return protoimpl.X.MessageStringOf(x) 210 } 211 212 func (*InterfaceStats) ProtoMessage() {} 213 214 func (x *InterfaceStats) ProtoReflect() protoreflect.Message { 215 mi := &file_ligato_vpp_interfaces_state_proto_msgTypes[0] 216 if protoimpl.UnsafeEnabled && x != nil { 217 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 218 if ms.LoadMessageInfo() == nil { 219 ms.StoreMessageInfo(mi) 220 } 221 return ms 222 } 223 return mi.MessageOf(x) 224 } 225 226 // Deprecated: Use InterfaceStats.ProtoReflect.Descriptor instead. 227 func (*InterfaceStats) Descriptor() ([]byte, []int) { 228 return file_ligato_vpp_interfaces_state_proto_rawDescGZIP(), []int{0} 229 } 230 231 func (x *InterfaceStats) GetName() string { 232 if x != nil { 233 return x.Name 234 } 235 return "" 236 } 237 238 func (x *InterfaceStats) GetRx() *InterfaceStats_CombinedCounter { 239 if x != nil { 240 return x.Rx 241 } 242 return nil 243 } 244 245 func (x *InterfaceStats) GetTx() *InterfaceStats_CombinedCounter { 246 if x != nil { 247 return x.Tx 248 } 249 return nil 250 } 251 252 func (x *InterfaceStats) GetRxUnicast() *InterfaceStats_CombinedCounter { 253 if x != nil { 254 return x.RxUnicast 255 } 256 return nil 257 } 258 259 func (x *InterfaceStats) GetRxMulticast() *InterfaceStats_CombinedCounter { 260 if x != nil { 261 return x.RxMulticast 262 } 263 return nil 264 } 265 266 func (x *InterfaceStats) GetRxBroadcast() *InterfaceStats_CombinedCounter { 267 if x != nil { 268 return x.RxBroadcast 269 } 270 return nil 271 } 272 273 func (x *InterfaceStats) GetTxUnicast() *InterfaceStats_CombinedCounter { 274 if x != nil { 275 return x.TxUnicast 276 } 277 return nil 278 } 279 280 func (x *InterfaceStats) GetTxMulticast() *InterfaceStats_CombinedCounter { 281 if x != nil { 282 return x.TxMulticast 283 } 284 return nil 285 } 286 287 func (x *InterfaceStats) GetTxBroadcast() *InterfaceStats_CombinedCounter { 288 if x != nil { 289 return x.TxBroadcast 290 } 291 return nil 292 } 293 294 func (x *InterfaceStats) GetRxError() uint64 { 295 if x != nil { 296 return x.RxError 297 } 298 return 0 299 } 300 301 func (x *InterfaceStats) GetTxError() uint64 { 302 if x != nil { 303 return x.TxError 304 } 305 return 0 306 } 307 308 func (x *InterfaceStats) GetRxNoBuf() uint64 { 309 if x != nil { 310 return x.RxNoBuf 311 } 312 return 0 313 } 314 315 func (x *InterfaceStats) GetRxMiss() uint64 { 316 if x != nil { 317 return x.RxMiss 318 } 319 return 0 320 } 321 322 func (x *InterfaceStats) GetDrops() uint64 { 323 if x != nil { 324 return x.Drops 325 } 326 return 0 327 } 328 329 func (x *InterfaceStats) GetPunts() uint64 { 330 if x != nil { 331 return x.Punts 332 } 333 return 0 334 } 335 336 func (x *InterfaceStats) GetIp4() uint64 { 337 if x != nil { 338 return x.Ip4 339 } 340 return 0 341 } 342 343 func (x *InterfaceStats) GetIp6() uint64 { 344 if x != nil { 345 return x.Ip6 346 } 347 return 0 348 } 349 350 func (x *InterfaceStats) GetMpls() uint64 { 351 if x != nil { 352 return x.Mpls 353 } 354 return 0 355 } 356 357 type InterfaceState struct { 358 state protoimpl.MessageState 359 sizeCache protoimpl.SizeCache 360 unknownFields protoimpl.UnknownFields 361 362 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 363 InternalName string `protobuf:"bytes,2,opt,name=internal_name,json=internalName,proto3" json:"internal_name,omitempty"` 364 Type Interface_Type `protobuf:"varint,3,opt,name=type,proto3,enum=ligato.vpp.interfaces.Interface_Type" json:"type,omitempty"` 365 IfIndex uint32 `protobuf:"varint,4,opt,name=if_index,json=ifIndex,proto3" json:"if_index,omitempty"` 366 AdminStatus InterfaceState_Status `protobuf:"varint,5,opt,name=admin_status,json=adminStatus,proto3,enum=ligato.vpp.interfaces.InterfaceState_Status" json:"admin_status,omitempty"` 367 OperStatus InterfaceState_Status `protobuf:"varint,6,opt,name=oper_status,json=operStatus,proto3,enum=ligato.vpp.interfaces.InterfaceState_Status" json:"oper_status,omitempty"` 368 LastChange int64 `protobuf:"varint,7,opt,name=last_change,json=lastChange,proto3" json:"last_change,omitempty"` 369 PhysAddress string `protobuf:"bytes,8,opt,name=phys_address,json=physAddress,proto3" json:"phys_address,omitempty"` 370 Speed uint64 `protobuf:"varint,9,opt,name=speed,proto3" json:"speed,omitempty"` 371 Mtu uint32 `protobuf:"varint,10,opt,name=mtu,proto3" json:"mtu,omitempty"` 372 Duplex InterfaceState_Duplex `protobuf:"varint,11,opt,name=duplex,proto3,enum=ligato.vpp.interfaces.InterfaceState_Duplex" json:"duplex,omitempty"` 373 Statistics *InterfaceState_Statistics `protobuf:"bytes,100,opt,name=statistics,proto3" json:"statistics,omitempty"` 374 } 375 376 func (x *InterfaceState) Reset() { 377 *x = InterfaceState{} 378 if protoimpl.UnsafeEnabled { 379 mi := &file_ligato_vpp_interfaces_state_proto_msgTypes[1] 380 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 381 ms.StoreMessageInfo(mi) 382 } 383 } 384 385 func (x *InterfaceState) String() string { 386 return protoimpl.X.MessageStringOf(x) 387 } 388 389 func (*InterfaceState) ProtoMessage() {} 390 391 func (x *InterfaceState) ProtoReflect() protoreflect.Message { 392 mi := &file_ligato_vpp_interfaces_state_proto_msgTypes[1] 393 if protoimpl.UnsafeEnabled && x != nil { 394 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 395 if ms.LoadMessageInfo() == nil { 396 ms.StoreMessageInfo(mi) 397 } 398 return ms 399 } 400 return mi.MessageOf(x) 401 } 402 403 // Deprecated: Use InterfaceState.ProtoReflect.Descriptor instead. 404 func (*InterfaceState) Descriptor() ([]byte, []int) { 405 return file_ligato_vpp_interfaces_state_proto_rawDescGZIP(), []int{1} 406 } 407 408 func (x *InterfaceState) GetName() string { 409 if x != nil { 410 return x.Name 411 } 412 return "" 413 } 414 415 func (x *InterfaceState) GetInternalName() string { 416 if x != nil { 417 return x.InternalName 418 } 419 return "" 420 } 421 422 func (x *InterfaceState) GetType() Interface_Type { 423 if x != nil { 424 return x.Type 425 } 426 return Interface_UNDEFINED_TYPE 427 } 428 429 func (x *InterfaceState) GetIfIndex() uint32 { 430 if x != nil { 431 return x.IfIndex 432 } 433 return 0 434 } 435 436 func (x *InterfaceState) GetAdminStatus() InterfaceState_Status { 437 if x != nil { 438 return x.AdminStatus 439 } 440 return InterfaceState_UNKNOWN_STATUS 441 } 442 443 func (x *InterfaceState) GetOperStatus() InterfaceState_Status { 444 if x != nil { 445 return x.OperStatus 446 } 447 return InterfaceState_UNKNOWN_STATUS 448 } 449 450 func (x *InterfaceState) GetLastChange() int64 { 451 if x != nil { 452 return x.LastChange 453 } 454 return 0 455 } 456 457 func (x *InterfaceState) GetPhysAddress() string { 458 if x != nil { 459 return x.PhysAddress 460 } 461 return "" 462 } 463 464 func (x *InterfaceState) GetSpeed() uint64 { 465 if x != nil { 466 return x.Speed 467 } 468 return 0 469 } 470 471 func (x *InterfaceState) GetMtu() uint32 { 472 if x != nil { 473 return x.Mtu 474 } 475 return 0 476 } 477 478 func (x *InterfaceState) GetDuplex() InterfaceState_Duplex { 479 if x != nil { 480 return x.Duplex 481 } 482 return InterfaceState_UNKNOWN_DUPLEX 483 } 484 485 func (x *InterfaceState) GetStatistics() *InterfaceState_Statistics { 486 if x != nil { 487 return x.Statistics 488 } 489 return nil 490 } 491 492 type InterfaceNotification struct { 493 state protoimpl.MessageState 494 sizeCache protoimpl.SizeCache 495 unknownFields protoimpl.UnknownFields 496 497 Type InterfaceNotification_NotifType `protobuf:"varint,1,opt,name=type,proto3,enum=ligato.vpp.interfaces.InterfaceNotification_NotifType" json:"type,omitempty"` 498 State *InterfaceState `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"` 499 } 500 501 func (x *InterfaceNotification) Reset() { 502 *x = InterfaceNotification{} 503 if protoimpl.UnsafeEnabled { 504 mi := &file_ligato_vpp_interfaces_state_proto_msgTypes[2] 505 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 506 ms.StoreMessageInfo(mi) 507 } 508 } 509 510 func (x *InterfaceNotification) String() string { 511 return protoimpl.X.MessageStringOf(x) 512 } 513 514 func (*InterfaceNotification) ProtoMessage() {} 515 516 func (x *InterfaceNotification) ProtoReflect() protoreflect.Message { 517 mi := &file_ligato_vpp_interfaces_state_proto_msgTypes[2] 518 if protoimpl.UnsafeEnabled && x != nil { 519 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 520 if ms.LoadMessageInfo() == nil { 521 ms.StoreMessageInfo(mi) 522 } 523 return ms 524 } 525 return mi.MessageOf(x) 526 } 527 528 // Deprecated: Use InterfaceNotification.ProtoReflect.Descriptor instead. 529 func (*InterfaceNotification) Descriptor() ([]byte, []int) { 530 return file_ligato_vpp_interfaces_state_proto_rawDescGZIP(), []int{2} 531 } 532 533 func (x *InterfaceNotification) GetType() InterfaceNotification_NotifType { 534 if x != nil { 535 return x.Type 536 } 537 return InterfaceNotification_UNKNOWN 538 } 539 540 func (x *InterfaceNotification) GetState() *InterfaceState { 541 if x != nil { 542 return x.State 543 } 544 return nil 545 } 546 547 type InterfaceStats_CombinedCounter struct { 548 state protoimpl.MessageState 549 sizeCache protoimpl.SizeCache 550 unknownFields protoimpl.UnknownFields 551 552 Packets uint64 `protobuf:"varint,1,opt,name=packets,proto3" json:"packets,omitempty"` 553 Bytes uint64 `protobuf:"varint,2,opt,name=bytes,proto3" json:"bytes,omitempty"` 554 } 555 556 func (x *InterfaceStats_CombinedCounter) Reset() { 557 *x = InterfaceStats_CombinedCounter{} 558 if protoimpl.UnsafeEnabled { 559 mi := &file_ligato_vpp_interfaces_state_proto_msgTypes[3] 560 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 561 ms.StoreMessageInfo(mi) 562 } 563 } 564 565 func (x *InterfaceStats_CombinedCounter) String() string { 566 return protoimpl.X.MessageStringOf(x) 567 } 568 569 func (*InterfaceStats_CombinedCounter) ProtoMessage() {} 570 571 func (x *InterfaceStats_CombinedCounter) ProtoReflect() protoreflect.Message { 572 mi := &file_ligato_vpp_interfaces_state_proto_msgTypes[3] 573 if protoimpl.UnsafeEnabled && x != nil { 574 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 575 if ms.LoadMessageInfo() == nil { 576 ms.StoreMessageInfo(mi) 577 } 578 return ms 579 } 580 return mi.MessageOf(x) 581 } 582 583 // Deprecated: Use InterfaceStats_CombinedCounter.ProtoReflect.Descriptor instead. 584 func (*InterfaceStats_CombinedCounter) Descriptor() ([]byte, []int) { 585 return file_ligato_vpp_interfaces_state_proto_rawDescGZIP(), []int{0, 0} 586 } 587 588 func (x *InterfaceStats_CombinedCounter) GetPackets() uint64 { 589 if x != nil { 590 return x.Packets 591 } 592 return 0 593 } 594 595 func (x *InterfaceStats_CombinedCounter) GetBytes() uint64 { 596 if x != nil { 597 return x.Bytes 598 } 599 return 0 600 } 601 602 type InterfaceState_Statistics struct { 603 state protoimpl.MessageState 604 sizeCache protoimpl.SizeCache 605 unknownFields protoimpl.UnknownFields 606 607 InPackets uint64 `protobuf:"varint,1,opt,name=in_packets,json=inPackets,proto3" json:"in_packets,omitempty"` 608 InBytes uint64 `protobuf:"varint,2,opt,name=in_bytes,json=inBytes,proto3" json:"in_bytes,omitempty"` 609 OutPackets uint64 `protobuf:"varint,3,opt,name=out_packets,json=outPackets,proto3" json:"out_packets,omitempty"` 610 OutBytes uint64 `protobuf:"varint,4,opt,name=out_bytes,json=outBytes,proto3" json:"out_bytes,omitempty"` 611 DropPackets uint64 `protobuf:"varint,5,opt,name=drop_packets,json=dropPackets,proto3" json:"drop_packets,omitempty"` 612 PuntPackets uint64 `protobuf:"varint,6,opt,name=punt_packets,json=puntPackets,proto3" json:"punt_packets,omitempty"` 613 Ipv4Packets uint64 `protobuf:"varint,7,opt,name=ipv4_packets,json=ipv4Packets,proto3" json:"ipv4_packets,omitempty"` 614 Ipv6Packets uint64 `protobuf:"varint,8,opt,name=ipv6_packets,json=ipv6Packets,proto3" json:"ipv6_packets,omitempty"` 615 InNobufPackets uint64 `protobuf:"varint,9,opt,name=in_nobuf_packets,json=inNobufPackets,proto3" json:"in_nobuf_packets,omitempty"` 616 InMissPackets uint64 `protobuf:"varint,10,opt,name=in_miss_packets,json=inMissPackets,proto3" json:"in_miss_packets,omitempty"` 617 InErrorPackets uint64 `protobuf:"varint,11,opt,name=in_error_packets,json=inErrorPackets,proto3" json:"in_error_packets,omitempty"` 618 OutErrorPackets uint64 `protobuf:"varint,12,opt,name=out_error_packets,json=outErrorPackets,proto3" json:"out_error_packets,omitempty"` 619 } 620 621 func (x *InterfaceState_Statistics) Reset() { 622 *x = InterfaceState_Statistics{} 623 if protoimpl.UnsafeEnabled { 624 mi := &file_ligato_vpp_interfaces_state_proto_msgTypes[4] 625 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 626 ms.StoreMessageInfo(mi) 627 } 628 } 629 630 func (x *InterfaceState_Statistics) String() string { 631 return protoimpl.X.MessageStringOf(x) 632 } 633 634 func (*InterfaceState_Statistics) ProtoMessage() {} 635 636 func (x *InterfaceState_Statistics) ProtoReflect() protoreflect.Message { 637 mi := &file_ligato_vpp_interfaces_state_proto_msgTypes[4] 638 if protoimpl.UnsafeEnabled && x != nil { 639 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 640 if ms.LoadMessageInfo() == nil { 641 ms.StoreMessageInfo(mi) 642 } 643 return ms 644 } 645 return mi.MessageOf(x) 646 } 647 648 // Deprecated: Use InterfaceState_Statistics.ProtoReflect.Descriptor instead. 649 func (*InterfaceState_Statistics) Descriptor() ([]byte, []int) { 650 return file_ligato_vpp_interfaces_state_proto_rawDescGZIP(), []int{1, 0} 651 } 652 653 func (x *InterfaceState_Statistics) GetInPackets() uint64 { 654 if x != nil { 655 return x.InPackets 656 } 657 return 0 658 } 659 660 func (x *InterfaceState_Statistics) GetInBytes() uint64 { 661 if x != nil { 662 return x.InBytes 663 } 664 return 0 665 } 666 667 func (x *InterfaceState_Statistics) GetOutPackets() uint64 { 668 if x != nil { 669 return x.OutPackets 670 } 671 return 0 672 } 673 674 func (x *InterfaceState_Statistics) GetOutBytes() uint64 { 675 if x != nil { 676 return x.OutBytes 677 } 678 return 0 679 } 680 681 func (x *InterfaceState_Statistics) GetDropPackets() uint64 { 682 if x != nil { 683 return x.DropPackets 684 } 685 return 0 686 } 687 688 func (x *InterfaceState_Statistics) GetPuntPackets() uint64 { 689 if x != nil { 690 return x.PuntPackets 691 } 692 return 0 693 } 694 695 func (x *InterfaceState_Statistics) GetIpv4Packets() uint64 { 696 if x != nil { 697 return x.Ipv4Packets 698 } 699 return 0 700 } 701 702 func (x *InterfaceState_Statistics) GetIpv6Packets() uint64 { 703 if x != nil { 704 return x.Ipv6Packets 705 } 706 return 0 707 } 708 709 func (x *InterfaceState_Statistics) GetInNobufPackets() uint64 { 710 if x != nil { 711 return x.InNobufPackets 712 } 713 return 0 714 } 715 716 func (x *InterfaceState_Statistics) GetInMissPackets() uint64 { 717 if x != nil { 718 return x.InMissPackets 719 } 720 return 0 721 } 722 723 func (x *InterfaceState_Statistics) GetInErrorPackets() uint64 { 724 if x != nil { 725 return x.InErrorPackets 726 } 727 return 0 728 } 729 730 func (x *InterfaceState_Statistics) GetOutErrorPackets() uint64 { 731 if x != nil { 732 return x.OutErrorPackets 733 } 734 return 0 735 } 736 737 var File_ligato_vpp_interfaces_state_proto protoreflect.FileDescriptor 738 739 var file_ligato_vpp_interfaces_state_proto_rawDesc = []byte{ 740 0x0a, 0x21, 0x6c, 0x69, 0x67, 0x61, 0x74, 0x6f, 0x2f, 0x76, 0x70, 0x70, 0x2f, 0x69, 0x6e, 0x74, 741 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x73, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 742 0x6f, 0x74, 0x6f, 0x12, 0x15, 0x6c, 0x69, 0x67, 0x61, 0x74, 0x6f, 0x2e, 0x76, 0x70, 0x70, 0x2e, 743 0x69, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x73, 0x1a, 0x25, 0x6c, 0x69, 0x67, 0x61, 744 0x74, 0x6f, 0x2f, 0x76, 0x70, 0x70, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 745 0x73, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 746 0x6f, 0x1a, 0x18, 0x6c, 0x69, 0x67, 0x61, 0x74, 0x6f, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 747 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd8, 0x07, 0x0a, 0x0e, 748 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x73, 0x12, 0x12, 749 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 750 0x6d, 0x65, 0x12, 0x45, 0x0a, 0x02, 0x72, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x35, 751 0x2e, 0x6c, 0x69, 0x67, 0x61, 0x74, 0x6f, 0x2e, 0x76, 0x70, 0x70, 0x2e, 0x69, 0x6e, 0x74, 0x65, 752 0x72, 0x66, 0x61, 0x63, 0x65, 0x73, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 753 0x53, 0x74, 0x61, 0x74, 0x73, 0x2e, 0x43, 0x6f, 0x6d, 0x62, 0x69, 0x6e, 0x65, 0x64, 0x43, 0x6f, 754 0x75, 0x6e, 0x74, 0x65, 0x72, 0x52, 0x02, 0x72, 0x78, 0x12, 0x45, 0x0a, 0x02, 0x74, 0x78, 0x18, 755 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x6c, 0x69, 0x67, 0x61, 0x74, 0x6f, 0x2e, 0x76, 756 0x70, 0x70, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x73, 0x2e, 0x49, 0x6e, 757 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x73, 0x2e, 0x43, 0x6f, 0x6d, 758 0x62, 0x69, 0x6e, 0x65, 0x64, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x52, 0x02, 0x74, 0x78, 759 0x12, 0x54, 0x0a, 0x0a, 0x72, 0x78, 0x5f, 0x75, 0x6e, 0x69, 0x63, 0x61, 0x73, 0x74, 0x18, 0x04, 760 0x20, 0x01, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x6c, 0x69, 0x67, 0x61, 0x74, 0x6f, 0x2e, 0x76, 0x70, 761 0x70, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x73, 0x2e, 0x49, 0x6e, 0x74, 762 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x73, 0x2e, 0x43, 0x6f, 0x6d, 0x62, 763 0x69, 0x6e, 0x65, 0x64, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x52, 0x09, 0x72, 0x78, 0x55, 764 0x6e, 0x69, 0x63, 0x61, 0x73, 0x74, 0x12, 0x58, 0x0a, 0x0c, 0x72, 0x78, 0x5f, 0x6d, 0x75, 0x6c, 765 0x74, 0x69, 0x63, 0x61, 0x73, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x6c, 766 0x69, 0x67, 0x61, 0x74, 0x6f, 0x2e, 0x76, 0x70, 0x70, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x66, 767 0x61, 0x63, 0x65, 0x73, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x53, 0x74, 768 0x61, 0x74, 0x73, 0x2e, 0x43, 0x6f, 0x6d, 0x62, 0x69, 0x6e, 0x65, 0x64, 0x43, 0x6f, 0x75, 0x6e, 769 0x74, 0x65, 0x72, 0x52, 0x0b, 0x72, 0x78, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x63, 0x61, 0x73, 0x74, 770 0x12, 0x58, 0x0a, 0x0c, 0x72, 0x78, 0x5f, 0x62, 0x72, 0x6f, 0x61, 0x64, 0x63, 0x61, 0x73, 0x74, 771 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x6c, 0x69, 0x67, 0x61, 0x74, 0x6f, 0x2e, 772 0x76, 0x70, 0x70, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x73, 0x2e, 0x49, 773 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x73, 0x2e, 0x43, 0x6f, 774 0x6d, 0x62, 0x69, 0x6e, 0x65, 0x64, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x52, 0x0b, 0x72, 775 0x78, 0x42, 0x72, 0x6f, 0x61, 0x64, 0x63, 0x61, 0x73, 0x74, 0x12, 0x54, 0x0a, 0x0a, 0x74, 0x78, 776 0x5f, 0x75, 0x6e, 0x69, 0x63, 0x61, 0x73, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x35, 777 0x2e, 0x6c, 0x69, 0x67, 0x61, 0x74, 0x6f, 0x2e, 0x76, 0x70, 0x70, 0x2e, 0x69, 0x6e, 0x74, 0x65, 778 0x72, 0x66, 0x61, 0x63, 0x65, 0x73, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 779 0x53, 0x74, 0x61, 0x74, 0x73, 0x2e, 0x43, 0x6f, 0x6d, 0x62, 0x69, 0x6e, 0x65, 0x64, 0x43, 0x6f, 780 0x75, 0x6e, 0x74, 0x65, 0x72, 0x52, 0x09, 0x74, 0x78, 0x55, 0x6e, 0x69, 0x63, 0x61, 0x73, 0x74, 781 0x12, 0x58, 0x0a, 0x0c, 0x74, 0x78, 0x5f, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x63, 0x61, 0x73, 0x74, 782 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x6c, 0x69, 0x67, 0x61, 0x74, 0x6f, 0x2e, 783 0x76, 0x70, 0x70, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x73, 0x2e, 0x49, 784 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x73, 0x2e, 0x43, 0x6f, 785 0x6d, 0x62, 0x69, 0x6e, 0x65, 0x64, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x52, 0x0b, 0x74, 786 0x78, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x63, 0x61, 0x73, 0x74, 0x12, 0x58, 0x0a, 0x0c, 0x74, 0x78, 787 0x5f, 0x62, 0x72, 0x6f, 0x61, 0x64, 0x63, 0x61, 0x73, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 788 0x32, 0x35, 0x2e, 0x6c, 0x69, 0x67, 0x61, 0x74, 0x6f, 0x2e, 0x76, 0x70, 0x70, 0x2e, 0x69, 0x6e, 789 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x73, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 790 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x73, 0x2e, 0x43, 0x6f, 0x6d, 0x62, 0x69, 0x6e, 0x65, 0x64, 791 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x52, 0x0b, 0x74, 0x78, 0x42, 0x72, 0x6f, 0x61, 0x64, 792 0x63, 0x61, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x72, 0x78, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 793 0x18, 0x0c, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x72, 0x78, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 794 0x19, 0x0a, 0x08, 0x74, 0x78, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x0d, 0x20, 0x01, 0x28, 795 0x04, 0x52, 0x07, 0x74, 0x78, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x1a, 0x0a, 0x09, 0x72, 0x78, 796 0x5f, 0x6e, 0x6f, 0x5f, 0x62, 0x75, 0x66, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x72, 797 0x78, 0x4e, 0x6f, 0x42, 0x75, 0x66, 0x12, 0x17, 0x0a, 0x07, 0x72, 0x78, 0x5f, 0x6d, 0x69, 0x73, 798 0x73, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x72, 0x78, 0x4d, 0x69, 0x73, 0x73, 0x12, 799 0x14, 0x0a, 0x05, 0x64, 0x72, 0x6f, 0x70, 0x73, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 800 0x64, 0x72, 0x6f, 0x70, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x75, 0x6e, 0x74, 0x73, 0x18, 0x0f, 801 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x70, 0x75, 0x6e, 0x74, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x69, 802 0x70, 0x34, 0x18, 0x10, 0x20, 0x01, 0x28, 0x04, 0x52, 0x03, 0x69, 0x70, 0x34, 0x12, 0x10, 0x0a, 803 0x03, 0x69, 0x70, 0x36, 0x18, 0x11, 0x20, 0x01, 0x28, 0x04, 0x52, 0x03, 0x69, 0x70, 0x36, 0x12, 804 0x12, 0x0a, 0x04, 0x6d, 0x70, 0x6c, 0x73, 0x18, 0x12, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x6d, 805 0x70, 0x6c, 0x73, 0x1a, 0x41, 0x0a, 0x0f, 0x43, 0x6f, 0x6d, 0x62, 0x69, 0x6e, 0x65, 0x64, 0x43, 806 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x74, 807 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x73, 808 0x12, 0x14, 0x0a, 0x05, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 809 0x05, 0x62, 0x79, 0x74, 0x65, 0x73, 0x22, 0xf7, 0x08, 0x0a, 0x0e, 0x49, 0x6e, 0x74, 0x65, 0x72, 810 0x66, 0x61, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 811 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x23, 0x0a, 812 0x0d, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 813 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x4e, 0x61, 814 0x6d, 0x65, 0x12, 0x39, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 815 0x32, 0x25, 0x2e, 0x6c, 0x69, 0x67, 0x61, 0x74, 0x6f, 0x2e, 0x76, 0x70, 0x70, 0x2e, 0x69, 0x6e, 816 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x73, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 817 0x63, 0x65, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x19, 0x0a, 818 0x08, 0x69, 0x66, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 819 0x07, 0x69, 0x66, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x4f, 0x0a, 0x0c, 0x61, 0x64, 0x6d, 0x69, 820 0x6e, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2c, 821 0x2e, 0x6c, 0x69, 0x67, 0x61, 0x74, 0x6f, 0x2e, 0x76, 0x70, 0x70, 0x2e, 0x69, 0x6e, 0x74, 0x65, 822 0x72, 0x66, 0x61, 0x63, 0x65, 0x73, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 823 0x53, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x0b, 0x61, 0x64, 824 0x6d, 0x69, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x4d, 0x0a, 0x0b, 0x6f, 0x70, 0x65, 825 0x72, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2c, 826 0x2e, 0x6c, 0x69, 0x67, 0x61, 0x74, 0x6f, 0x2e, 0x76, 0x70, 0x70, 0x2e, 0x69, 0x6e, 0x74, 0x65, 827 0x72, 0x66, 0x61, 0x63, 0x65, 0x73, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 828 0x53, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x0a, 0x6f, 0x70, 829 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x6c, 0x61, 0x73, 0x74, 830 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x6c, 831 0x61, 0x73, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x68, 0x79, 832 0x73, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 833 0x0b, 0x70, 0x68, 0x79, 0x73, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x14, 0x0a, 0x05, 834 0x73, 0x70, 0x65, 0x65, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x73, 0x70, 0x65, 835 0x65, 0x64, 0x12, 0x1a, 0x0a, 0x03, 0x6d, 0x74, 0x75, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x42, 836 0x08, 0x82, 0x7d, 0x05, 0x12, 0x03, 0x10, 0x80, 0x48, 0x52, 0x03, 0x6d, 0x74, 0x75, 0x12, 0x44, 837 0x0a, 0x06, 0x64, 0x75, 0x70, 0x6c, 0x65, 0x78, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2c, 838 0x2e, 0x6c, 0x69, 0x67, 0x61, 0x74, 0x6f, 0x2e, 0x76, 0x70, 0x70, 0x2e, 0x69, 0x6e, 0x74, 0x65, 839 0x72, 0x66, 0x61, 0x63, 0x65, 0x73, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 840 0x53, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x44, 0x75, 0x70, 0x6c, 0x65, 0x78, 0x52, 0x06, 0x64, 0x75, 841 0x70, 0x6c, 0x65, 0x78, 0x12, 0x50, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, 0x69, 842 0x63, 0x73, 0x18, 0x64, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x6c, 0x69, 0x67, 0x61, 0x74, 843 0x6f, 0x2e, 0x76, 0x70, 0x70, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x73, 844 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x2e, 845 0x53, 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, 0x73, 0x52, 0x0a, 0x73, 0x74, 0x61, 0x74, 846 0x69, 0x73, 0x74, 0x69, 0x63, 0x73, 0x1a, 0xb8, 0x03, 0x0a, 0x0a, 0x53, 0x74, 0x61, 0x74, 0x69, 847 0x73, 0x74, 0x69, 0x63, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x6e, 0x5f, 0x70, 0x61, 0x63, 0x6b, 848 0x65, 0x74, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x69, 0x6e, 0x50, 0x61, 0x63, 849 0x6b, 0x65, 0x74, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x69, 0x6e, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 850 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x69, 0x6e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 851 0x1f, 0x0a, 0x0b, 0x6f, 0x75, 0x74, 0x5f, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x73, 0x18, 0x03, 852 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x6f, 0x75, 0x74, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x73, 853 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x75, 0x74, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x04, 0x20, 854 0x01, 0x28, 0x04, 0x52, 0x08, 0x6f, 0x75, 0x74, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x21, 0x0a, 855 0x0c, 0x64, 0x72, 0x6f, 0x70, 0x5f, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x73, 0x18, 0x05, 0x20, 856 0x01, 0x28, 0x04, 0x52, 0x0b, 0x64, 0x72, 0x6f, 0x70, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x73, 857 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x75, 0x6e, 0x74, 0x5f, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x73, 858 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x70, 0x75, 0x6e, 0x74, 0x50, 0x61, 0x63, 0x6b, 859 0x65, 0x74, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x69, 0x70, 0x76, 0x34, 0x5f, 0x70, 0x61, 0x63, 0x6b, 860 0x65, 0x74, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x69, 0x70, 0x76, 0x34, 0x50, 861 0x61, 0x63, 0x6b, 0x65, 0x74, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x69, 0x70, 0x76, 0x36, 0x5f, 0x70, 862 0x61, 0x63, 0x6b, 0x65, 0x74, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x69, 0x70, 863 0x76, 0x36, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x73, 0x12, 0x28, 0x0a, 0x10, 0x69, 0x6e, 0x5f, 864 0x6e, 0x6f, 0x62, 0x75, 0x66, 0x5f, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x73, 0x18, 0x09, 0x20, 865 0x01, 0x28, 0x04, 0x52, 0x0e, 0x69, 0x6e, 0x4e, 0x6f, 0x62, 0x75, 0x66, 0x50, 0x61, 0x63, 0x6b, 866 0x65, 0x74, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x69, 0x6e, 0x5f, 0x6d, 0x69, 0x73, 0x73, 0x5f, 0x70, 867 0x61, 0x63, 0x6b, 0x65, 0x74, 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0d, 0x69, 0x6e, 868 0x4d, 0x69, 0x73, 0x73, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x73, 0x12, 0x28, 0x0a, 0x10, 0x69, 869 0x6e, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x73, 0x18, 870 0x0b, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0e, 0x69, 0x6e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x50, 0x61, 871 0x63, 0x6b, 0x65, 0x74, 0x73, 0x12, 0x2a, 0x0a, 0x11, 0x6f, 0x75, 0x74, 0x5f, 0x65, 0x72, 0x72, 872 0x6f, 0x72, 0x5f, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x73, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x04, 873 0x52, 0x0f, 0x6f, 0x75, 0x74, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 874 0x73, 0x22, 0x3b, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x12, 0x0a, 0x0e, 0x55, 875 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x10, 0x00, 0x12, 876 0x06, 0x0a, 0x02, 0x55, 0x50, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x44, 0x4f, 0x57, 0x4e, 0x10, 877 0x02, 0x12, 0x0b, 0x0a, 0x07, 0x44, 0x45, 0x4c, 0x45, 0x54, 0x45, 0x44, 0x10, 0x03, 0x22, 0x30, 878 0x0a, 0x06, 0x44, 0x75, 0x70, 0x6c, 0x65, 0x78, 0x12, 0x12, 0x0a, 0x0e, 0x55, 0x4e, 0x4b, 0x4e, 879 0x4f, 0x57, 0x4e, 0x5f, 0x44, 0x55, 0x50, 0x4c, 0x45, 0x58, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 880 0x48, 0x41, 0x4c, 0x46, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x46, 0x55, 0x4c, 0x4c, 0x10, 0x02, 881 0x22, 0xd4, 0x01, 0x0a, 0x15, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x4e, 0x6f, 882 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x4a, 0x0a, 0x04, 0x74, 0x79, 883 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x36, 0x2e, 0x6c, 0x69, 0x67, 0x61, 0x74, 884 0x6f, 0x2e, 0x76, 0x70, 0x70, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x73, 885 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 886 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x54, 0x79, 0x70, 0x65, 887 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x3b, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 888 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x6c, 0x69, 0x67, 0x61, 0x74, 0x6f, 0x2e, 0x76, 889 0x70, 0x70, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x73, 0x2e, 0x49, 0x6e, 890 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 891 0x61, 0x74, 0x65, 0x22, 0x32, 0x0a, 0x09, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x54, 0x79, 0x70, 0x65, 892 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0a, 0x0a, 893 0x06, 0x55, 0x50, 0x44, 0x4f, 0x57, 0x4e, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x43, 0x4f, 0x55, 894 0x4e, 0x54, 0x45, 0x52, 0x53, 0x10, 0x02, 0x42, 0x46, 0x5a, 0x44, 0x67, 0x6f, 0x2e, 0x6c, 0x69, 895 0x67, 0x61, 0x74, 0x6f, 0x2e, 0x69, 0x6f, 0x2f, 0x76, 0x70, 0x70, 0x2d, 0x61, 0x67, 0x65, 0x6e, 896 0x74, 0x2f, 0x76, 0x33, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x6c, 0x69, 0x67, 0x61, 0x74, 897 0x6f, 0x2f, 0x76, 0x70, 0x70, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x73, 898 0x3b, 0x76, 0x70, 0x70, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x73, 0x62, 899 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 900 } 901 902 var ( 903 file_ligato_vpp_interfaces_state_proto_rawDescOnce sync.Once 904 file_ligato_vpp_interfaces_state_proto_rawDescData = file_ligato_vpp_interfaces_state_proto_rawDesc 905 ) 906 907 func file_ligato_vpp_interfaces_state_proto_rawDescGZIP() []byte { 908 file_ligato_vpp_interfaces_state_proto_rawDescOnce.Do(func() { 909 file_ligato_vpp_interfaces_state_proto_rawDescData = protoimpl.X.CompressGZIP(file_ligato_vpp_interfaces_state_proto_rawDescData) 910 }) 911 return file_ligato_vpp_interfaces_state_proto_rawDescData 912 } 913 914 var file_ligato_vpp_interfaces_state_proto_enumTypes = make([]protoimpl.EnumInfo, 3) 915 var file_ligato_vpp_interfaces_state_proto_msgTypes = make([]protoimpl.MessageInfo, 5) 916 var file_ligato_vpp_interfaces_state_proto_goTypes = []interface{}{ 917 (InterfaceState_Status)(0), // 0: ligato.vpp.interfaces.InterfaceState.Status 918 (InterfaceState_Duplex)(0), // 1: ligato.vpp.interfaces.InterfaceState.Duplex 919 (InterfaceNotification_NotifType)(0), // 2: ligato.vpp.interfaces.InterfaceNotification.NotifType 920 (*InterfaceStats)(nil), // 3: ligato.vpp.interfaces.InterfaceStats 921 (*InterfaceState)(nil), // 4: ligato.vpp.interfaces.InterfaceState 922 (*InterfaceNotification)(nil), // 5: ligato.vpp.interfaces.InterfaceNotification 923 (*InterfaceStats_CombinedCounter)(nil), // 6: ligato.vpp.interfaces.InterfaceStats.CombinedCounter 924 (*InterfaceState_Statistics)(nil), // 7: ligato.vpp.interfaces.InterfaceState.Statistics 925 (Interface_Type)(0), // 8: ligato.vpp.interfaces.Interface.Type 926 } 927 var file_ligato_vpp_interfaces_state_proto_depIdxs = []int32{ 928 6, // 0: ligato.vpp.interfaces.InterfaceStats.rx:type_name -> ligato.vpp.interfaces.InterfaceStats.CombinedCounter 929 6, // 1: ligato.vpp.interfaces.InterfaceStats.tx:type_name -> ligato.vpp.interfaces.InterfaceStats.CombinedCounter 930 6, // 2: ligato.vpp.interfaces.InterfaceStats.rx_unicast:type_name -> ligato.vpp.interfaces.InterfaceStats.CombinedCounter 931 6, // 3: ligato.vpp.interfaces.InterfaceStats.rx_multicast:type_name -> ligato.vpp.interfaces.InterfaceStats.CombinedCounter 932 6, // 4: ligato.vpp.interfaces.InterfaceStats.rx_broadcast:type_name -> ligato.vpp.interfaces.InterfaceStats.CombinedCounter 933 6, // 5: ligato.vpp.interfaces.InterfaceStats.tx_unicast:type_name -> ligato.vpp.interfaces.InterfaceStats.CombinedCounter 934 6, // 6: ligato.vpp.interfaces.InterfaceStats.tx_multicast:type_name -> ligato.vpp.interfaces.InterfaceStats.CombinedCounter 935 6, // 7: ligato.vpp.interfaces.InterfaceStats.tx_broadcast:type_name -> ligato.vpp.interfaces.InterfaceStats.CombinedCounter 936 8, // 8: ligato.vpp.interfaces.InterfaceState.type:type_name -> ligato.vpp.interfaces.Interface.Type 937 0, // 9: ligato.vpp.interfaces.InterfaceState.admin_status:type_name -> ligato.vpp.interfaces.InterfaceState.Status 938 0, // 10: ligato.vpp.interfaces.InterfaceState.oper_status:type_name -> ligato.vpp.interfaces.InterfaceState.Status 939 1, // 11: ligato.vpp.interfaces.InterfaceState.duplex:type_name -> ligato.vpp.interfaces.InterfaceState.Duplex 940 7, // 12: ligato.vpp.interfaces.InterfaceState.statistics:type_name -> ligato.vpp.interfaces.InterfaceState.Statistics 941 2, // 13: ligato.vpp.interfaces.InterfaceNotification.type:type_name -> ligato.vpp.interfaces.InterfaceNotification.NotifType 942 4, // 14: ligato.vpp.interfaces.InterfaceNotification.state:type_name -> ligato.vpp.interfaces.InterfaceState 943 15, // [15:15] is the sub-list for method output_type 944 15, // [15:15] is the sub-list for method input_type 945 15, // [15:15] is the sub-list for extension type_name 946 15, // [15:15] is the sub-list for extension extendee 947 0, // [0:15] is the sub-list for field type_name 948 } 949 950 func init() { file_ligato_vpp_interfaces_state_proto_init() } 951 func file_ligato_vpp_interfaces_state_proto_init() { 952 if File_ligato_vpp_interfaces_state_proto != nil { 953 return 954 } 955 file_ligato_vpp_interfaces_interface_proto_init() 956 if !protoimpl.UnsafeEnabled { 957 file_ligato_vpp_interfaces_state_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 958 switch v := v.(*InterfaceStats); i { 959 case 0: 960 return &v.state 961 case 1: 962 return &v.sizeCache 963 case 2: 964 return &v.unknownFields 965 default: 966 return nil 967 } 968 } 969 file_ligato_vpp_interfaces_state_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 970 switch v := v.(*InterfaceState); i { 971 case 0: 972 return &v.state 973 case 1: 974 return &v.sizeCache 975 case 2: 976 return &v.unknownFields 977 default: 978 return nil 979 } 980 } 981 file_ligato_vpp_interfaces_state_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 982 switch v := v.(*InterfaceNotification); i { 983 case 0: 984 return &v.state 985 case 1: 986 return &v.sizeCache 987 case 2: 988 return &v.unknownFields 989 default: 990 return nil 991 } 992 } 993 file_ligato_vpp_interfaces_state_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 994 switch v := v.(*InterfaceStats_CombinedCounter); i { 995 case 0: 996 return &v.state 997 case 1: 998 return &v.sizeCache 999 case 2: 1000 return &v.unknownFields 1001 default: 1002 return nil 1003 } 1004 } 1005 file_ligato_vpp_interfaces_state_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 1006 switch v := v.(*InterfaceState_Statistics); i { 1007 case 0: 1008 return &v.state 1009 case 1: 1010 return &v.sizeCache 1011 case 2: 1012 return &v.unknownFields 1013 default: 1014 return nil 1015 } 1016 } 1017 } 1018 type x struct{} 1019 out := protoimpl.TypeBuilder{ 1020 File: protoimpl.DescBuilder{ 1021 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 1022 RawDescriptor: file_ligato_vpp_interfaces_state_proto_rawDesc, 1023 NumEnums: 3, 1024 NumMessages: 5, 1025 NumExtensions: 0, 1026 NumServices: 0, 1027 }, 1028 GoTypes: file_ligato_vpp_interfaces_state_proto_goTypes, 1029 DependencyIndexes: file_ligato_vpp_interfaces_state_proto_depIdxs, 1030 EnumInfos: file_ligato_vpp_interfaces_state_proto_enumTypes, 1031 MessageInfos: file_ligato_vpp_interfaces_state_proto_msgTypes, 1032 }.Build() 1033 File_ligato_vpp_interfaces_state_proto = out.File 1034 file_ligato_vpp_interfaces_state_proto_rawDesc = nil 1035 file_ligato_vpp_interfaces_state_proto_goTypes = nil 1036 file_ligato_vpp_interfaces_state_proto_depIdxs = nil 1037 }