Class FlowspecIpv6RIBSupport

    • Method Detail

      • createRoute

        public FlowspecRoute createRoute​(FlowspecRoute route,
                                         FlowspecRouteKey key,
                                         Attributes attributes)
        Description copied from interface: RIBSupport
        Creates a route with new path Id and attributes.
        Parameters:
        route - route
        key - route key
        attributes - route attributes
        Returns:
        Route List key
      • emptyRoutesContainer

        public FlowspecIpv6Routes 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.
      • createRouteListKey

        public FlowspecRouteKey createRouteListKey​(PathId pathId,
                                                   String routeKey)
        Description copied from interface: RIBSupport
        Construct a Route List Key using new path Id for Families.
        Parameters:
        pathId - The path identifier
        routeKey - RouteKey
        Returns:
        route list Key (RouteKey + pathId)
      • extractPathId

        public PathId extractPathId​(FlowspecRouteKey routeListKey)
        Description copied from interface: RIBSupport
        Given a route list key, return the associated path ID.
        Parameters:
        routeListKey - Route list key
        Returns:
        Path ID
      • extractRouteKey

        public String extractRouteKey​(FlowspecRouteKey routeListKey)
        Description copied from interface: RIBSupport
        Given a route list key, return the associated path ID.
        Parameters:
        routeListKey - Route list key
        Returns:
        RouteKey
      • extractAdjRibInRoutes

        public List<FlowspecRoute> 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