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
All Known Subinterfaces:
Config, Config, LocalAggregateConfig, LocalStaticConfig, State, State

@Generated("mdsal-binding-generator") public interface LocalGenericSettings extends org.opendaylight.yangtools.yang.binding.DataObject
Generic options that can be set on local routes When they are defined

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

 grouping local-generic-settings {
   leaf set-tag {
     type pt:tag-type;
   }
 }
 
  • 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 setTag, or null if it is not present.
     
    default @NonNull TagType
    Return setTag, guaranteed to be non-null.
  • 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 LocalGenericSettings> 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
    • getSetTag

      TagType getSetTag()
      Return setTag, or null if it is not present.
           
               Set a generic tag value on the route. This tag can be used for filtering routes
               that are distributed to other routing protocols.
           
       
      Returns:
      TagType setTag, or null if it is not present.
    • requireSetTag

      default @NonNull TagType requireSetTag()
      Return setTag, guaranteed to be non-null.
           
               Set a generic tag value on the route. This tag can be used for filtering routes
               that are distributed to other routing protocols.
           
       
      Returns:
      TagType setTag, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if setTag is not present