Interface PrefixSet
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
- All Known Subinterfaces:
PrefixSets
@Generated("mdsal-binding-generator") public interface PrefixSet extends org.opendaylight.yangtools.yang.binding.DataObject
Data definition for a list of IPv4 or IPv6 prefixes which are matched as part a policyThis class represents the following YANG schema fragment defined in module openconfig-routing-policy
grouping prefix-set { list prefix-set { key prefix-set-name; leaf prefix-set-name { type string; } list prefix { key "ip-prefix masklength-range"; leaf ip-prefix { type inet:ip-prefix; } leaf masklength-range { type string { pattern ([0-9]+\.\.[0-9]+)|exact; } } } } }
The schema path to identify an instance is openconfig-routing-policy/prefix-set
-
-
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 Default Methods Modifier and Type Method Description @Nullable Map<PrefixSetKey,PrefixSet>
getPrefixSet()
Return prefixSet, ornull
if it is not present.Class<? extends PrefixSet>
implementedInterface()
default @NonNull Map<PrefixSetKey,PrefixSet>
nonnullPrefixSet()
Return prefixSet, or an empty list if it is not present.
-
-
-
Method Detail
-
implementedInterface
Class<? extends PrefixSet> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getPrefixSet
@Nullable Map<PrefixSetKey,PrefixSet> getPrefixSet()
Return prefixSet, ornull
if it is not present.List of the defined prefix sets
- Returns:
java.util.Map
prefixSet, ornull
if it is not present.
-
nonnullPrefixSet
default @NonNull Map<PrefixSetKey,PrefixSet> nonnullPrefixSet()
Return prefixSet, or an empty list if it is not present.- Returns:
java.util.Map
prefixSet, or an empty list if it is not present.
-
-