Package org.opendaylight.yang.gen.v1.urn.opendaylight.netvirt.neutronvpn.l3vpn.rev200204.adjacency.list
Interface Adjacency
-
- All Superinterfaces:
AdjacencyOpData
,org.opendaylight.yangtools.yang.binding.Augmentable<Adjacency>
,org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.ChildOf<AdjacencyList>
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
,org.opendaylight.yangtools.yang.binding.Identifiable<AdjacencyKey>
public interface Adjacency extends org.opendaylight.yangtools.yang.binding.ChildOf<AdjacencyList>, org.opendaylight.yangtools.yang.binding.Augmentable<Adjacency>, AdjacencyOpData, org.opendaylight.yangtools.yang.binding.Identifiable<AdjacencyKey>
This class represents the following YANG schema fragment defined in module l3vpn-instances-interfaces
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/adjacencyTo create instances of this class use
AdjacencyBuilder
.- See Also:
AdjacencyBuilder
,AdjacencyKey
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
Adjacency.AdjacencyType
-
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 Adjacency.AdjacencyType
getAdjacencyType()
The type of adjacency@Nullable java.lang.String
getIpAddress()
@Nullable java.lang.String
getMacAddress()
@Nullable java.util.List<java.lang.String>
getNextHopIpList()
@Nullable java.lang.String
getSubnetGatewayIp()
@Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid
getSubnetId()
default java.lang.Class<Adjacency>
implementedInterface()
@Nullable java.lang.Boolean
isPhysNetworkFunc()
Value of True indicates this is an adjacency of a device in a provider networkAdjacencyKey
key()
-
Methods inherited from interface org.opendaylight.yang.gen.v1.urn.opendaylight.netvirt.neutronvpn.l3vpn.rev200204.AdjacencyOpData
getLabel, getSubnetGatewayMacAddress, getVrfId, isMarkedForDeletion
-
-
-
-
Method Detail
-
implementedInterface
default java.lang.Class<Adjacency> implementedInterface()
- Specified by:
implementedInterface
in interfaceAdjacencyOpData
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getNextHopIpList
@Nullable java.util.List<java.lang.String> getNextHopIpList()
- Returns:
java.util.List
nextHopIpList
, ornull
if not present
-
getIpAddress
@Nullable java.lang.String getIpAddress()
- Returns:
java.lang.String
ipAddress
, ornull
if not present
-
getAdjacencyType
@Nullable Adjacency.AdjacencyType getAdjacencyType()
The type of adjacency- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.netvirt.neutronvpn.l3vpn.rev200204.adjacency.list.Adjacency.AdjacencyType
adjacencyType
, ornull
if not present
-
getMacAddress
@Nullable java.lang.String getMacAddress()
- Returns:
java.lang.String
macAddress
, ornull
if not present
-
getSubnetId
@Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid getSubnetId()
- Returns:
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid
subnetId
, ornull
if not present
-
getSubnetGatewayIp
@Nullable java.lang.String getSubnetGatewayIp()
- Returns:
java.lang.String
subnetGatewayIp
, ornull
if not present
-
isPhysNetworkFunc
@Nullable java.lang.Boolean isPhysNetworkFunc()
Value of True indicates this is an adjacency of a device in a provider network- Returns:
java.lang.Boolean
physNetworkFunc
, ornull
if not present
-
key
AdjacencyKey key()
- Specified by:
key
in interfaceorg.opendaylight.yangtools.yang.binding.Identifiable<AdjacencyKey>
-
-