Interface Drop

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.Augmentable<Drop>, BandType, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.ChoiceIn<BandType>, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject

    public interface Drop
    extends org.opendaylight.yangtools.yang.binding.DataObject, org.opendaylight.yangtools.yang.binding.Augmentable<Drop>, BandType

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

     case drop {
       leaf drop-rate {
         type uint32;
       }
       leaf drop-burst-size {
         type uint32;
       }
     }
     
    The schema path to identify an instance is opendaylight-meter-types/band-type/band-type/drop
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static @NonNull org.opendaylight.yangtools.yang.common.QName QNAME  
    • Field Detail

      • QNAME

        static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
    • Method Detail

      • implementedInterface

        default Class<Drop> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      • getDropRate

        org.opendaylight.yangtools.yang.common.Uint32 getDropRate()
        Rate for dropping packets
        Returns:
        org.opendaylight.yangtools.yang.common.Uint32 dropRate, or null if not present
      • getDropBurstSize

        org.opendaylight.yangtools.yang.common.Uint32 getDropBurstSize()
        Size of bursts
        Returns:
        org.opendaylight.yangtools.yang.common.Uint32 dropBurstSize, or null if not present