Interface SubnetOpDataEntry
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.Augmentable<SubnetOpDataEntry>
,org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.ChildOf<SubnetOpData>
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
,org.opendaylight.yangtools.yang.binding.Identifiable<SubnetOpDataEntryKey>
,NetworkAttributes
public interface SubnetOpDataEntry extends org.opendaylight.yangtools.yang.binding.ChildOf<SubnetOpData>, org.opendaylight.yangtools.yang.binding.Augmentable<SubnetOpDataEntry>, NetworkAttributes, org.opendaylight.yangtools.yang.binding.Identifiable<SubnetOpDataEntryKey>
This class represents the following YANG schema fragment defined in module odl-l3vpn
list subnet-op-data-entry { key subnet-id; leaf subnet-id { type yang:uuid; } leaf nh-dpnId { type uint64; } leaf vpn-name { type string; } leaf vrf-id { type string; } leaf subnet-cidr { type string; } leaf route-adv-state { type task-state; } leaf last-adv-state { type task-state; } leaf elan-tag { type uint32; } list subnet-to-dpn { key dpnId; leaf dpnId { type uint64; } list vpn-interfaces { key interface-name; leaf interface-name { type string; } } } leaf label { type uint32; } leaf l3vni { type uint32; } uses nvpn:network-attributes; }
The schema path to identify an instance is odl-l3vpn/subnet-op-data/subnet-op-data-entryTo create instances of this class use
SubnetOpDataEntryBuilder
.- See Also:
SubnetOpDataEntryBuilder
,SubnetOpDataEntryKey
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.opendaylight.yang.gen.v1.urn.opendaylight.netvirt.neutronvpn.rev150602.NetworkAttributes
NetworkAttributes.NetworkType
-
-
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 org.opendaylight.yangtools.yang.common.Uint32
getElanTag()
@Nullable org.opendaylight.yangtools.yang.common.Uint32
getL3vni()
@Nullable org.opendaylight.yangtools.yang.common.Uint32
getLabel()
@Nullable TaskState
getLastAdvState()
The previous status of the subnet route advertisement/withdrawal.@Nullable org.opendaylight.yangtools.yang.common.Uint64
getNhDpnId()
DpnId for the DPN used as nexthop for this subnet@Nullable TaskState
getRouteAdvState()
The status of the subnet route advertisement/withdrawal@Nullable java.lang.String
getSubnetCidr()
Subnet in cidr notation@Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid
getSubnetId()
UUID representing the subnet@Nullable java.util.List<SubnetToDpn>
getSubnetToDpn()
@Nullable java.lang.String
getVpnName()
VPN Instance name@Nullable java.lang.String
getVrfId()
default java.lang.Class<SubnetOpDataEntry>
implementedInterface()
SubnetOpDataEntryKey
key()
default @NonNull java.util.List<SubnetToDpn>
nonnullSubnetToDpn()
-
Methods inherited from interface org.opendaylight.yang.gen.v1.urn.opendaylight.netvirt.neutronvpn.rev150602.NetworkAttributes
getNetworkId, getNetworkType, getSegmentationId, isExternal
-
-
-
-
Method Detail
-
implementedInterface
default java.lang.Class<SubnetOpDataEntry> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
- Specified by:
implementedInterface
in interfaceNetworkAttributes
-
getSubnetId
@Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid getSubnetId()
UUID representing the subnet- Returns:
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid
subnetId
, ornull
if not present
-
getNhDpnId
@Nullable org.opendaylight.yangtools.yang.common.Uint64 getNhDpnId()
DpnId for the DPN used as nexthop for this subnet- Returns:
org.opendaylight.yangtools.yang.common.Uint64
nhDpnId
, ornull
if not present
-
getVpnName
@Nullable java.lang.String getVpnName()
VPN Instance name- Returns:
java.lang.String
vpnName
, ornull
if not present
-
getVrfId
@Nullable java.lang.String getVrfId()
- Returns:
java.lang.String
vrfId
, ornull
if not present
-
getSubnetCidr
@Nullable java.lang.String getSubnetCidr()
Subnet in cidr notation- Returns:
java.lang.String
subnetCidr
, ornull
if not present
-
getRouteAdvState
@Nullable TaskState getRouteAdvState()
The status of the subnet route advertisement/withdrawal- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.netvirt.l3vpn.rev130911.TaskState
routeAdvState
, ornull
if not present
-
getLastAdvState
@Nullable TaskState getLastAdvState()
The previous status of the subnet route advertisement/withdrawal.- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.netvirt.l3vpn.rev130911.TaskState
lastAdvState
, ornull
if not present
-
getElanTag
@Nullable org.opendaylight.yangtools.yang.common.Uint32 getElanTag()
- Returns:
org.opendaylight.yangtools.yang.common.Uint32
elanTag
, ornull
if not present
-
getSubnetToDpn
@Nullable java.util.List<SubnetToDpn> getSubnetToDpn()
- Returns:
java.util.List
subnetToDpn
, ornull
if not present
-
nonnullSubnetToDpn
default @NonNull java.util.List<SubnetToDpn> nonnullSubnetToDpn()
- Returns:
java.util.List
subnetToDpn
, or an empty list if it is not present
-
getLabel
@Nullable org.opendaylight.yangtools.yang.common.Uint32 getLabel()
- Returns:
org.opendaylight.yangtools.yang.common.Uint32
label
, ornull
if not present
-
getL3vni
@Nullable org.opendaylight.yangtools.yang.common.Uint32 getL3vni()
- Returns:
org.opendaylight.yangtools.yang.common.Uint32
l3vni
, ornull
if not present
-
key
SubnetOpDataEntryKey key()
- Specified by:
key
in interfaceorg.opendaylight.yangtools.yang.binding.Identifiable<SubnetOpDataEntryKey>
-
-