Interface IpPrefixInfo
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.Augmentable<IpPrefixInfo>
,org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.ChildOf<IpPrefixMap>
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
,org.opendaylight.yangtools.yang.binding.Identifiable<IpPrefixInfoKey>
@Generated("mdsal-binding-generator") public interface IpPrefixInfo extends org.opendaylight.yangtools.yang.binding.ChildOf<IpPrefixMap>, org.opendaylight.yangtools.yang.binding.Augmentable<IpPrefixInfo>, org.opendaylight.yangtools.yang.binding.Identifiable<IpPrefixInfoKey>
This class represents the following YANG schema fragment defined in module odl-fib
list ip-prefix-info { key "prefix parent-primary-rd"; leaf prefix { type string; } leaf parent-primary-rd { type string; } leaf dpn-id { type uint64; } leaf-list vpn-instance-list { type string; } leaf parent-vpnid { type uint32; } leaf vpn-interface-name { type string; } leaf elan-tag { type uint32; } leaf is-subnet-route { type boolean; } leaf encap-type { type enumeration { enum mplsgre { value 0; } enum vxlan { value 1; } } default mplsgre; } leaf l3vni { type uint32; } leaf l2vni { type uint32; } list route-paths { key nexthop-address; leaf nexthop-address { type string; } leaf label { type uint32; } leaf gateway_mac_address { type string; } } }
The schema path to identify an instance is odl-fib/ip-prefix-map/ip-prefix-infoTo create instances of this class use
IpPrefixInfoBuilder
.- See Also:
IpPrefixInfoBuilder
,IpPrefixInfoKey
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
IpPrefixInfo.EncapType
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QName
QNAME
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description static boolean
bindingEquals(@NonNull IpPrefixInfo thisObj, java.lang.Object obj)
Default implementation ofObject.equals(Object)
contract for this interface.static int
bindingHashCode(@NonNull IpPrefixInfo obj)
Default implementation ofObject.hashCode()
contract for this interface.static java.lang.String
bindingToString(@NonNull IpPrefixInfo obj)
Default implementation ofObject.toString()
contract for this interface.org.opendaylight.yangtools.yang.common.Uint64
getDpnId()
Return dpnId, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint32
getElanTag()
Return elanTag, ornull
if it is not present.IpPrefixInfo.EncapType
getEncapType()
Return encapType, ornull
if it is not present.java.lang.Boolean
getIsSubnetRoute()
Return isSubnetRoute, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint32
getL2vni()
Return l2vni, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint32
getL3vni()
Return l3vni, ornull
if it is not present.java.lang.String
getParentPrimaryRd()
Return parentPrimaryRd, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint32
getParentVpnid()
Return parentVpnid, ornull
if it is not present.java.lang.String
getPrefix()
Return prefix, ornull
if it is not present.@Nullable java.util.Map<RoutePathsKey,RoutePaths>
getRoutePaths()
Return routePaths, ornull
if it is not present.@Nullable java.util.List<java.lang.String>
getVpnInstanceList()
Return vpnInstanceList, ornull
if it is not present.java.lang.String
getVpnInterfaceName()
Return vpnInterfaceName, ornull
if it is not present.default java.lang.Class<IpPrefixInfo>
implementedInterface()
default java.lang.Boolean
isIsSubnetRoute()
Deprecated, for removal: This API element is subject to removal in a future version.IpPrefixInfoKey
key()
default @NonNull java.util.Map<RoutePathsKey,RoutePaths>
nonnullRoutePaths()
Return routePaths, or an empty list if it is not present.
-
-
-
Method Detail
-
implementedInterface
default java.lang.Class<IpPrefixInfo> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
bindingHashCode
static int bindingHashCode(@NonNull IpPrefixInfo 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
- ifobj
is null
-
bindingEquals
static boolean bindingEquals(@NonNull IpPrefixInfo 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
- ifthisObj
is null
-
bindingToString
static java.lang.String bindingToString(@NonNull IpPrefixInfo 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:
String
value of data modeled by this interface.- Throws:
java.lang.NullPointerException
- ifobj
is null
-
getPrefix
java.lang.String getPrefix()
Return prefix, ornull
if it is not present.- Returns:
java.lang.String
prefix, ornull
if it is not present.
-
getParentPrimaryRd
java.lang.String getParentPrimaryRd()
Return parentPrimaryRd, ornull
if it is not present.- Returns:
java.lang.String
parentPrimaryRd, ornull
if it is not present.
-
getDpnId
org.opendaylight.yangtools.yang.common.Uint64 getDpnId()
Return dpnId, ornull
if it is not present.- Returns:
org.opendaylight.yangtools.yang.common.Uint64
dpnId, ornull
if it is not present.
-
getVpnInstanceList
@Nullable java.util.List<java.lang.String> getVpnInstanceList()
Return vpnInstanceList, ornull
if it is not present.- Returns:
java.util.List
vpnInstanceList, ornull
if it is not present.
-
getParentVpnid
org.opendaylight.yangtools.yang.common.Uint32 getParentVpnid()
Return parentVpnid, ornull
if it is not present.- Returns:
org.opendaylight.yangtools.yang.common.Uint32
parentVpnid, ornull
if it is not present.
-
getVpnInterfaceName
java.lang.String getVpnInterfaceName()
Return vpnInterfaceName, ornull
if it is not present.- Returns:
java.lang.String
vpnInterfaceName, ornull
if it is not present.
-
getElanTag
org.opendaylight.yangtools.yang.common.Uint32 getElanTag()
Return elanTag, ornull
if it is not present.- Returns:
org.opendaylight.yangtools.yang.common.Uint32
elanTag, ornull
if it is not present.
-
getIsSubnetRoute
java.lang.Boolean getIsSubnetRoute()
Return isSubnetRoute, ornull
if it is not present.- Returns:
java.lang.Boolean
isSubnetRoute, ornull
if it is not present.
-
isIsSubnetRoute
@Deprecated(forRemoval=true) default java.lang.Boolean isIsSubnetRoute()
Deprecated, for removal: This API element is subject to removal in a future version.
-
getEncapType
IpPrefixInfo.EncapType getEncapType()
Return encapType, ornull
if it is not present.- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.netvirt.fibmanager.rev150330.ip.prefix.map.IpPrefixInfo.EncapType
encapType, ornull
if it is not present.
-
getL3vni
org.opendaylight.yangtools.yang.common.Uint32 getL3vni()
Return l3vni, ornull
if it is not present.- Returns:
org.opendaylight.yangtools.yang.common.Uint32
l3vni, ornull
if it is not present.
-
getL2vni
org.opendaylight.yangtools.yang.common.Uint32 getL2vni()
Return l2vni, ornull
if it is not present.- Returns:
org.opendaylight.yangtools.yang.common.Uint32
l2vni, ornull
if it is not present.
-
getRoutePaths
@Nullable java.util.Map<RoutePathsKey,RoutePaths> getRoutePaths()
Return routePaths, ornull
if it is not present.- Returns:
java.util.Map
routePaths, ornull
if it is not present.
-
nonnullRoutePaths
default @NonNull java.util.Map<RoutePathsKey,RoutePaths> nonnullRoutePaths()
Return routePaths, or an empty list if it is not present.- Returns:
java.util.Map
routePaths, or an empty list if it is not present.
-
key
IpPrefixInfoKey key()
- Specified by:
key
in interfaceorg.opendaylight.yangtools.yang.binding.Identifiable<IpPrefixInfoKey>
-
-