Interface GenericConditions
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
,LocalGenericConditions
- All Known Subinterfaces:
Conditions
@Generated("mdsal-binding-generator") public interface GenericConditions extends org.opendaylight.yangtools.yang.binding.DataObject, LocalGenericConditions
Condition statement definitions for checking membership in a generic defined setThis 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; }
-
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QName
QNAME
YANG identifier of the statement represented by this class.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MatchNeighborSet
getMatchNeighborSet()
Return matchNeighborSet, ornull
if it is not present.MatchPrefixSet
getMatchPrefixSet()
Return matchPrefixSet, ornull
if it is not present.MatchTagSet
getMatchTagSet()
Return matchTagSet, ornull
if it is not present.Class<? extends GenericConditions>
implementedInterface()
-
Methods inherited from interface org.opendaylight.yang.gen.v1.http.openconfig.net.yang.routing.policy.rev151009.LocalGenericConditions
getInstallProtocolEq, requireInstallProtocolEq
-
-
-
-
Method Detail
-
implementedInterface
Class<? extends GenericConditions> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
- Specified by:
implementedInterface
in interfaceLocalGenericConditions
-
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.
-
-