Interface GenericTableStatistics

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject
    All Known Subinterfaces:
    FlowTableAndStatisticsMap, FlowTableStatistics

    @Generated("mdsal-binding-generator")
    public interface GenericTableStatistics
    extends org.opendaylight.yangtools.yang.binding.DataObject
    Generic grouping holding generic statistics related to switch table

    This class represents the following YANG schema fragment defined in module opendaylight-statistics-types

     grouping generic-table-statistics {
       leaf active-flows {
         type yang:counter32;
       }
       leaf packets-looked-up {
         type yang:counter64;
       }
       leaf packets-matched {
         type yang:counter64;
       }
     }
     
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
      YANG identifier of the statement represented by this class.
    • Method Summary

      All Methods Instance Methods Abstract Methods Default Methods 
      Modifier and Type Method Description
      org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Counter32 getActiveFlows()
      Return activeFlows, or null if it is not present.
      org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Counter64 getPacketsLookedUp()
      Return packetsLookedUp, or null if it is not present.
      org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Counter64 getPacketsMatched()
      Return packetsMatched, or null if it is not present.
      Class<? extends GenericTableStatistics> implementedInterface()  
      default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Counter32 requireActiveFlows()
      Return activeFlows, guaranteed to be non-null.
      default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Counter64 requirePacketsLookedUp()
      Return packetsLookedUp, guaranteed to be non-null.
      default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Counter64 requirePacketsMatched()
      Return packetsMatched, guaranteed to be non-null.
    • Field Detail

      • QNAME

        static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
        YANG identifier of the statement represented by this class.
    • Method Detail

      • implementedInterface

        Class<? extends GenericTableStatistics> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      • getActiveFlows

        org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Counter32 getActiveFlows()
        Return activeFlows, or null if it is not present.
        Returns:
        Counter32 activeFlows, or null if it is not present.
      • requireActiveFlows

        default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Counter32 requireActiveFlows()
        Return activeFlows, guaranteed to be non-null.
        Returns:
        Counter32 activeFlows, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if activeFlows is not present
      • getPacketsLookedUp

        org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Counter64 getPacketsLookedUp()
        Return packetsLookedUp, or null if it is not present.
        Returns:
        Counter64 packetsLookedUp, or null if it is not present.
      • requirePacketsLookedUp

        default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Counter64 requirePacketsLookedUp()
        Return packetsLookedUp, guaranteed to be non-null.
        Returns:
        Counter64 packetsLookedUp, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if packetsLookedUp is not present
      • getPacketsMatched

        org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Counter64 getPacketsMatched()
        Return packetsMatched, or null if it is not present.
        Returns:
        Counter64 packetsMatched, or null if it is not present.
      • requirePacketsMatched

        default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Counter64 requirePacketsMatched()
        Return packetsMatched, guaranteed to be non-null.
        Returns:
        Counter64 packetsMatched, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if packetsMatched is not present