Interface NeighborSet
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.Augmentable<NeighborSet>
,org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.ChildOf<NeighborSet>
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
,org.opendaylight.yangtools.yang.binding.Identifiable<NeighborSetKey>
public interface NeighborSet extends org.opendaylight.yangtools.yang.binding.ChildOf<NeighborSet>, org.opendaylight.yangtools.yang.binding.Augmentable<NeighborSet>, org.opendaylight.yangtools.yang.binding.Identifiable<NeighborSetKey>
Definitions for neighbor setsThis class represents the following YANG schema fragment defined in module openconfig-routing-policy
list neighbor-set { key neighbor-set-name; leaf neighbor-set-name { type string; } list neighbor { key address; leaf address { type inet:ip-address; } } }
The schema path to identify an instance is openconfig-routing-policy/neighbor-set/neighbor-setTo create instances of this class use
NeighborSetBuilder
.- See Also:
NeighborSetBuilder
,NeighborSetKey
-
-
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 List<Neighbor>
getNeighbor()
list of addresses that are part of the neighbor set@Nullable String
getNeighborSetName()
name / label of the neighbor set -- this is used to reference the set in match conditionsdefault Class<NeighborSet>
implementedInterface()
NeighborSetKey
key()
default @NonNull List<Neighbor>
nonnullNeighbor()
-
-
-
Method Detail
-
implementedInterface
default Class<NeighborSet> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getNeighborSetName
@Nullable String getNeighborSetName()
name / label of the neighbor set -- this is used to reference the set in match conditions- Returns:
java.lang.String
neighborSetName
, ornull
if not present
-
getNeighbor
@Nullable List<Neighbor> getNeighbor()
list of addresses that are part of the neighbor set- Returns:
java.util.List
neighbor
, ornull
if not present
-
nonnullNeighbor
default @NonNull List<Neighbor> nonnullNeighbor()
- Returns:
java.util.List
neighbor
, or an empty list if it is not present
-
key
NeighborSetKey key()
- Specified by:
key
in interfaceorg.opendaylight.yangtools.yang.binding.Identifiable<NeighborSetKey>
-
-