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
@Generated("mdsal-binding-generator") 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.QNameQNAME
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static booleanbindingEquals(@NonNull SubnetOpDataEntry thisObj, java.lang.Object obj)Default implementation ofObject.equals(Object)contract for this interface.static intbindingHashCode(@NonNull SubnetOpDataEntry obj)Default implementation ofObject.hashCode()contract for this interface.static java.lang.StringbindingToString(@NonNull SubnetOpDataEntry obj)Default implementation ofObject.toString()contract for this interface.org.opendaylight.yangtools.yang.common.Uint32getElanTag()Return elanTag, ornullif it is not present.org.opendaylight.yangtools.yang.common.Uint32getL3vni()Return l3vni, ornullif it is not present.org.opendaylight.yangtools.yang.common.Uint32getLabel()Return label, ornullif it is not present.TaskStategetLastAdvState()Return lastAdvState, ornullif it is not present.org.opendaylight.yangtools.yang.common.Uint64getNhDpnId()Return nhDpnId, ornullif it is not present.TaskStategetRouteAdvState()Return routeAdvState, ornullif it is not present.java.lang.StringgetSubnetCidr()Return subnetCidr, ornullif it is not present.org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.UuidgetSubnetId()Return subnetId, ornullif it is not present.@Nullable java.util.Map<SubnetToDpnKey,SubnetToDpn>getSubnetToDpn()Return subnetToDpn, ornullif it is not present.java.lang.StringgetVpnName()Return vpnName, ornullif it is not present.java.lang.StringgetVrfId()Return vrfId, ornullif it is not present.default java.lang.Class<SubnetOpDataEntry>implementedInterface()SubnetOpDataEntryKeykey()default @NonNull java.util.Map<SubnetToDpnKey,SubnetToDpn>nonnullSubnetToDpn()Return subnetToDpn, or an empty list if it is not present.-
Methods inherited from interface org.opendaylight.yangtools.yang.binding.Augmentable
augmentation, augmentations
-
Methods inherited from interface org.opendaylight.yang.gen.v1.urn.opendaylight.netvirt.neutronvpn.rev150602.NetworkAttributes
getExternal, getNetworkId, getNetworkType, getSegmentationId, isExternal
-
-
-
-
Method Detail
-
implementedInterface
default java.lang.Class<SubnetOpDataEntry> implementedInterface()
- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataContainer- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataObject- Specified by:
implementedInterfacein interfaceNetworkAttributes
-
bindingHashCode
static int bindingHashCode(@NonNull SubnetOpDataEntry obj)
Default implementation ofObject.hashCode()contract for this interface. Implementations of this interface are encouraged to defer to this method to get consistent hashing results across all implementations.- Parameters:
obj- Object for which to generate hashCode() result.- Returns:
- Hash code value of data modeled by this interface.
- Throws:
java.lang.NullPointerException- ifobjis null
-
bindingEquals
static boolean bindingEquals(@NonNull SubnetOpDataEntry thisObj, java.lang.Object obj)
Default implementation ofObject.equals(Object)contract for this interface. Implementations of this interface are encouraged to defer to this method to get consistent equality results across all implementations.- Parameters:
thisObj- Object acting as the receiver of equals invocationobj- Object acting as argument to equals invocation- Returns:
- True if thisObj and obj are considered equal
- Throws:
java.lang.NullPointerException- ifthisObjis null
-
bindingToString
static java.lang.String bindingToString(@NonNull SubnetOpDataEntry obj)
Default implementation ofObject.toString()contract for this interface. Implementations of this interface are encouraged to defer to this method to get consistent string representations across all implementations.- Parameters:
obj- Object for which to generate toString() result.- Returns:
Stringvalue of data modeled by this interface.- Throws:
java.lang.NullPointerException- ifobjis null
-
getSubnetId
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid getSubnetId()
Return subnetId, ornullif it is not present.UUID representing the subnet- Returns:
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.UuidsubnetId, ornullif it is not present.
-
getNhDpnId
org.opendaylight.yangtools.yang.common.Uint64 getNhDpnId()
Return nhDpnId, ornullif it is not present.DpnId for the DPN used as nexthop for this subnet- Returns:
org.opendaylight.yangtools.yang.common.Uint64nhDpnId, ornullif it is not present.
-
getVpnName
java.lang.String getVpnName()
Return vpnName, ornullif it is not present.VPN Instance name- Returns:
java.lang.StringvpnName, ornullif it is not present.
-
getVrfId
java.lang.String getVrfId()
Return vrfId, ornullif it is not present.- Returns:
java.lang.StringvrfId, ornullif it is not present.
-
getSubnetCidr
java.lang.String getSubnetCidr()
Return subnetCidr, ornullif it is not present.Subnet in cidr notation- Returns:
java.lang.StringsubnetCidr, ornullif it is not present.
-
getRouteAdvState
TaskState getRouteAdvState()
Return routeAdvState, ornullif it is not present.The status of the subnet route advertisement/withdrawal- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.netvirt.l3vpn.rev130911.TaskStaterouteAdvState, ornullif it is not present.
-
getLastAdvState
TaskState getLastAdvState()
Return lastAdvState, ornullif it is not present.The previous status of the subnet route advertisement/withdrawal.- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.netvirt.l3vpn.rev130911.TaskStatelastAdvState, ornullif it is not present.
-
getElanTag
org.opendaylight.yangtools.yang.common.Uint32 getElanTag()
Return elanTag, ornullif it is not present.- Returns:
org.opendaylight.yangtools.yang.common.Uint32elanTag, ornullif it is not present.
-
getSubnetToDpn
@Nullable java.util.Map<SubnetToDpnKey,SubnetToDpn> getSubnetToDpn()
Return subnetToDpn, ornullif it is not present.- Returns:
java.util.MapsubnetToDpn, ornullif it is not present.
-
nonnullSubnetToDpn
default @NonNull java.util.Map<SubnetToDpnKey,SubnetToDpn> nonnullSubnetToDpn()
Return subnetToDpn, or an empty list if it is not present.- Returns:
java.util.MapsubnetToDpn, or an empty list if it is not present.
-
getLabel
org.opendaylight.yangtools.yang.common.Uint32 getLabel()
Return label, ornullif it is not present.- Returns:
org.opendaylight.yangtools.yang.common.Uint32label, ornullif it is not present.
-
getL3vni
org.opendaylight.yangtools.yang.common.Uint32 getL3vni()
Return l3vni, ornullif it is not present.- Returns:
org.opendaylight.yangtools.yang.common.Uint32l3vni, ornullif it is not present.
-
key
SubnetOpDataEntryKey key()
- Specified by:
keyin interfaceorg.opendaylight.yangtools.yang.binding.Identifiable<SubnetOpDataEntryKey>
-
-