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
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-policy/bgp-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 @Nullable MatchAsPathSet
getMatchAsPathSet()
Match a referenced as-path set according to the logic defined in the match-set-options leaf@Nullable MatchCommunitySet
getMatchCommunitySet()
Match a referenced community-set according to the logic defined in the match-set-options leaf@Nullable MatchExtCommunitySet
getMatchExtCommunitySet()
Match a referenced extended community-set according to the logic defined in the match-set-options leafClass<? 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
@Nullable MatchCommunitySet getMatchCommunitySet()
Match a referenced community-set according to the logic defined in the match-set-options leaf- Returns:
org.opendaylight.yang.gen.v1.http.openconfig.net.yang.bgp.policy.rev151009.bgp.match.conditions.MatchCommunitySet
matchCommunitySet
, ornull
if not present
-
getMatchExtCommunitySet
@Nullable MatchExtCommunitySet getMatchExtCommunitySet()
Match a referenced extended community-set according to the logic defined in the match-set-options leaf- Returns:
org.opendaylight.yang.gen.v1.http.openconfig.net.yang.bgp.policy.rev151009.bgp.match.conditions.MatchExtCommunitySet
matchExtCommunitySet
, ornull
if not present
-
getMatchAsPathSet
@Nullable MatchAsPathSet getMatchAsPathSet()
Match a referenced as-path set according to the logic defined in the match-set-options leaf- Returns:
org.opendaylight.yang.gen.v1.http.openconfig.net.yang.bgp.policy.rev151009.bgp.match.conditions.MatchAsPathSet
matchAsPathSet
, ornull
if not present
-
-