Interface InterfaceCountersState
- All Superinterfaces:
org.opendaylight.yangtools.binding.BindingContract<org.opendaylight.yangtools.binding.DataContainer>
,org.opendaylight.yangtools.binding.BindingObject
,org.opendaylight.yangtools.binding.DataContainer
,org.opendaylight.yangtools.binding.Grouping
- All Known Subinterfaces:
State
,State
,SubinterfacesState
@Generated("mdsal-binding-generator")
public interface InterfaceCountersState
extends org.opendaylight.yangtools.binding.Grouping
Operational state representing interface counters and statistics. Some of these
are adapted from RFC 7223
This class represents the following YANG schema fragment defined in module openconfig-interfaces
grouping interface-counters-state { container counters { leaf in-octets { type yang:counter64; } leaf in-unicast-pkts { type yang:counter64; } leaf in-broadcast-pkts { type yang:counter64; } leaf in-multicast-pkts { type yang:counter64; } leaf in-discards { type yang:counter64; } leaf in-errors { type yang:counter64; } leaf in-unknown-protos { type yang:counter32; } leaf out-octets { type yang:counter64; } leaf out-unicast-pkts { type yang:counter64; } leaf out-broadcast-pkts { type yang:counter64; } leaf out-multicast-pkts { type yang:counter64; } leaf out-discards { type yang:counter64; } leaf out-errors { type yang:counter64; } leaf last-clear { type yang:date-and-time; } } }
-
Method Summary
Modifier and TypeMethodDescriptionReturn counters, ornull
if it is not present.@NonNull Counters
Return counters, or an empty instance if it is not present.Methods inherited from interface org.opendaylight.yangtools.binding.BindingContract
implementedInterface
-
Method Details
-
getCounters
Counters getCounters()Return counters, ornull
if it is not present.A collection of interface-related statistics objects.
- Returns:
Counters
counters, ornull
if it is not present.
-
nonnullCounters
@NonNull Counters nonnullCounters()Return counters, or an empty instance if it is not present.- Returns:
Counters
counters, or an empty instance if it is not present.
-