Documentation
¶
Overview ¶
Package port is a generated protocol buffer package.
It is generated from these files:
port.proto
It has these top-level messages:
Port InterfaceInfos QueueStats InterfaceStats IngressInterfaceErrors EgressInterfaceErrors
Index ¶
- Variables
- type EgressInterfaceErrors
- type IngressInterfaceErrors
- func (*IngressInterfaceErrors) Descriptor() ([]byte, []int)
- func (m *IngressInterfaceErrors) GetIfDiscards() uint64
- func (m *IngressInterfaceErrors) GetIfErrors() uint64
- func (m *IngressInterfaceErrors) GetIfInFifoErrors() uint64
- func (m *IngressInterfaceErrors) GetIfInFrameErrors() uint64
- func (m *IngressInterfaceErrors) GetIfInL2ChanErrors() uint64
- func (m *IngressInterfaceErrors) GetIfInL2MismatchTimeouts() uint64
- func (m *IngressInterfaceErrors) GetIfInL3Incompletes() uint64
- func (m *IngressInterfaceErrors) GetIfInQdrops() uint64
- func (m *IngressInterfaceErrors) GetIfInResourceErrors() uint64
- func (m *IngressInterfaceErrors) GetIfInRunts() uint64
- func (*IngressInterfaceErrors) ProtoMessage()
- func (m *IngressInterfaceErrors) Reset()
- func (m *IngressInterfaceErrors) String() string
- type InterfaceInfos
- func (*InterfaceInfos) Descriptor() ([]byte, []int)
- func (m *InterfaceInfos) GetEgressErrors() *EgressInterfaceErrors
- func (m *InterfaceInfos) GetEgressQueueInfo() []*QueueStats
- func (m *InterfaceInfos) GetEgressStats() *InterfaceStats
- func (m *InterfaceInfos) GetIfAdministrationStatus() string
- func (m *InterfaceInfos) GetIfDescription() string
- func (m *InterfaceInfos) GetIfHighSpeed() uint32
- func (m *InterfaceInfos) GetIfLastChange() uint32
- func (m *InterfaceInfos) GetIfName() string
- func (m *InterfaceInfos) GetIfOperationalStatus() string
- func (m *InterfaceInfos) GetIfTransitions() uint64
- func (m *InterfaceInfos) GetIngressErrors() *IngressInterfaceErrors
- func (m *InterfaceInfos) GetIngressQueueInfo() []*QueueStats
- func (m *InterfaceInfos) GetIngressStats() *InterfaceStats
- func (m *InterfaceInfos) GetInitTime() uint64
- func (m *InterfaceInfos) GetParentAeName() string
- func (m *InterfaceInfos) GetSnmpIfIndex() uint32
- func (*InterfaceInfos) ProtoMessage()
- func (m *InterfaceInfos) Reset()
- func (m *InterfaceInfos) String() string
- type InterfaceStats
- func (*InterfaceStats) Descriptor() ([]byte, []int)
- func (m *InterfaceStats) GetIfBcPkts() uint64
- func (m *InterfaceStats) GetIfError() uint64
- func (m *InterfaceStats) GetIfMcPkts() uint64
- func (m *InterfaceStats) GetIfOctets() uint64
- func (m *InterfaceStats) GetIfPausePkts() uint64
- func (m *InterfaceStats) GetIfPkts() uint64
- func (m *InterfaceStats) GetIfUcPkts() uint64
- func (m *InterfaceStats) GetIfUnknownProtoPkts() uint64
- func (m *InterfaceStats) GetIf_1SecOctets() uint64
- func (m *InterfaceStats) GetIf_1SecPkts() uint64
- func (*InterfaceStats) ProtoMessage()
- func (m *InterfaceStats) Reset()
- func (m *InterfaceStats) String() string
- type Port
- type QueueStats
- func (*QueueStats) Descriptor() ([]byte, []int)
- func (m *QueueStats) GetAllocatedBufferSize() uint64
- func (m *QueueStats) GetAvgBufferOccupancy() uint64
- func (m *QueueStats) GetBytes() uint64
- func (m *QueueStats) GetCurBufferOccupancy() uint64
- func (m *QueueStats) GetPackets() uint64
- func (m *QueueStats) GetPeakBufferOccupancy() uint64
- func (m *QueueStats) GetQueueNumber() uint32
- func (m *QueueStats) GetRedDropBytes() uint64
- func (m *QueueStats) GetRedDropPackets() uint64
- func (m *QueueStats) GetRlDropBytes() uint64
- func (m *QueueStats) GetRlDropPackets() uint64
- func (m *QueueStats) GetTailDropPackets() uint64
- func (*QueueStats) ProtoMessage()
- func (m *QueueStats) Reset()
- func (m *QueueStats) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var E_JnprInterfaceExt = &proto.ExtensionDesc{ ExtendedType: (*telemetry_top.JuniperNetworksSensors)(nil), ExtensionType: (*Port)(nil), Field: 3, Name: "jnpr_interface_ext", Tag: "bytes,3,opt,name=jnpr_interface_ext,json=jnprInterfaceExt", Filename: "port.proto", }
Functions ¶
This section is empty.
Types ¶
type EgressInterfaceErrors ¶
type EgressInterfaceErrors struct {
// The number of packets that contained errors
IfErrors *uint64 `protobuf:"varint,1,opt,name=if_errors,json=ifErrors" json:"if_errors,omitempty"`
// The number of non-error packets which were chosen to be discarded
IfDiscards *uint64 `protobuf:"varint,2,opt,name=if_discards,json=ifDiscards" json:"if_discards,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
Outbound traffic error statistics
func (*EgressInterfaceErrors) Descriptor ¶
func (*EgressInterfaceErrors) Descriptor() ([]byte, []int)
func (*EgressInterfaceErrors) GetIfDiscards ¶
func (m *EgressInterfaceErrors) GetIfDiscards() uint64
func (*EgressInterfaceErrors) GetIfErrors ¶
func (m *EgressInterfaceErrors) GetIfErrors() uint64
func (*EgressInterfaceErrors) ProtoMessage ¶
func (*EgressInterfaceErrors) ProtoMessage()
func (*EgressInterfaceErrors) Reset ¶
func (m *EgressInterfaceErrors) Reset()
func (*EgressInterfaceErrors) String ¶
func (m *EgressInterfaceErrors) String() string
type IngressInterfaceErrors ¶
type IngressInterfaceErrors struct {
// The number of packets that contained errors
IfErrors *uint64 `protobuf:"varint,1,opt,name=if_errors,json=ifErrors" json:"if_errors,omitempty"`
// The number of packets dropped by the input queue of the I/O Manager ASIC
IfInQdrops *uint64 `protobuf:"varint,2,opt,name=if_in_qdrops,json=ifInQdrops" json:"if_in_qdrops,omitempty"`
// The number of packets which were misaligned
IfInFrameErrors *uint64 `protobuf:"varint,3,opt,name=if_in_frame_errors,json=ifInFrameErrors" json:"if_in_frame_errors,omitempty"`
// The number of non-error packets which were chosen to be discarded
IfDiscards *uint64 `protobuf:"varint,4,opt,name=if_discards,json=ifDiscards" json:"if_discards,omitempty"`
// The number of runt packets
IfInRunts *uint64 `protobuf:"varint,5,opt,name=if_in_runts,json=ifInRunts" json:"if_in_runts,omitempty"`
// The number of packets that fail Layer 3 sanity checks of the header
IfInL3Incompletes *uint64 `protobuf:"varint,6,opt,name=if_in_l3_incompletes,json=ifInL3Incompletes" json:"if_in_l3_incompletes,omitempty"`
// The number of packets for which the software could not find a valid logical interface
IfInL2ChanErrors *uint64 `protobuf:"varint,7,opt,name=if_in_l2chan_errors,json=ifInL2chanErrors" json:"if_in_l2chan_errors,omitempty"`
// The number of malform or short packets
IfInL2MismatchTimeouts *uint64 `` /* 127-byte string literal not displayed */
// The number of FIFO errors
IfInFifoErrors *uint64 `protobuf:"varint,9,opt,name=if_in_fifo_errors,json=ifInFifoErrors" json:"if_in_fifo_errors,omitempty"`
// The number of resource errors
IfInResourceErrors *uint64 `protobuf:"varint,10,opt,name=if_in_resource_errors,json=ifInResourceErrors" json:"if_in_resource_errors,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
Inbound traffic error statistics
func (*IngressInterfaceErrors) Descriptor ¶
func (*IngressInterfaceErrors) Descriptor() ([]byte, []int)
func (*IngressInterfaceErrors) GetIfDiscards ¶
func (m *IngressInterfaceErrors) GetIfDiscards() uint64
func (*IngressInterfaceErrors) GetIfErrors ¶
func (m *IngressInterfaceErrors) GetIfErrors() uint64
func (*IngressInterfaceErrors) GetIfInFifoErrors ¶
func (m *IngressInterfaceErrors) GetIfInFifoErrors() uint64
func (*IngressInterfaceErrors) GetIfInFrameErrors ¶
func (m *IngressInterfaceErrors) GetIfInFrameErrors() uint64
func (*IngressInterfaceErrors) GetIfInL2ChanErrors ¶
func (m *IngressInterfaceErrors) GetIfInL2ChanErrors() uint64
func (*IngressInterfaceErrors) GetIfInL2MismatchTimeouts ¶
func (m *IngressInterfaceErrors) GetIfInL2MismatchTimeouts() uint64
func (*IngressInterfaceErrors) GetIfInL3Incompletes ¶
func (m *IngressInterfaceErrors) GetIfInL3Incompletes() uint64
func (*IngressInterfaceErrors) GetIfInQdrops ¶
func (m *IngressInterfaceErrors) GetIfInQdrops() uint64
func (*IngressInterfaceErrors) GetIfInResourceErrors ¶
func (m *IngressInterfaceErrors) GetIfInResourceErrors() uint64
func (*IngressInterfaceErrors) GetIfInRunts ¶
func (m *IngressInterfaceErrors) GetIfInRunts() uint64
func (*IngressInterfaceErrors) ProtoMessage ¶
func (*IngressInterfaceErrors) ProtoMessage()
func (*IngressInterfaceErrors) Reset ¶
func (m *IngressInterfaceErrors) Reset()
func (*IngressInterfaceErrors) String ¶
func (m *IngressInterfaceErrors) String() string
type InterfaceInfos ¶
type InterfaceInfos struct {
// Interface name, e.g., xe-0/0/0
IfName *string `protobuf:"bytes,1,req,name=if_name,json=ifName" json:"if_name,omitempty"`
// Time when interface is created
InitTime *uint64 `protobuf:"varint,2,opt,name=init_time,json=initTime" json:"init_time,omitempty"`
// Global Index
SnmpIfIndex *uint32 `protobuf:"varint,3,opt,name=snmp_if_index,json=snmpIfIndex" json:"snmp_if_index,omitempty"`
// Name of parent for AE interface, if applicable
ParentAeName *string `protobuf:"bytes,4,opt,name=parent_ae_name,json=parentAeName" json:"parent_ae_name,omitempty"`
// Egress queue information
EgressQueueInfo []*QueueStats `protobuf:"bytes,5,rep,name=egress_queue_info,json=egressQueueInfo" json:"egress_queue_info,omitempty"`
// Ingress queue information
IngressQueueInfo []*QueueStats `protobuf:"bytes,6,rep,name=ingress_queue_info,json=ingressQueueInfo" json:"ingress_queue_info,omitempty"`
// Inbound traffic statistics
IngressStats *InterfaceStats `protobuf:"bytes,7,opt,name=ingress_stats,json=ingressStats" json:"ingress_stats,omitempty"`
// Outbound traffic statistics
EgressStats *InterfaceStats `protobuf:"bytes,8,opt,name=egress_stats,json=egressStats" json:"egress_stats,omitempty"`
// Inbound traffic errors
IngressErrors *IngressInterfaceErrors `protobuf:"bytes,9,opt,name=ingress_errors,json=ingressErrors" json:"ingress_errors,omitempty"`
// Interface administration status
IfAdministrationStatus *string `protobuf:"bytes,10,opt,name=if_administration_status,json=ifAdministrationStatus" json:"if_administration_status,omitempty"`
// Interface operational status
IfOperationalStatus *string `protobuf:"bytes,11,opt,name=if_operational_status,json=ifOperationalStatus" json:"if_operational_status,omitempty"`
// Interface description
IfDescription *string `protobuf:"bytes,12,opt,name=if_description,json=ifDescription" json:"if_description,omitempty"`
// Counter: number of carrier transitions on this interface
IfTransitions *uint64 `protobuf:"varint,13,opt,name=if_transitions,json=ifTransitions" json:"if_transitions,omitempty"`
// This corresponds to the ifLastChange object in the standard interface MIB
IfLastChange *uint32 `protobuf:"varint,14,opt,name=ifLastChange" json:"ifLastChange,omitempty"`
// This corresponds to the ifHighSpeed object in the standard interface MIB
IfHighSpeed *uint32 `protobuf:"varint,15,opt,name=ifHighSpeed" json:"ifHighSpeed,omitempty"`
// Outbound traffic errors
EgressErrors *EgressInterfaceErrors `protobuf:"bytes,16,opt,name=egress_errors,json=egressErrors" json:"egress_errors,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
Interface information
func (*InterfaceInfos) Descriptor ¶
func (*InterfaceInfos) Descriptor() ([]byte, []int)
func (*InterfaceInfos) GetEgressErrors ¶
func (m *InterfaceInfos) GetEgressErrors() *EgressInterfaceErrors
func (*InterfaceInfos) GetEgressQueueInfo ¶
func (m *InterfaceInfos) GetEgressQueueInfo() []*QueueStats
func (*InterfaceInfos) GetEgressStats ¶
func (m *InterfaceInfos) GetEgressStats() *InterfaceStats
func (*InterfaceInfos) GetIfAdministrationStatus ¶
func (m *InterfaceInfos) GetIfAdministrationStatus() string
func (*InterfaceInfos) GetIfDescription ¶
func (m *InterfaceInfos) GetIfDescription() string
func (*InterfaceInfos) GetIfHighSpeed ¶
func (m *InterfaceInfos) GetIfHighSpeed() uint32
func (*InterfaceInfos) GetIfLastChange ¶
func (m *InterfaceInfos) GetIfLastChange() uint32
func (*InterfaceInfos) GetIfName ¶
func (m *InterfaceInfos) GetIfName() string
func (*InterfaceInfos) GetIfOperationalStatus ¶
func (m *InterfaceInfos) GetIfOperationalStatus() string
func (*InterfaceInfos) GetIfTransitions ¶
func (m *InterfaceInfos) GetIfTransitions() uint64
func (*InterfaceInfos) GetIngressErrors ¶
func (m *InterfaceInfos) GetIngressErrors() *IngressInterfaceErrors
func (*InterfaceInfos) GetIngressQueueInfo ¶
func (m *InterfaceInfos) GetIngressQueueInfo() []*QueueStats
func (*InterfaceInfos) GetIngressStats ¶
func (m *InterfaceInfos) GetIngressStats() *InterfaceStats
func (*InterfaceInfos) GetInitTime ¶
func (m *InterfaceInfos) GetInitTime() uint64
func (*InterfaceInfos) GetParentAeName ¶
func (m *InterfaceInfos) GetParentAeName() string
func (*InterfaceInfos) GetSnmpIfIndex ¶
func (m *InterfaceInfos) GetSnmpIfIndex() uint32
func (*InterfaceInfos) ProtoMessage ¶
func (*InterfaceInfos) ProtoMessage()
func (*InterfaceInfos) Reset ¶
func (m *InterfaceInfos) Reset()
func (*InterfaceInfos) String ¶
func (m *InterfaceInfos) String() string
type InterfaceStats ¶
type InterfaceStats struct {
// The total number of packets sent/received by this interface
IfPkts *uint64 `protobuf:"varint,1,opt,name=if_pkts,json=ifPkts" json:"if_pkts,omitempty"`
// The total number of bytes sent/received by this interface
IfOctets *uint64 `protobuf:"varint,2,opt,name=if_octets,json=ifOctets" json:"if_octets,omitempty"`
// The rate at which packets are sent/received by this interface (in packets/sec)
If_1SecPkts *uint64 `protobuf:"varint,3,opt,name=if_1sec_pkts,json=if1secPkts" json:"if_1sec_pkts,omitempty"`
// The rate at which bytes are sent/received by this interface
If_1SecOctets *uint64 `protobuf:"varint,4,opt,name=if_1sec_octets,json=if1secOctets" json:"if_1sec_octets,omitempty"`
// Total number of unicast packets sent/received by this interface
IfUcPkts *uint64 `protobuf:"varint,5,opt,name=if_uc_pkts,json=ifUcPkts" json:"if_uc_pkts,omitempty"`
// Total number of multicast packets sent/received by this interface
IfMcPkts *uint64 `protobuf:"varint,6,opt,name=if_mc_pkts,json=ifMcPkts" json:"if_mc_pkts,omitempty"`
// Total number of broadcast packets sent/received by this interface
IfBcPkts *uint64 `protobuf:"varint,7,opt,name=if_bc_pkts,json=ifBcPkts" json:"if_bc_pkts,omitempty"`
// Counter: total no of error packets sent/rcvd by this interface
IfError *uint64 `protobuf:"varint,8,opt,name=if_error,json=ifError" json:"if_error,omitempty"`
// Counter: total no of PAUSE packets sent/rcvd by this interface
IfPausePkts *uint64 `protobuf:"varint,9,opt,name=if_pause_pkts,json=ifPausePkts" json:"if_pause_pkts,omitempty"`
// Counter: total no of UNKNOWN proto packets sent/rcvd by this interface
IfUnknownProtoPkts *uint64 `protobuf:"varint,10,opt,name=if_unknown_proto_pkts,json=ifUnknownProtoPkts" json:"if_unknown_proto_pkts,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
Interface statistics
func (*InterfaceStats) Descriptor ¶
func (*InterfaceStats) Descriptor() ([]byte, []int)
func (*InterfaceStats) GetIfBcPkts ¶
func (m *InterfaceStats) GetIfBcPkts() uint64
func (*InterfaceStats) GetIfError ¶
func (m *InterfaceStats) GetIfError() uint64
func (*InterfaceStats) GetIfMcPkts ¶
func (m *InterfaceStats) GetIfMcPkts() uint64
func (*InterfaceStats) GetIfOctets ¶
func (m *InterfaceStats) GetIfOctets() uint64
func (*InterfaceStats) GetIfPausePkts ¶
func (m *InterfaceStats) GetIfPausePkts() uint64
func (*InterfaceStats) GetIfPkts ¶
func (m *InterfaceStats) GetIfPkts() uint64
func (*InterfaceStats) GetIfUcPkts ¶
func (m *InterfaceStats) GetIfUcPkts() uint64
func (*InterfaceStats) GetIfUnknownProtoPkts ¶
func (m *InterfaceStats) GetIfUnknownProtoPkts() uint64
func (*InterfaceStats) GetIf_1SecOctets ¶
func (m *InterfaceStats) GetIf_1SecOctets() uint64
func (*InterfaceStats) GetIf_1SecPkts ¶
func (m *InterfaceStats) GetIf_1SecPkts() uint64
func (*InterfaceStats) ProtoMessage ¶
func (*InterfaceStats) ProtoMessage()
func (*InterfaceStats) Reset ¶
func (m *InterfaceStats) Reset()
func (*InterfaceStats) String ¶
func (m *InterfaceStats) String() string
type Port ¶
type Port struct {
InterfaceStats []*InterfaceInfos `protobuf:"bytes,1,rep,name=interface_stats,json=interfaceStats" json:"interface_stats,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
Top-level message
func (*Port) Descriptor ¶
func (*Port) GetInterfaceStats ¶
func (m *Port) GetInterfaceStats() []*InterfaceInfos
func (*Port) ProtoMessage ¶
func (*Port) ProtoMessage()
type QueueStats ¶
type QueueStats struct {
// Queue number
QueueNumber *uint32 `protobuf:"varint,1,opt,name=queue_number,json=queueNumber" json:"queue_number,omitempty"`
// The total number of packets that have been added to this queue
Packets *uint64 `protobuf:"varint,2,opt,name=packets" json:"packets,omitempty"`
// The total number of bytes that have been added to this queue
Bytes *uint64 `protobuf:"varint,3,opt,name=bytes" json:"bytes,omitempty"`
// The total number of tail dropped packets
TailDropPackets *uint64 `protobuf:"varint,4,opt,name=tail_drop_packets,json=tailDropPackets" json:"tail_drop_packets,omitempty"`
// The total number of rate-limited packets
RlDropPackets *uint64 `protobuf:"varint,5,opt,name=rl_drop_packets,json=rlDropPackets" json:"rl_drop_packets,omitempty"`
// The total number of rate-limited bytes
RlDropBytes *uint64 `protobuf:"varint,6,opt,name=rl_drop_bytes,json=rlDropBytes" json:"rl_drop_bytes,omitempty"`
// The total number of red-dropped packets
RedDropPackets *uint64 `protobuf:"varint,7,opt,name=red_drop_packets,json=redDropPackets" json:"red_drop_packets,omitempty"`
// The total number of red-dropped bytes
RedDropBytes *uint64 `protobuf:"varint,8,opt,name=red_drop_bytes,json=redDropBytes" json:"red_drop_bytes,omitempty"`
// Average queue depth, in packets
AvgBufferOccupancy *uint64 `protobuf:"varint,9,opt,name=avg_buffer_occupancy,json=avgBufferOccupancy" json:"avg_buffer_occupancy,omitempty"`
// Current queue depth, in packets
CurBufferOccupancy *uint64 `protobuf:"varint,10,opt,name=cur_buffer_occupancy,json=curBufferOccupancy" json:"cur_buffer_occupancy,omitempty"`
// The max measured queue depth, in packets, across all measurements since boot
PeakBufferOccupancy *uint64 `protobuf:"varint,11,opt,name=peak_buffer_occupancy,json=peakBufferOccupancy" json:"peak_buffer_occupancy,omitempty"`
// Allocated buffer size
AllocatedBufferSize *uint64 `protobuf:"varint,12,opt,name=allocated_buffer_size,json=allocatedBufferSize" json:"allocated_buffer_size,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
Interface queue statistics
func (*QueueStats) Descriptor ¶
func (*QueueStats) Descriptor() ([]byte, []int)
func (*QueueStats) GetAllocatedBufferSize ¶
func (m *QueueStats) GetAllocatedBufferSize() uint64
func (*QueueStats) GetAvgBufferOccupancy ¶
func (m *QueueStats) GetAvgBufferOccupancy() uint64
func (*QueueStats) GetBytes ¶
func (m *QueueStats) GetBytes() uint64
func (*QueueStats) GetCurBufferOccupancy ¶
func (m *QueueStats) GetCurBufferOccupancy() uint64
func (*QueueStats) GetPackets ¶
func (m *QueueStats) GetPackets() uint64
func (*QueueStats) GetPeakBufferOccupancy ¶
func (m *QueueStats) GetPeakBufferOccupancy() uint64
func (*QueueStats) GetQueueNumber ¶
func (m *QueueStats) GetQueueNumber() uint32
func (*QueueStats) GetRedDropBytes ¶
func (m *QueueStats) GetRedDropBytes() uint64
func (*QueueStats) GetRedDropPackets ¶
func (m *QueueStats) GetRedDropPackets() uint64
func (*QueueStats) GetRlDropBytes ¶
func (m *QueueStats) GetRlDropBytes() uint64
func (*QueueStats) GetRlDropPackets ¶
func (m *QueueStats) GetRlDropPackets() uint64
func (*QueueStats) GetTailDropPackets ¶
func (m *QueueStats) GetTailDropPackets() uint64
func (*QueueStats) ProtoMessage ¶
func (*QueueStats) ProtoMessage()
func (*QueueStats) Reset ¶
func (m *QueueStats) Reset()
func (*QueueStats) String ¶
func (m *QueueStats) String() string
Click to show internal directories.
Click to hide internal directories.