OpenSDN source code
|
#include <route_aggregator.h>
Public Types | |
enum | CompareResult { NoChange = 0, NexthopChange = 1 } |
typedef T::TableT | TableT |
typedef T::RouteT | RouteT |
typedef T::PrefixT | PrefixT |
typedef T::AddressT | AddressT |
typedef RouteAggregator< T > | AggregateRouteMgrT |
typedef std::set< BgpRoute * > | RouteList |
typedef std::vector< RouteList > | ContributingRouteList |
Private Member Functions | |
DISALLOW_COPY_AND_ASSIGN (AggregateRoute) | |
Private Attributes | |
RoutingInstance * | routing_instance_ |
AggregateRouteMgrT * | manager_ |
PrefixT | aggregate_route_prefix_ |
IpAddress | nexthop_ |
BgpRoute * | aggregate_route_ |
ContributingRouteList | contributors_ |
Definition at line 84 of file route_aggregator.cc.
typedef T::AddressT AggregateRoute< T >::AddressT |
Definition at line 89 of file route_aggregator.cc.
typedef RouteAggregator<T> AggregateRoute< T >::AggregateRouteMgrT |
Definition at line 90 of file route_aggregator.cc.
typedef std::vector<RouteList> AggregateRoute< T >::ContributingRouteList |
Definition at line 93 of file route_aggregator.cc.
typedef T::PrefixT AggregateRoute< T >::PrefixT |
Definition at line 88 of file route_aggregator.cc.
typedef std::set<BgpRoute *> AggregateRoute< T >::RouteList |
Definition at line 92 of file route_aggregator.cc.
typedef T::RouteT AggregateRoute< T >::RouteT |
Definition at line 87 of file route_aggregator.cc.
typedef T::TableT AggregateRoute< T >::TableT |
Definition at line 86 of file route_aggregator.cc.
enum AggregateRoute::CompareResult |
Enumerator | |
---|---|
NoChange | |
NexthopChange |
Definition at line 95 of file route_aggregator.cc.
AggregateRoute< T >::AggregateRoute | ( | RoutingInstance * | rtinstance, |
AggregateRouteMgrT * | manager, | ||
const PrefixT & | aggregate_route, | ||
IpAddress | nexthop | ||
) |
Definition at line 255 of file route_aggregator.cc.
|
inlinevirtual |
void AggregateRoute< T >::AddAggregateRoute | ( | ) |
|
inline |
|
inline |
Definition at line 127 of file route_aggregator.cc.
|
inline |
Definition at line 115 of file route_aggregator.cc.
|
inline |
|
inline |
AggregateRoute< T >::CompareResult AggregateRoute< T >::CompareConfig | ( | const AggregateRouteConfig & | cfg | ) |
Definition at line 268 of file route_aggregator.cc.
|
inline |
Definition at line 168 of file route_aggregator.cc.
|
inline |
Definition at line 172 of file route_aggregator.cc.
|
private |
void AggregateRoute< T >::FillShowInfo | ( | AggregateRouteInfo * | info, |
bool | summary | ||
) | const |
|
inline |
|
inline |
|
inline |
bool AggregateRoute< T >::IsBestMatch | ( | BgpRoute * | route | ) | const |
|
inline |
|
inline |
bool AggregateRoute< T >::IsOriginVnMatch | ( | BgpRoute * | route | ) | const |
|
inline |
|
virtual |
Implements ConditionMatch.
Definition at line 338 of file route_aggregator.cc.
|
inline |
Definition at line 131 of file route_aggregator.cc.
|
inline |
void AggregateRoute< T >::RemoveAggregateRoute | ( | ) |
|
inline |
|
inline |
Definition at line 119 of file route_aggregator.cc.
void AggregateRoute< T >::set_aggregate_route | ( | BgpRoute * | aggregate | ) |
|
inlinevirtual |
Implements ConditionMatch.
Definition at line 163 of file route_aggregator.cc.
void AggregateRoute< T >::UpdateAggregateRoute | ( | ) |
|
inline |
|
private |
Definition at line 248 of file route_aggregator.cc.
|
private |
Definition at line 246 of file route_aggregator.cc.
|
private |
Definition at line 249 of file route_aggregator.cc.
|
private |
Definition at line 245 of file route_aggregator.cc.
|
private |
Definition at line 247 of file route_aggregator.cc.
|
private |
Definition at line 244 of file route_aggregator.cc.