Interface LocalAggregates

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

    public interface LocalAggregates
    extends org.opendaylight.yangtools.yang.binding.ChildOf<LocalAggregateTop>, org.opendaylight.yangtools.yang.binding.Augmentable<LocalAggregates>
    Enclosing container for locally-defined aggregate routes

    This class represents the following YANG schema fragment defined in module openconfig-local-routing

     container local-aggregates {
       list aggregate {
         key prefix;
         leaf prefix {
           type leafref {
             path ../config/prefix;
           }
         }
         container config {
           uses local-aggregate-config;
         }
         container state {
           config false;
           uses local-aggregate-config;
           uses local-aggregate-state;
         }
       }
     }
     
    The schema path to identify an instance is openconfig-local-routing/local-aggregate-top/local-aggregates

    To create instances of this class use LocalAggregatesBuilder.

    See Also:
    LocalAggregatesBuilder
    • Field Detail

      • QNAME

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

      • implementedInterface

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

        @Nullable List<Aggregate> getAggregate()
        List of aggregates
        Returns:
        java.util.List aggregate, or null if not present
      • nonnullAggregate

        default @NonNull List<Aggregate> nonnullAggregate()
        Returns:
        java.util.List aggregate, or an empty list if it is not present