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
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; }
The schema path to identify an instance is openconfig-routing-policy/generic-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 MatchNeighborSet
getMatchNeighborSet()
Match a referenced neighbor set according to the logic defined in the match-set-options-leaf@Nullable MatchPrefixSet
getMatchPrefixSet()
Match a referenced prefix-set according to the logic defined in the match-set-options leaf@Nullable MatchTagSet
getMatchTagSet()
Match a referenced tag set according to the logic defined in the match-options-set leafClass<? extends GenericConditions>
implementedInterface()
-
Methods inherited from interface org.opendaylight.yang.gen.v1.http.openconfig.net.yang.routing.policy.rev151009.LocalGenericConditions
getInstallProtocolEq
-
-
-
-
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
@Nullable MatchPrefixSet getMatchPrefixSet()
Match a referenced prefix-set according to the logic defined in the match-set-options leaf- Returns:
org.opendaylight.yang.gen.v1.http.openconfig.net.yang.routing.policy.rev151009.generic.conditions.MatchPrefixSet
matchPrefixSet
, ornull
if not present
-
getMatchNeighborSet
@Nullable MatchNeighborSet getMatchNeighborSet()
Match a referenced neighbor set according to the logic defined in the match-set-options-leaf- Returns:
org.opendaylight.yang.gen.v1.http.openconfig.net.yang.routing.policy.rev151009.generic.conditions.MatchNeighborSet
matchNeighborSet
, ornull
if not present
-
getMatchTagSet
@Nullable MatchTagSet getMatchTagSet()
Match a referenced tag set according to the logic defined in the match-options-set leaf- Returns:
org.opendaylight.yang.gen.v1.http.openconfig.net.yang.routing.policy.rev151009.generic.conditions.MatchTagSet
matchTagSet
, ornull
if not present
-
-