Interface BgpMatchConditions
- 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
- 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 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; } }
-
Field Summary
Modifier and TypeFieldDescriptionstatic final @NonNull org.opendaylight.yangtools.yang.common.QName
YANG identifier of the statement represented by this class. -
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.Class<? extends BgpMatchConditions>
-
Field Details
-
QNAME
static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAMEYANG identifier of the statement represented by this class.
-
-
Method Details
-
implementedInterface
Class<? extends BgpMatchConditions> implementedInterface()- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.BindingContract<org.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.
-