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, LocalGenericConditions
All Known Subinterfaces:
Conditions

@Generated("mdsal-binding-generator") public interface GenericConditions extends org.opendaylight.yangtools.yang.binding.DataObject, LocalGenericConditions
Condition statement definitions for checking membership in a generic defined set

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

 grouping generic-conditions {
   container match-prefix-set {
     presence
       "The presence of this container indicates that the routes
        should match the prefix-set referenced.";
     leaf prefix-set {
       type leafref {
         path /routing-policy/defined-sets/prefix-sets/prefix-set/prefix-set-name;
       }
     }
     uses match-set-options-restricted-group;
   }
   container match-neighbor-set {
     presence
       "The presence of this container indicates that the routes
        should match the neighbour set referenced";
     leaf neighbor-set {
       type leafref {
         path /routing-policy/defined-sets/neighbor-sets/neighbor-set/neighbor-set-name;
       }
     }
     uses match-set-options-restricted-group;
   }
   container match-tag-set {
     presence
       "The presence of this container indicates that the routes
        should match the tag-set referenced";
     leaf tag-set {
       type leafref {
         path /routing-policy/defined-sets/tag-sets/tag-set/tag-set-name;
       }
     }
     uses match-set-options-restricted-group;
   }
   uses local-generic-conditions;
 }
 
  • 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 GenericConditions> 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 LocalGenericConditions
    • getMatchPrefixSet

      MatchPrefixSet getMatchPrefixSet()
      Return matchPrefixSet, or null if it is not present.
           
               Match a referenced prefix-set according to the logic defined in the
               match-set-options leaf
           
       
      Returns:
      MatchPrefixSet matchPrefixSet, or null if it is not present.
    • getMatchNeighborSet

      MatchNeighborSet getMatchNeighborSet()
      Return matchNeighborSet, or null if it is not present.
           
               Match a referenced neighbor set according to the logic defined in the
               match-set-options-leaf
           
       
      Returns:
      MatchNeighborSet matchNeighborSet, or null if it is not present.
    • getMatchTagSet

      MatchTagSet getMatchTagSet()
      Return matchTagSet, or null if it is not present.
           
               Match a referenced tag set according to the logic defined in the
               match-options-set leaf
           
       
      Returns:
      MatchTagSet matchTagSet, or null if it is not present.