Interface NeighborSet
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>
,org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
- All Known Subinterfaces:
NeighborSets
@Generated("mdsal-binding-generator")
public interface NeighborSet
extends org.opendaylight.yangtools.yang.binding.DataObject
Data definition for a list of IPv4 or IPv6 neighbors which can be matched in a
routing policy
This class represents the following YANG schema fragment defined in module openconfig-routing-policy
grouping neighbor-set { list neighbor-set { key neighbor-set-name; leaf neighbor-set-name { type string; } list neighbor { key address; leaf address { type inet:ip-address; } } } }
-
Field Summary
Modifier and TypeFieldDescriptionstatic final @NonNull org.opendaylight.yangtools.yang.common.QName
YANG identifier of the statement represented by this class. -
Method Summary
Modifier and TypeMethodDescription@Nullable Map<NeighborSetKey,
NeighborSet> Return neighborSet, ornull
if it is not present.Class<? extends NeighborSet>
default @NonNull Map<NeighborSetKey,
NeighborSet> Return neighborSet, or an empty list if it is not present.
-
Field Details
-
QNAME
static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAMEYANG identifier of the statement represented by this class.
-
-
Method Details
-
implementedInterface
Class<? extends NeighborSet> implementedInterface()- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getNeighborSet
@Nullable Map<NeighborSetKey,NeighborSet> getNeighborSet()Return neighborSet, ornull
if it is not present.Definitions for neighbor sets
- Returns:
Map<NeighborSetKey, org.opendaylight.yang.gen.v1.http.openconfig.net.yang.routing.policy.rev151009.neighbor.set.NeighborSet>
neighborSet, ornull
if it is not present.
-
nonnullNeighborSet
Return neighborSet, or an empty list if it is not present.- Returns:
Map<NeighborSetKey, org.opendaylight.yang.gen.v1.http.openconfig.net.yang.routing.policy.rev151009.neighbor.set.NeighborSet>
neighborSet, or an empty list if it is not present.
-