All Superinterfaces:
org.opendaylight.yangtools.binding.BindingContract<org.opendaylight.yangtools.binding.DataContainer>, org.opendaylight.yangtools.binding.BindingObject, org.opendaylight.yangtools.binding.DataContainer, org.opendaylight.yangtools.binding.Grouping
All Known Subinterfaces:
BgpConditions

@Generated("mdsal-binding-generator") public interface BgpMatchConditions extends org.opendaylight.yangtools.binding.Grouping
Condition statement definitions for checking membership in a defined set

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

 grouping bgp-match-conditions {
   container match-community-set {
     presence
       "The presence of this container indicates that the routes
        should match the referenced community-set";
     leaf community-set {
       type leafref {
         path /rpol:routing-policy/rpol:defined-sets/bgp-pol:bgp-defined-sets/bgp-pol:community-sets/bgp-pol:community-set/bgp-pol:community-set-name;
       }
     }
     uses rpol:match-set-options-group;
   }
   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;
   }
   container match-as-path-set {
     presence
       "The presence of this container indicates that the route
        should match the referenced as-path set";
     leaf as-path-set {
       type leafref {
         path /rpol:routing-policy/rpol:defined-sets/bgp-pol:bgp-defined-sets/bgp-pol:as-path-sets/bgp-pol:as-path-set/bgp-pol:as-path-set-name;
       }
     }
     uses rpol:match-set-options-group;
   }
 }
 
  • Method Details

    • getMatchCommunitySet

      MatchCommunitySet getMatchCommunitySet()
      Return matchCommunitySet, or null if it is not present.
           
               Match a referenced community-set according to the logic defined in the
               match-set-options leaf
           
       
      Returns:
      MatchCommunitySet matchCommunitySet, or null if it is not present.
    • getMatchExtCommunitySet

      MatchExtCommunitySet getMatchExtCommunitySet()
      Return matchExtCommunitySet, or null if it is not present.
           
               Match a referenced extended community-set according to the logic defined in the
               match-set-options leaf
           
       
      Returns:
      MatchExtCommunitySet matchExtCommunitySet, or null if it is not present.
    • getMatchAsPathSet

      MatchAsPathSet getMatchAsPathSet()
      Return matchAsPathSet, or null if it is not present.
           
               Match a referenced as-path set according to the logic defined in the
               match-set-options leaf
           
       
      Returns:
      MatchAsPathSet matchAsPathSet, or null if it is not present.