Interface BgpMatchConditions
- 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 Summary
Modifier and TypeMethodDescriptionReturn matchAsPathSet, ornull
if it is not present.Return matchCommunitySet, ornull
if it is not present.Return matchExtCommunitySet, ornull
if it is not present.Methods inherited from interface org.opendaylight.yangtools.binding.BindingContract
implementedInterface
-
Method Details
-
getMatchCommunitySet
MatchCommunitySet getMatchCommunitySet()Return matchCommunitySet, ornull
if it is not present.Match a referenced community-set according to the logic defined in the match-set-options leaf
- Returns:
MatchCommunitySet
matchCommunitySet, ornull
if it is not present.
-
getMatchExtCommunitySet
MatchExtCommunitySet getMatchExtCommunitySet()Return matchExtCommunitySet, ornull
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, ornull
if it is not present.
-
getMatchAsPathSet
MatchAsPathSet getMatchAsPathSet()Return matchAsPathSet, ornull
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, ornull
if it is not present.
-