Interface GenericConditions
- 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
,LocalGenericConditions
- All Known Subinterfaces:
Conditions
@Generated("mdsal-binding-generator")
public interface GenericConditions
extends org.opendaylight.yangtools.binding.Grouping, LocalGenericConditions
Condition statement definitions for checking membership in a generic defined set
This class represents the following YANG schema fragment defined in module openconfig-routing-policy
grouping generic-conditions { container match-prefix-set { presence "The presence of this container indicates that the routes should match the prefix-set referenced."; leaf prefix-set { type leafref { path /routing-policy/defined-sets/prefix-sets/prefix-set/prefix-set-name; } } uses match-set-options-restricted-group; } container match-neighbor-set { presence "The presence of this container indicates that the routes should match the neighbour set referenced"; leaf neighbor-set { type leafref { path /routing-policy/defined-sets/neighbor-sets/neighbor-set/neighbor-set-name; } } uses match-set-options-restricted-group; } container match-tag-set { presence "The presence of this container indicates that the routes should match the tag-set referenced"; leaf tag-set { type leafref { path /routing-policy/defined-sets/tag-sets/tag-set/tag-set-name; } } uses match-set-options-restricted-group; } uses local-generic-conditions; }
-
Method Summary
Modifier and TypeMethodDescriptionReturn matchNeighborSet, ornull
if it is not present.Return matchPrefixSet, ornull
if it is not present.Return matchTagSet, ornull
if it is not present.Methods inherited from interface org.opendaylight.yangtools.binding.BindingContract
implementedInterface
Methods inherited from interface org.opendaylight.yang.gen.v1.http.openconfig.net.yang.routing.policy.rev151009.LocalGenericConditions
getInstallProtocolEq, requireInstallProtocolEq
-
Method Details
-
getMatchPrefixSet
MatchPrefixSet getMatchPrefixSet()Return matchPrefixSet, ornull
if it is not present.Match a referenced prefix-set according to the logic defined in the match-set-options leaf
- Returns:
MatchPrefixSet
matchPrefixSet, ornull
if it is not present.
-
getMatchNeighborSet
MatchNeighborSet getMatchNeighborSet()Return matchNeighborSet, ornull
if it is not present.Match a referenced neighbor set according to the logic defined in the match-set-options-leaf
- Returns:
MatchNeighborSet
matchNeighborSet, ornull
if it is not present.
-
getMatchTagSet
MatchTagSet getMatchTagSet()Return matchTagSet, ornull
if it is not present.Match a referenced tag set according to the logic defined in the match-options-set leaf
- Returns:
MatchTagSet
matchTagSet, ornull
if it is not present.
-