Interface InterfaceCountersState
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
- All Known Subinterfaces:
State
,State
,SubinterfacesState
public interface InterfaceCountersState extends org.opendaylight.yangtools.yang.binding.DataObject
Operational state representing interface counters and statistics. Some of these are adapted from RFC 7223This 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; } } }
The schema path to identify an instance is openconfig-interfaces/interface-counters-state
-
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QName
QNAME
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Counters
getCounters()
A collection of interface-related statistics objects.Class<? extends InterfaceCountersState>
implementedInterface()
-
-
-
Method Detail
-
implementedInterface
Class<? extends InterfaceCountersState> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getCounters
Counters getCounters()
A collection of interface-related statistics objects.- Returns:
org.opendaylight.yang.gen.v1.http.openconfig.net.yang.interfaces.rev160412._interface.counters.state.Counters
counters
, ornull
if not present
-
-