Interface ExtrarouteRds

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.Augmentable<ExtrarouteRds>, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.ChildOf<ExtrarouteRdsMap>, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject, org.opendaylight.yangtools.yang.binding.Identifiable<ExtrarouteRdsKey>

    public interface ExtrarouteRds
    extends org.opendaylight.yangtools.yang.binding.ChildOf<ExtrarouteRdsMap>, org.opendaylight.yangtools.yang.binding.Augmentable<ExtrarouteRds>, org.opendaylight.yangtools.yang.binding.Identifiable<ExtrarouteRdsKey>
    List of route distinguishers used to create a unique NLRI for the destination prefix

    This class represents the following YANG schema fragment defined in module odl-fib

     list extraroute-rds {
       key vpnid;
       leaf vpnid {
         type uint32;
       }
       list dest-prefixes {
         key dest-prefix;
         leaf dest-prefix {
           type string;
         }
         list allocated-rds {
           key nexthop;
           leaf nexthop {
             type string;
           }
           leaf rd {
             type string;
           }
         }
       }
     }
     
    The schema path to identify an instance is odl-fib/extraroute-rds-map/extraroute-rds

    To create instances of this class use ExtrarouteRdsBuilder.

    See Also:
    ExtrarouteRdsBuilder, ExtrarouteRdsKey
    • Field Detail

      • QNAME

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

      • implementedInterface

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

        @Nullable org.opendaylight.yangtools.yang.common.Uint32 getVpnid()
        Returns:
        org.opendaylight.yangtools.yang.common.Uint32 vpnid, or null if not present
      • getDestPrefixes

        @Nullable java.util.List<DestPrefixes> getDestPrefixes()
        Returns:
        java.util.List destPrefixes, or null if not present
      • nonnullDestPrefixes

        default @NonNull java.util.List<DestPrefixes> nonnullDestPrefixes()
        Returns:
        java.util.List destPrefixes, or an empty list if it is not present