Interface AdjacencyList
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
- All Known Subinterfaces:
Adjacencies
,AdjacenciesOp
@Generated("mdsal-binding-generator") public interface AdjacencyList extends org.opendaylight.yangtools.yang.binding.DataObject
This class represents the following YANG schema fragment defined in module l3vpn-instances-interfaces
grouping adjacency-list { list adjacency { key ip_address; leaf-list next-hop-ip-list { type string; } leaf ip_address { type string; } leaf adjacency_type { type enumeration { enum primary-adjacency { value 1; } enum learnt-ip { value 2; } enum extra-route { value 3; } } default extra-route; } leaf mac_address { type string; } leaf subnet_id { type yang:uuid; } leaf subnet_gateway_ip { type string; } leaf phys-network-func { type boolean; default false; } uses adjacency-op-data; } }
The schema path to identify an instance is l3vpn-instances-interfaces/adjacency-list
-
-
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 java.util.Map<AdjacencyKey,Adjacency>
getAdjacency()
Return adjacency, ornull
if it is not present.java.lang.Class<? extends AdjacencyList>
implementedInterface()
default @NonNull java.util.Map<AdjacencyKey,Adjacency>
nonnullAdjacency()
Return adjacency, or an empty list if it is not present.
-
-
-
Method Detail
-
implementedInterface
java.lang.Class<? extends AdjacencyList> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getAdjacency
@Nullable java.util.Map<AdjacencyKey,Adjacency> getAdjacency()
Return adjacency, ornull
if it is not present.- Returns:
java.util.Map
adjacency, ornull
if it is not present.
-
nonnullAdjacency
default @NonNull java.util.Map<AdjacencyKey,Adjacency> nonnullAdjacency()
Return adjacency, or an empty list if it is not present.- Returns:
java.util.Map
adjacency, or an empty list if it is not present.
-
-