Interface InterfaceCountersState
- 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:
State,State,SubinterfacesState
@Generated("mdsal-binding-generator")
public interface InterfaceCountersState
extends org.opendaylight.yangtools.yang.binding.DataObject
Operational state representing interface counters and statistics.
This class represents the following YANG schema fragment defined in module openconfig-interfaces
grouping interface-counters-state {
oc-ext:operational;
container counters {
leaf in-octets {
type oc-yang:counter64;
}
leaf in-pkts {
type oc-yang:counter64;
}
leaf in-unicast-pkts {
type oc-yang:counter64;
}
leaf in-broadcast-pkts {
type oc-yang:counter64;
}
leaf in-multicast-pkts {
type oc-yang:counter64;
}
leaf in-discards {
type oc-yang:counter64;
}
leaf in-errors {
type oc-yang:counter64;
}
leaf in-unknown-protos {
type oc-yang:counter64;
}
leaf in-fcs-errors {
type oc-yang:counter64;
}
leaf out-octets {
type oc-yang:counter64;
}
leaf out-pkts {
type oc-yang:counter64;
}
leaf out-unicast-pkts {
type oc-yang:counter64;
}
leaf out-broadcast-pkts {
type oc-yang:counter64;
}
leaf out-multicast-pkts {
type oc-yang:counter64;
}
leaf out-discards {
type oc-yang:counter64;
}
leaf out-errors {
type oc-yang:counter64;
}
leaf carrier-transitions {
type oc-yang:counter64;
oc-ext:telemetry-on-change;
}
leaf last-clear {
type oc-types:timeticks64;
oc-ext:telemetry-on-change;
}
}
}
-
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 counters, ornullif it is not present.Class<? extends InterfaceCountersState>@NonNull CountersReturn counters, or an empty instance if it is not present.
-
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 InterfaceCountersState> 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
-
getCounters
Counters getCounters()Return counters, ornullif it is not present.A collection of interface-related statistics objects.- Returns:
Counterscounters, ornullif it is not present.
-
nonnullCounters
@NonNull Counters nonnullCounters()Return counters, or an empty instance if it is not present.- Returns:
Counterscounters, or an empty instance if it is not present.
-