Interface BgpMatchConditions
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
- All Known Subinterfaces:
BgpConditions
@Generated("mdsal-binding-generator") public interface BgpMatchConditions extends org.opendaylight.yangtools.yang.binding.DataObject
Condition statement definitions for checking membership in a defined setThis 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; } }
The schema path to identify an instance is openconfig-bgp-policybgp-match-conditions
-
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QName
QNAME
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MatchAsPathSet
getMatchAsPathSet()
Return matchAsPathSet, ornull
if it is not present.MatchCommunitySet
getMatchCommunitySet()
Return matchCommunitySet, ornull
if it is not present.MatchExtCommunitySet
getMatchExtCommunitySet()
Return matchExtCommunitySet, ornull
if it is not present.Class<? extends BgpMatchConditions>
implementedInterface()
-
-
-
Method Detail
-
implementedInterface
Class<? extends BgpMatchConditions> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
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.
-
-