Interface VrfEntryBase
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
- All Known Subinterfaces:
MacVrfEntry
,VrfEntry
@Generated("mdsal-binding-generator") public interface VrfEntryBase extends org.opendaylight.yangtools.yang.binding.DataObject
This class represents the following YANG schema fragment defined in module odl-fib
grouping vrfEntryBase { leaf destPrefix { type string; } leaf mac { type string; } leaf origin { type string; } leaf encap-type { type enumeration { enum mplsgre { value 0; } enum vxlan { value 1; } } default mplsgre; } leaf l3vni { type uint32; } leaf gateway_mac_address { type string; } leaf parent-vpn-rd { type string; } list route-paths { key nexthop-address; leaf nexthop-address { type string; } leaf label { type uint32; } } }
The schema path to identify an instance is odl-fib/vrfEntryBase
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
VrfEntryBase.EncapType
-
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 java.lang.String
getDestPrefix()
Return destPrefix, ornull
if it is not present.VrfEntryBase.EncapType
getEncapType()
Return encapType, ornull
if it is not present.java.lang.String
getGatewayMacAddress()
Return gatewayMacAddress, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint32
getL3vni()
Return l3vni, ornull
if it is not present.java.lang.String
getMac()
Return mac, ornull
if it is not present.java.lang.String
getOrigin()
Return origin, ornull
if it is not present.java.lang.String
getParentVpnRd()
Return parentVpnRd, ornull
if it is not present.@Nullable java.util.Map<RoutePathsKey,RoutePaths>
getRoutePaths()
Return routePaths, ornull
if it is not present.java.lang.Class<? extends VrfEntryBase>
implementedInterface()
default @NonNull java.util.Map<RoutePathsKey,RoutePaths>
nonnullRoutePaths()
Return routePaths, or an empty list if it is not present.
-
-
-
Method Detail
-
implementedInterface
java.lang.Class<? extends VrfEntryBase> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getDestPrefix
java.lang.String getDestPrefix()
Return destPrefix, ornull
if it is not present.- Returns:
java.lang.String
destPrefix, ornull
if it is not present.
-
getMac
java.lang.String getMac()
Return mac, ornull
if it is not present.- Returns:
java.lang.String
mac, ornull
if it is not present.
-
getOrigin
java.lang.String getOrigin()
Return origin, ornull
if it is not present.- Returns:
java.lang.String
origin, ornull
if it is not present.
-
getEncapType
VrfEntryBase.EncapType getEncapType()
Return encapType, ornull
if it is not present.This flag indicates how to interpret the existing label field. A value of mplsgre indicates that the label within route paths will continue to be considered as an MPLS Label. A value of vxlan indicates that l3vni should be used to advertise to bgp and label will be ignored.
- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.netvirt.fibmanager.rev150330.VrfEntryBase.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.
-
getGatewayMacAddress
java.lang.String getGatewayMacAddress()
Return gatewayMacAddress, ornull
if it is not present.- Returns:
java.lang.String
gatewayMacAddress, ornull
if it is not present.
-
getParentVpnRd
java.lang.String getParentVpnRd()
Return parentVpnRd, ornull
if it is not present.If set will get the vpn-to-dpn information from the parent-vpn-rd
- Returns:
java.lang.String
parentVpnRd, 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.
-
-