All Superinterfaces:
org.opendaylight.yangtools.binding.Augmentable<MatchExtCommunitySet>, org.opendaylight.yangtools.binding.BindingContract<org.opendaylight.yangtools.binding.DataContainer>, org.opendaylight.yangtools.binding.BindingObject, org.opendaylight.yangtools.binding.ChildOf<BgpMatchConditions>, org.opendaylight.yangtools.binding.ContainerObject<BgpMatchConditions,MatchExtCommunitySet>, org.opendaylight.yangtools.binding.DataContainer, org.opendaylight.yangtools.binding.DataObject, org.opendaylight.yangtools.binding.Grouping, org.opendaylight.yangtools.binding.lib.ImplementedInterface<org.opendaylight.yangtools.binding.DataContainer>, org.opendaylight.yangtools.binding.lib.JavaContract<org.opendaylight.yangtools.binding.DataContainer,MatchExtCommunitySet>, org.opendaylight.yangtools.binding.lib.JavaDataContainer<MatchExtCommunitySet>, MatchSetOptionsGroup, org.opendaylight.yangtools.binding.ParentObject<MatchExtCommunitySet>

@Generated("mdsal-binding-generator") public interface MatchExtCommunitySet extends org.opendaylight.yangtools.binding.ContainerObject<BgpMatchConditions,MatchExtCommunitySet>, MatchSetOptionsGroup
Match a referenced extended community-set according to the logic defined in the match-set-options leaf

This class represents the following YANG schema fragment defined in module openconfig-bgp-policy

 container match-ext-community-set {
   presence
     "The presence of this container indicates that the routes
      should match the referenced extended community set";
   leaf ext-community-set {
     type leafref {
       path /rpol:routing-policy/rpol:defined-sets/bgp-pol:bgp-defined-sets/bgp-pol:ext-community-sets/bgp-pol:ext-community-set/bgp-pol:ext-community-set-name;
     }
   }
   uses rpol:match-set-options-group;
 }
 

To create instances of this class use MatchExtCommunitySetBuilder.

See Also:
  • Field Summary

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

    Modifier and Type
    Method
    Description
    Return extCommunitySet, or null if it is not present.
     
    default boolean
     
    default int
     
    default String
     
    default @NonNull String
    Return extCommunitySet, guaranteed to be non-null.

    Methods inherited from interface org.opendaylight.yangtools.binding.Augmentable

    augmentation, augmentationOrElseThrow, augmentationOrElseThrow, augmentations

    Methods inherited from interface org.opendaylight.yangtools.binding.lib.JavaContract

    equals, hashCode, toString

    Methods inherited from interface org.opendaylight.yang.gen.v1.http.openconfig.net.yang.routing.policy.rev151009.MatchSetOptionsGroup

    getMatchSetOptions, requireMatchSetOptions
  • Field Details

    • QNAME

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

    • getExtCommunitySet

      String getExtCommunitySet()
      Return extCommunitySet, or null if it is not present.
           
               References a defined extended community set
           
       
      Returns:
      String extCommunitySet, or null if it is not present.
    • requireExtCommunitySet

      default @NonNull String requireExtCommunitySet()
      Return extCommunitySet, guaranteed to be non-null.
           
               References a defined extended community set
           
       
      Returns:
      String extCommunitySet, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if extCommunitySet is not present
    • implementedInterface

      default Class<MatchExtCommunitySet> implementedInterface()
      Specified by:
      implementedInterface in interface org.opendaylight.yangtools.binding.BindingContract<org.opendaylight.yangtools.binding.DataContainer>
      Specified by:
      implementedInterface in interface org.opendaylight.yangtools.binding.DataObject
      Specified by:
      implementedInterface in interface org.opendaylight.yangtools.binding.lib.ImplementedInterface<org.opendaylight.yangtools.binding.DataContainer>
      Specified by:
      implementedInterface in interface org.opendaylight.yangtools.binding.ParentObject<MatchExtCommunitySet>
    • javaHC

      default int javaHC()
      Specified by:
      javaHC in interface org.opendaylight.yangtools.binding.lib.JavaContract<org.opendaylight.yangtools.binding.DataContainer,MatchExtCommunitySet>
      Specified by:
      javaHC in interface org.opendaylight.yangtools.binding.lib.JavaDataContainer<MatchExtCommunitySet>
    • javaEQ

      default boolean javaEQ(MatchExtCommunitySet obj)
      Specified by:
      javaEQ in interface org.opendaylight.yangtools.binding.lib.JavaContract<org.opendaylight.yangtools.binding.DataContainer,MatchExtCommunitySet>
      Specified by:
      javaEQ in interface org.opendaylight.yangtools.binding.lib.JavaDataContainer<MatchExtCommunitySet>
    • javaTS

      default String javaTS()
      Specified by:
      javaTS in interface org.opendaylight.yangtools.binding.lib.JavaContract<org.opendaylight.yangtools.binding.DataContainer,MatchExtCommunitySet>
      Specified by:
      javaTS in interface org.opendaylight.yangtools.binding.lib.JavaDataContainer<MatchExtCommunitySet>