Interface PrefixLimit

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.Augmentable<PrefixLimit>, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.ChildOf<AllAfiSafiCommon>, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject

    public interface PrefixLimit
    extends org.opendaylight.yangtools.yang.binding.ChildOf<AllAfiSafiCommon>, org.opendaylight.yangtools.yang.binding.Augmentable<PrefixLimit>
    Configure the maximum number of prefixes that will be accepted from a peer

    This class represents the following YANG schema fragment defined in module openconfig-bgp-multiprotocol

     container prefix-limit {
       container config {
         uses all-afi-safi-common-prefix-limit_config;
       }
       container state {
         config false;
         uses all-afi-safi-common-prefix-limit_config;
       }
     }
     
    The schema path to identify an instance is openconfig-bgp-multiprotocol/all-afi-safi-common/prefix-limit

    To create instances of this class use PrefixLimitBuilder.

    See Also:
    PrefixLimitBuilder
    • Field Detail

      • QNAME

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

      • implementedInterface

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

        @Nullable Config getConfig()
        Configuration parameters relating to the prefix limit for the AFI-SAFI
        Returns:
        org.opendaylight.yang.gen.v1.http.openconfig.net.yang.bgp.multiprotocol.rev151009.all.afi.safi.common.prefix.limit.Config config, or null if not present
      • getState

        @Nullable State getState()
        State information relating to the prefix-limit for the AFI-SAFI
        Returns:
        org.opendaylight.yang.gen.v1.http.openconfig.net.yang.bgp.multiprotocol.rev151009.all.afi.safi.common.prefix.limit.State state, or null if not present