All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject, LocalGenericSettings
All Known Subinterfaces:
Config, State

@Generated("mdsal-binding-generator") public interface LocalAggregateConfig extends org.opendaylight.yangtools.yang.binding.DataObject, LocalGenericSettings
Configuration data for aggregate routes

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

 grouping local-aggregate-config {
   leaf prefix {
     type inet:ip-prefix;
   }
   leaf discard {
     type boolean;
     default false;
   }
   uses local-generic-settings;
 }
 
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final @NonNull org.opendaylight.yangtools.yang.common.QName
    YANG identifier of the statement represented by this class.
  • Method Summary

    Modifier and Type
    Method
    Description
    Return discard, or null if it is not present.
    org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpPrefix
    Return prefix, or null if it is not present.
     
    default @NonNull Boolean
    Return discard, guaranteed to be non-null.
    default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpPrefix
    Return prefix, guaranteed to be non-null.

    Methods inherited from interface org.opendaylight.yang.gen.v1.http.openconfig.net.yang.local.routing.rev151009.LocalGenericSettings

    getSetTag, requireSetTag
  • Field Details

    • QNAME

      static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
      YANG identifier of the statement represented by this class.
  • Method Details

    • implementedInterface

      Class<? extends LocalAggregateConfig> implementedInterface()
      Specified by:
      implementedInterface in interface org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>
      Specified by:
      implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      Specified by:
      implementedInterface in interface LocalGenericSettings
    • getPrefix

      org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpPrefix getPrefix()
      Return prefix, or null if it is not present.
           
               Aggregate prefix to be advertised
           
       
      Returns:
      IpPrefix prefix, or null if it is not present.
    • requirePrefix

      default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpPrefix requirePrefix()
      Return prefix, guaranteed to be non-null.
           
               Aggregate prefix to be advertised
           
       
      Returns:
      IpPrefix prefix, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if prefix is not present
    • getDiscard

      Boolean getDiscard()
      Return discard, or null if it is not present.
           
               When true, install the aggregate route with a discard next-hop -- traffic
               destined to the aggregate will be discarded with no ICMP message generated. When
               false, traffic destined to an aggregate address when no constituent routes are
               present will generate an ICMP unreachable message.
           
       
      Returns:
      Boolean discard, or null if it is not present.
    • requireDiscard

      default @NonNull Boolean requireDiscard()
      Return discard, guaranteed to be non-null.
           
               When true, install the aggregate route with a discard next-hop -- traffic
               destined to the aggregate will be discarded with no ICMP message generated. When
               false, traffic destined to an aggregate address when no constituent routes are
               present will generate an ICMP unreachable message.
           
       
      Returns:
      Boolean discard, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if discard is not present