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