Interface EthernetInterfaceStateCounters
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>,org.opendaylight.yangtools.yang.binding.BindingObject,org.opendaylight.yangtools.yang.binding.DataContainer,org.opendaylight.yangtools.yang.binding.DataObject
- All Known Subinterfaces:
Counters
@Generated("mdsal-binding-generator")
public interface EthernetInterfaceStateCounters
extends org.opendaylight.yangtools.yang.binding.DataObject
Ethernet-specific counters and statistics
This class represents the following YANG schema fragment defined in module openconfig-if-ethernet
grouping ethernet-interface-state-counters {
leaf in-mac-control-frames {
type oc-yang:counter64;
}
leaf in-mac-pause-frames {
type oc-yang:counter64;
}
leaf in-oversize-frames {
type oc-yang:counter64;
}
leaf in-undersize-frames {
type oc-yang:counter64;
}
leaf in-jabber-frames {
type oc-yang:counter64;
}
leaf in-fragment-frames {
type oc-yang:counter64;
}
leaf in-8021q-frames {
type oc-yang:counter64;
}
leaf in-crc-errors {
type oc-yang:counter64;
}
leaf in-block-errors {
type oc-yang:counter64;
}
leaf in-carrier-errors {
type oc-yang:counter64;
}
leaf in-interrupted-tx {
type oc-yang:counter64;
}
leaf in-late-collision {
type oc-yang:counter64;
}
leaf in-mac-errors-rx {
type oc-yang:counter64;
}
leaf in-single-collision {
type oc-yang:counter64;
}
leaf in-symbol-error {
type oc-yang:counter64;
}
leaf in-maxsize-exceeded {
type oc-yang:counter64;
}
leaf out-mac-control-frames {
type oc-yang:counter64;
}
leaf out-mac-pause-frames {
type oc-yang:counter64;
}
leaf out-8021q-frames {
type oc-yang:counter64;
}
leaf out-mac-errors-tx {
type oc-yang:counter64;
}
}
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final @NonNull org.opendaylight.yangtools.yang.common.QNameYANG identifier of the statement represented by this class. -
Method Summary
Modifier and TypeMethodDescriptionReturn in8021qFrames, ornullif it is not present.Return inBlockErrors, ornullif it is not present.Return inCarrierErrors, ornullif it is not present.Return inCrcErrors, ornullif it is not present.Return inFragmentFrames, ornullif it is not present.Return inInterruptedTx, ornullif it is not present.Return inJabberFrames, ornullif it is not present.Return inLateCollision, ornullif it is not present.Return inMacControlFrames, ornullif it is not present.Return inMacErrorsRx, ornullif it is not present.Return inMacPauseFrames, ornullif it is not present.Return inMaxsizeExceeded, ornullif it is not present.Return inOversizeFrames, ornullif it is not present.Return inSingleCollision, ornullif it is not present.Return inSymbolError, ornullif it is not present.Return inUndersizeFrames, ornullif it is not present.Return out8021qFrames, ornullif it is not present.Return outMacControlFrames, ornullif it is not present.Return outMacErrorsTx, ornullif it is not present.Return outMacPauseFrames, ornullif it is not present.Class<? extends EthernetInterfaceStateCounters>default @NonNull Counter64Return in8021qFrames, guaranteed to be non-null.default @NonNull Counter64Return inBlockErrors, guaranteed to be non-null.default @NonNull Counter64Return inCarrierErrors, guaranteed to be non-null.default @NonNull Counter64Return inCrcErrors, guaranteed to be non-null.default @NonNull Counter64Return inFragmentFrames, guaranteed to be non-null.default @NonNull Counter64Return inInterruptedTx, guaranteed to be non-null.default @NonNull Counter64Return inJabberFrames, guaranteed to be non-null.default @NonNull Counter64Return inLateCollision, guaranteed to be non-null.default @NonNull Counter64Return inMacControlFrames, guaranteed to be non-null.default @NonNull Counter64Return inMacErrorsRx, guaranteed to be non-null.default @NonNull Counter64Return inMacPauseFrames, guaranteed to be non-null.default @NonNull Counter64Return inMaxsizeExceeded, guaranteed to be non-null.default @NonNull Counter64Return inOversizeFrames, guaranteed to be non-null.default @NonNull Counter64Return inSingleCollision, guaranteed to be non-null.default @NonNull Counter64Return inSymbolError, guaranteed to be non-null.default @NonNull Counter64Return inUndersizeFrames, guaranteed to be non-null.default @NonNull Counter64Return out8021qFrames, guaranteed to be non-null.default @NonNull Counter64Return outMacControlFrames, guaranteed to be non-null.default @NonNull Counter64Return outMacErrorsTx, guaranteed to be non-null.default @NonNull Counter64Return outMacPauseFrames, guaranteed to be non-null.
-
Field Details
-
QNAME
static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAMEYANG identifier of the statement represented by this class.
-
-
Method Details
-
implementedInterface
Class<? extends EthernetInterfaceStateCounters> implementedInterface()- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getInMacControlFrames
Counter64 getInMacControlFrames()Return inMacControlFrames, ornullif it is not present.MAC layer control frames received on the interface- Returns:
Counter64inMacControlFrames, ornullif it is not present.
-
requireInMacControlFrames
Return inMacControlFrames, guaranteed to be non-null.MAC layer control frames received on the interface- Returns:
Counter64inMacControlFrames, guaranteed to be non-null.- Throws:
NoSuchElementException- if inMacControlFrames is not present
-
getInMacPauseFrames
Counter64 getInMacPauseFrames()Return inMacPauseFrames, ornullif it is not present.MAC layer PAUSE frames received on the interface- Returns:
Counter64inMacPauseFrames, ornullif it is not present.
-
requireInMacPauseFrames
Return inMacPauseFrames, guaranteed to be non-null.MAC layer PAUSE frames received on the interface- Returns:
Counter64inMacPauseFrames, guaranteed to be non-null.- Throws:
NoSuchElementException- if inMacPauseFrames is not present
-
getInOversizeFrames
Counter64 getInOversizeFrames()Return inOversizeFrames, ornullif it is not present.The total number of frames received that were longer than 1518 octets (excluding framing bits, but including FCS octets) and were otherwise well formed.- Returns:
Counter64inOversizeFrames, ornullif it is not present.
-
requireInOversizeFrames
Return inOversizeFrames, guaranteed to be non-null.The total number of frames received that were longer than 1518 octets (excluding framing bits, but including FCS octets) and were otherwise well formed.- Returns:
Counter64inOversizeFrames, guaranteed to be non-null.- Throws:
NoSuchElementException- if inOversizeFrames is not present
-
getInUndersizeFrames
Counter64 getInUndersizeFrames()Return inUndersizeFrames, ornullif it is not present.The total number of frames received that were less than 64 octets long (excluding framing bits, but including FCS octets) and were otherwise well formed.- Returns:
Counter64inUndersizeFrames, ornullif it is not present.
-
requireInUndersizeFrames
Return inUndersizeFrames, guaranteed to be non-null.The total number of frames received that were less than 64 octets long (excluding framing bits, but including FCS octets) and were otherwise well formed.- Returns:
Counter64inUndersizeFrames, guaranteed to be non-null.- Throws:
NoSuchElementException- if inUndersizeFrames is not present
-
getInJabberFrames
Counter64 getInJabberFrames()Return inJabberFrames, ornullif it is not present.Number of jabber frames received on the interface. Jabber frames are typically defined as oversize frames which also have a bad CRC. Implementations may use slightly different definitions of what constitutes a jabber frame. Often indicative of a NIC hardware problem.- Returns:
Counter64inJabberFrames, ornullif it is not present.
-
requireInJabberFrames
Return inJabberFrames, guaranteed to be non-null.Number of jabber frames received on the interface. Jabber frames are typically defined as oversize frames which also have a bad CRC. Implementations may use slightly different definitions of what constitutes a jabber frame. Often indicative of a NIC hardware problem.- Returns:
Counter64inJabberFrames, guaranteed to be non-null.- Throws:
NoSuchElementException- if inJabberFrames is not present
-
getInFragmentFrames
Counter64 getInFragmentFrames()Return inFragmentFrames, ornullif it is not present.The total number of frames received that were less than 64 octets in length (excluding framing bits but including FCS octets) and had either a bad Frame Check Sequence (FCS) with an integral number of octets (FCS Error) or a bad FCS with a non-integral number of octets (Alignment Error).- Returns:
Counter64inFragmentFrames, ornullif it is not present.
-
requireInFragmentFrames
Return inFragmentFrames, guaranteed to be non-null.The total number of frames received that were less than 64 octets in length (excluding framing bits but including FCS octets) and had either a bad Frame Check Sequence (FCS) with an integral number of octets (FCS Error) or a bad FCS with a non-integral number of octets (Alignment Error).- Returns:
Counter64inFragmentFrames, guaranteed to be non-null.- Throws:
NoSuchElementException- if inFragmentFrames is not present
-
getIn8021qFrames
Counter64 getIn8021qFrames()Return in8021qFrames, ornullif it is not present.Number of 802.1q tagged frames received on the interface- Returns:
Counter64in8021qFrames, ornullif it is not present.
-
requireIn8021qFrames
Return in8021qFrames, guaranteed to be non-null.Number of 802.1q tagged frames received on the interface- Returns:
Counter64in8021qFrames, guaranteed to be non-null.- Throws:
NoSuchElementException- if in8021qFrames is not present
-
getInCrcErrors
Counter64 getInCrcErrors()Return inCrcErrors, ornullif it is not present.The total number of frames received that had a length (excluding framing bits, but including FCS octets) of between 64 and 1518 octets, inclusive, but had either a bad Frame Check Sequence (FCS) with an integral number of octets (FCS Error) or a bad FCS with a non-integral number of octets (Alignment Error)- Returns:
Counter64inCrcErrors, ornullif it is not present.
-
requireInCrcErrors
Return inCrcErrors, guaranteed to be non-null.The total number of frames received that had a length (excluding framing bits, but including FCS octets) of between 64 and 1518 octets, inclusive, but had either a bad Frame Check Sequence (FCS) with an integral number of octets (FCS Error) or a bad FCS with a non-integral number of octets (Alignment Error)- Returns:
Counter64inCrcErrors, guaranteed to be non-null.- Throws:
NoSuchElementException- if inCrcErrors is not present
-
getInBlockErrors
Counter64 getInBlockErrors()Return inBlockErrors, ornullif it is not present.The number of received errored blocks. Error detection codes are capable of detecting whether one or more errors have occurred in a given sequence of bits – the block. It is normally not possible to determine the exact number of errored bits within the block- Returns:
Counter64inBlockErrors, ornullif it is not present.
-
requireInBlockErrors
Return inBlockErrors, guaranteed to be non-null.The number of received errored blocks. Error detection codes are capable of detecting whether one or more errors have occurred in a given sequence of bits – the block. It is normally not possible to determine the exact number of errored bits within the block- Returns:
Counter64inBlockErrors, guaranteed to be non-null.- Throws:
NoSuchElementException- if inBlockErrors is not present
-
getInCarrierErrors
Counter64 getInCarrierErrors()Return inCarrierErrors, ornullif it is not present.The number of received errored frames due to a carrier issue. The value refers to MIB counter for dot3StatsCarrierSenseErrors oid=1.3.6.1.2.1.10.7.2.1.11- Returns:
Counter64inCarrierErrors, ornullif it is not present.
-
requireInCarrierErrors
Return inCarrierErrors, guaranteed to be non-null.The number of received errored frames due to a carrier issue. The value refers to MIB counter for dot3StatsCarrierSenseErrors oid=1.3.6.1.2.1.10.7.2.1.11- Returns:
Counter64inCarrierErrors, guaranteed to be non-null.- Throws:
NoSuchElementException- if inCarrierErrors is not present
-
getInInterruptedTx
Counter64 getInInterruptedTx()Return inInterruptedTx, ornullif it is not present.The number of received errored frames due to interrupted transmission issue. The value refers to MIB counter for dot3StatsDeferredTransmissions oid=1.3.6.1.2.1.10.7.2.1.7- Returns:
Counter64inInterruptedTx, ornullif it is not present.
-
requireInInterruptedTx
Return inInterruptedTx, guaranteed to be non-null.The number of received errored frames due to interrupted transmission issue. The value refers to MIB counter for dot3StatsDeferredTransmissions oid=1.3.6.1.2.1.10.7.2.1.7- Returns:
Counter64inInterruptedTx, guaranteed to be non-null.- Throws:
NoSuchElementException- if inInterruptedTx is not present
-
getInLateCollision
Counter64 getInLateCollision()Return inLateCollision, ornullif it is not present.The number of received errored frames due to late collision issue. The value refers to MIB counter for dot3StatsLateCollisions oid=1.3.6.1.2.1.10.7.2.1.8- Returns:
Counter64inLateCollision, ornullif it is not present.
-
requireInLateCollision
Return inLateCollision, guaranteed to be non-null.The number of received errored frames due to late collision issue. The value refers to MIB counter for dot3StatsLateCollisions oid=1.3.6.1.2.1.10.7.2.1.8- Returns:
Counter64inLateCollision, guaranteed to be non-null.- Throws:
NoSuchElementException- if inLateCollision is not present
-
getInMacErrorsRx
Counter64 getInMacErrorsRx()Return inMacErrorsRx, ornullif it is not present.The number of received errored frames due to MAC errors received. The value refers to MIB counter for dot3StatsInternalMacReceiveErrors oid=1.3.6.1.2.1.10.7.2.1.16- Returns:
Counter64inMacErrorsRx, ornullif it is not present.
-
requireInMacErrorsRx
Return inMacErrorsRx, guaranteed to be non-null.The number of received errored frames due to MAC errors received. The value refers to MIB counter for dot3StatsInternalMacReceiveErrors oid=1.3.6.1.2.1.10.7.2.1.16- Returns:
Counter64inMacErrorsRx, guaranteed to be non-null.- Throws:
NoSuchElementException- if inMacErrorsRx is not present
-
getInSingleCollision
Counter64 getInSingleCollision()Return inSingleCollision, ornullif it is not present.The number of received errored frames due to single collision issue. The value refers to MIB counter for dot3StatsSingleCollisionFrames oid=1.3.6.1.2.1.10.7.2.1.4- Returns:
Counter64inSingleCollision, ornullif it is not present.
-
requireInSingleCollision
Return inSingleCollision, guaranteed to be non-null.The number of received errored frames due to single collision issue. The value refers to MIB counter for dot3StatsSingleCollisionFrames oid=1.3.6.1.2.1.10.7.2.1.4- Returns:
Counter64inSingleCollision, guaranteed to be non-null.- Throws:
NoSuchElementException- if inSingleCollision is not present
-
getInSymbolError
Counter64 getInSymbolError()Return inSymbolError, ornullif it is not present.The number of received errored frames due to symbol error. The value refers to MIB counter for in-symbol-error oid=1.3.6.1.2.1.10.7.2.1.18- Returns:
Counter64inSymbolError, ornullif it is not present.
-
requireInSymbolError
Return inSymbolError, guaranteed to be non-null.The number of received errored frames due to symbol error. The value refers to MIB counter for in-symbol-error oid=1.3.6.1.2.1.10.7.2.1.18- Returns:
Counter64inSymbolError, guaranteed to be non-null.- Throws:
NoSuchElementException- if inSymbolError is not present
-
getInMaxsizeExceeded
Counter64 getInMaxsizeExceeded()Return inMaxsizeExceeded, ornullif it is not present.The total number frames received that are well-formed but dropped due to exceeding the maximum frame size on the interface (e.g., MTU or MRU)- Returns:
Counter64inMaxsizeExceeded, ornullif it is not present.
-
requireInMaxsizeExceeded
Return inMaxsizeExceeded, guaranteed to be non-null.The total number frames received that are well-formed but dropped due to exceeding the maximum frame size on the interface (e.g., MTU or MRU)- Returns:
Counter64inMaxsizeExceeded, guaranteed to be non-null.- Throws:
NoSuchElementException- if inMaxsizeExceeded is not present
-
getOutMacControlFrames
Counter64 getOutMacControlFrames()Return outMacControlFrames, ornullif it is not present.MAC layer control frames sent on the interface- Returns:
Counter64outMacControlFrames, ornullif it is not present.
-
requireOutMacControlFrames
Return outMacControlFrames, guaranteed to be non-null.MAC layer control frames sent on the interface- Returns:
Counter64outMacControlFrames, guaranteed to be non-null.- Throws:
NoSuchElementException- if outMacControlFrames is not present
-
getOutMacPauseFrames
Counter64 getOutMacPauseFrames()Return outMacPauseFrames, ornullif it is not present.MAC layer PAUSE frames sent on the interface- Returns:
Counter64outMacPauseFrames, ornullif it is not present.
-
requireOutMacPauseFrames
Return outMacPauseFrames, guaranteed to be non-null.MAC layer PAUSE frames sent on the interface- Returns:
Counter64outMacPauseFrames, guaranteed to be non-null.- Throws:
NoSuchElementException- if outMacPauseFrames is not present
-
getOut8021qFrames
Counter64 getOut8021qFrames()Return out8021qFrames, ornullif it is not present.Number of 802.1q tagged frames sent on the interface- Returns:
Counter64out8021qFrames, ornullif it is not present.
-
requireOut8021qFrames
Return out8021qFrames, guaranteed to be non-null.Number of 802.1q tagged frames sent on the interface- Returns:
Counter64out8021qFrames, guaranteed to be non-null.- Throws:
NoSuchElementException- if out8021qFrames is not present
-
getOutMacErrorsTx
Counter64 getOutMacErrorsTx()Return outMacErrorsTx, ornullif it is not present.The number of sent errored frames due to MAC errors transmitted. The value refers to MIB counter for dot3StatsInternalMacTransmitErrors oid=1.3.6.1.2.1.10.7.2.1.10- Returns:
Counter64outMacErrorsTx, ornullif it is not present.
-
requireOutMacErrorsTx
Return outMacErrorsTx, guaranteed to be non-null.The number of sent errored frames due to MAC errors transmitted. The value refers to MIB counter for dot3StatsInternalMacTransmitErrors oid=1.3.6.1.2.1.10.7.2.1.10- Returns:
Counter64outMacErrorsTx, guaranteed to be non-null.- Throws:
NoSuchElementException- if outMacErrorsTx is not present
-