Interface RoutingTableLimit

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.Augmentable<RoutingTableLimit>, 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 RoutingTableLimit
    extends org.opendaylight.yangtools.yang.binding.ChildOf<VpnAfConfig>, org.opendaylight.yangtools.yang.binding.Augmentable<RoutingTableLimit>
    The routing-table limit command sets a limit on the maximum number of routes that the IPv4 or IPv6 address family of a VPN instance can support. By default, there is no limit on the maximum number of routes that the IPv4 or IPv6 address family of a VPN instance can support, but the total number of private network and public network routes on a device cannot exceed the allowed maximum number of unicast routes.

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

     container routing-table-limit {
       leaf routing-table-limit-number {
         type uint32 {
           range 1..4294967295;
         }
       }
       choice routing-table-limit-action {
         case enable-alert-percent {
           leaf alert-percent-value {
             type uint8 {
               range 1..100;
             }
           }
         }
         case enable-simple-alert {
           leaf simple-alert {
             type boolean;
           }
         }
       }
     }
     
    The schema path to identify an instance is l3vpn-instances-interfaces/vpn-af-config/routing-table-limit

    To create instances of this class use RoutingTableLimitBuilder.

    See Also:
    RoutingTableLimitBuilder
    • Field Detail

      • QNAME

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

      • implementedInterface

        default java.lang.Class<RoutingTableLimit> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      • getRoutingTableLimitNumber

        @Nullable org.opendaylight.yangtools.yang.common.Uint32 getRoutingTableLimitNumber()
        Specifies the maximum number of routes supported by a VPN instance.
        Returns:
        org.opendaylight.yangtools.yang.common.Uint32 routingTableLimitNumber, or null if not present
      • getRoutingTableLimitAction

        @Nullable RoutingTableLimitAction getRoutingTableLimitAction()
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.netvirt.neutronvpn.l3vpn.rev200204.vpn.af.config.routing.table.limit.RoutingTableLimitAction routingTableLimitAction, or null if not present