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
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()
VrfEntryBase.EncapType
getEncapType()
This flag indicates how to interpret the existing label field.java.lang.String
getGatewayMacAddress()
org.opendaylight.yangtools.yang.common.Uint32
getL3vni()
java.lang.String
getMac()
java.lang.String
getOrigin()
java.lang.String
getParentVpnRd()
If set will get the vpn-to-dpn information from the parent-vpn-rd@Nullable java.util.Map<RoutePathsKey,RoutePaths>
getRoutePaths()
java.lang.Class<? extends VrfEntryBase>
implementedInterface()
default @NonNull java.util.Map<RoutePathsKey,RoutePaths>
nonnullRoutePaths()
-
-
-
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()
- Returns:
java.lang.String
destPrefix
, ornull
if not present
-
getMac
java.lang.String getMac()
- Returns:
java.lang.String
mac
, ornull
if not present
-
getOrigin
java.lang.String getOrigin()
- Returns:
java.lang.String
origin
, ornull
if not present
-
getEncapType
VrfEntryBase.EncapType getEncapType()
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 not present
-
getL3vni
org.opendaylight.yangtools.yang.common.Uint32 getL3vni()
- Returns:
org.opendaylight.yangtools.yang.common.Uint32
l3vni
, ornull
if not present
-
getGatewayMacAddress
java.lang.String getGatewayMacAddress()
- Returns:
java.lang.String
gatewayMacAddress
, ornull
if not present
-
getParentVpnRd
java.lang.String getParentVpnRd()
If set will get the vpn-to-dpn information from the parent-vpn-rd- Returns:
java.lang.String
parentVpnRd
, ornull
if not present
-
getRoutePaths
@Nullable java.util.Map<RoutePathsKey,RoutePaths> getRoutePaths()
- Returns:
java.util.Map
routePaths
, ornull
if not present
-
nonnullRoutePaths
default @NonNull java.util.Map<RoutePathsKey,RoutePaths> nonnullRoutePaths()
- Returns:
java.util.Map
routePaths
, or an empty list if it is not present
-
-