Class VpnIpv4RIBSupport
- java.lang.Object
-
- org.opendaylight.protocol.bgp.rib.spi.AbstractRIBSupport<C,S,VpnRoute,VpnRouteKey>
-
- org.opendaylight.protocol.bgp.l3vpn.unicast.AbstractVpnRIBSupport<VpnIpv4RoutesCase,VpnIpv4Routes>
-
- org.opendaylight.protocol.bgp.l3vpn.unicast.ipv4.VpnIpv4RIBSupport
-
- All Implemented Interfaces:
RIBSupport<VpnIpv4RoutesCase,VpnIpv4Routes,VpnRoute,VpnRouteKey>
public final class VpnIpv4RIBSupport extends AbstractVpnRIBSupport<VpnIpv4RoutesCase,VpnIpv4Routes>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.opendaylight.protocol.bgp.rib.spi.RIBSupport
RIBSupport.ApplyRoute
-
-
Field Summary
-
Fields inherited from class org.opendaylight.protocol.bgp.rib.spi.AbstractRIBSupport
mappingService, ROUTE_KEY, routeDefaultYii
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpPrefix
createPrefix(String prefix)
VpnIpv4Routes
emptyRoutesContainer()
Return the table-type-specific empty routes container, as augmented into the bgp-peer model under /peer/effect-rib-in/tables/routes choice node/routes container.Map<VpnRouteKey,VpnRoute>
extractAdjRibInRoutes(Routes routes)
Extract a route list from the adj-rib-in instantiation of table routes.protected DestinationType
getAdvertisedDestinationType(List<VpnDestination> dests)
static VpnIpv4RIBSupport
getInstance(org.opendaylight.mdsal.binding.dom.codec.api.BindingNormalizedNodeSerializer mappingService)
protected DestinationType
getWithdrawnDestinationType(List<VpnDestination> dests)
-
Methods inherited from class org.opendaylight.protocol.bgp.l3vpn.unicast.AbstractVpnRIBSupport
buildDestination, buildWithdrawnDestination, createRoute, createRouteListKey, extractPathId, extractRouteKey, processDestination
-
Methods inherited from class org.opendaylight.protocol.bgp.rib.spi.AbstractRIBSupport
attributeFromContainerNode, attributeToContainerNode, buildUpdate, changedRoutes, createRouteIdentifier, deleteRoutes, deleteRoutes, emptyTable, extractPrefix, extractRouteDistinguisher, fromNormalizedNode, getAfi, getSafi, getTablesKey, prefixNid, putRoutes, putRoutes, relativeRoutesPath, routeAttributesIdentifier, routeKeyTemplate, routeNid, routePathIdNid, routeQName, routesCaseClass, routesContainerClass, routesContainerIdentifier, routesListClass, routesPath, routesYangInstanceIdentifier
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.opendaylight.protocol.bgp.rib.spi.RIBSupport
cacheableAttributeObjects, cacheableNlriObjects, createRouteListKey, routePath
-
-
-
-
Method Detail
-
getInstance
public static VpnIpv4RIBSupport getInstance(org.opendaylight.mdsal.binding.dom.codec.api.BindingNormalizedNodeSerializer mappingService)
-
createPrefix
protected org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpPrefix createPrefix(String prefix)
- Specified by:
createPrefix
in classAbstractVpnRIBSupport<VpnIpv4RoutesCase,VpnIpv4Routes>
-
getAdvertisedDestinationType
protected DestinationType getAdvertisedDestinationType(List<VpnDestination> dests)
- Specified by:
getAdvertisedDestinationType
in classAbstractVpnRIBSupport<VpnIpv4RoutesCase,VpnIpv4Routes>
-
getWithdrawnDestinationType
protected DestinationType getWithdrawnDestinationType(List<VpnDestination> dests)
- Specified by:
getWithdrawnDestinationType
in classAbstractVpnRIBSupport<VpnIpv4RoutesCase,VpnIpv4Routes>
-
emptyRoutesContainer
public VpnIpv4Routes emptyRoutesContainer()
Description copied from interface:RIBSupport
Return the table-type-specific empty routes container, as augmented into the bgp-peer model under /peer/effect-rib-in/tables/routes choice node/routes container. This needs to include all the skeleton nodes under which the individual routes will be stored.- Returns:
- Protocol-specific container in the routes, may not be null.
-
extractAdjRibInRoutes
public Map<VpnRouteKey,VpnRoute> extractAdjRibInRoutes(Routes routes)
Description copied from interface:RIBSupport
Extract a route list from the adj-rib-in instantiation of table routes.- Parameters:
routes
- Table route choice- Returns:
- A potentially empty list of routes
-
-