Interface GenericConditions

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject, LocalGenericConditions
    All Known Subinterfaces:
    Conditions

    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;
     }
     
    The schema path to identify an instance is openconfig-routing-policy/generic-conditions
    • Field Detail

      • QNAME

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

      • implementedInterface

        Class<? extends GenericConditions> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
        Specified by:
        implementedInterface in interface LocalGenericConditions
      • getMatchPrefixSet

        @Nullable MatchPrefixSet getMatchPrefixSet()
        Match a referenced prefix-set according to the logic defined in the match-set-options leaf
        Returns:
        org.opendaylight.yang.gen.v1.http.openconfig.net.yang.routing.policy.rev151009.generic.conditions.MatchPrefixSet matchPrefixSet, or null if not present
      • getMatchNeighborSet

        @Nullable MatchNeighborSet getMatchNeighborSet()
        Match a referenced neighbor set according to the logic defined in the match-set-options-leaf
        Returns:
        org.opendaylight.yang.gen.v1.http.openconfig.net.yang.routing.policy.rev151009.generic.conditions.MatchNeighborSet matchNeighborSet, or null if not present
      • getMatchTagSet

        @Nullable MatchTagSet getMatchTagSet()
        Match a referenced tag set according to the logic defined in the match-options-set leaf
        Returns:
        org.opendaylight.yang.gen.v1.http.openconfig.net.yang.routing.policy.rev151009.generic.conditions.MatchTagSet matchTagSet, or null if not present