Interface PrefixLimit

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

    public interface PrefixLimit
    extends org.opendaylight.yangtools.yang.binding.ChildOf<VpnAfConfig>, org.opendaylight.yangtools.yang.binding.Augmentable<PrefixLimit>
    The prefix limit command sets a limit on the maximum number of prefixes supported in the existing VPN instance, preventing the PE from importing excessive VPN route prefixes.

    This class represents the following YANG schema fragment defined in module l3vpn-instances-interfaces

     container prefix-limit {
       leaf prefix-limit-number {
         type uint32 {
           range 1..4294967295;
         }
       }
       choice prefix-limit-action {
         case enable-alert-percent {
           leaf alert-percent-value {
             type uint8 {
               range 1..100;
             }
           }
           leaf route-unchanged {
             type boolean;
             default false;
           }
         }
         case enable-simple-alert {
           leaf simple-alert {
             type boolean;
             default false;
           }
         }
       }
     }
     
    The schema path to identify an instance is l3vpn-instances-interfaces/vpn-af-config/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 java.lang.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
      • getPrefixLimitNumber

        @Nullable org.opendaylight.yangtools.yang.common.Uint32 getPrefixLimitNumber()
        Specifies the maximum number of prefixes supported in the VPN instance IPv4 or IPv6 address family.
        Returns:
        org.opendaylight.yangtools.yang.common.Uint32 prefixLimitNumber, or null if not present
      • getPrefixLimitAction

        @Nullable PrefixLimitAction getPrefixLimitAction()
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.netvirt.neutronvpn.l3vpn.rev200204.vpn.af.config.prefix.limit.PrefixLimitAction prefixLimitAction, or null if not present