OpenSDN source code
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
routepath_replicator.cc File Reference
#include "bgp/routing-instance/routepath_replicator.h"
#include <boost/foreach.hpp>
#include <utility>
#include "base/set_util.h"
#include "base/task_annotations.h"
#include "base/task_trigger.h"
#include "bgp/bgp_config.h"
#include "bgp/bgp_log.h"
#include "bgp/bgp_route.h"
#include "bgp/bgp_server.h"
#include "bgp/origin-vn/origin_vn.h"
#include "bgp/routing-instance/path_resolver.h"
#include "bgp/routing-instance/routing_instance.h"
#include "bgp/routing-instance/rtarget_group_mgr.h"
#include "bgp/routing-instance/routing_instance_analytics_types.h"
Include dependency graph for routepath_replicator.cc:

Go to the source code of this file.

Classes

class  TableState::DeleteActor
 

Macros

#define RPR_TRACE(obj,...)
 
#define RPR_TRACE_ONLY(obj,...)
 

Functions

static ExtCommunityPtr UpdateOriginVn (BgpServer *server, const ExtCommunity *ext_community, int vn_index)
 
static ExtCommunityPtr UpdateExtCommunity (BgpServer *server, const RoutingInstance *rtinstance, const ExtCommunity *ext_community, const ExtCommunity::ExtCommunityList &export_list)
 

Macro Definition Documentation

#define RPR_TRACE (   obj,
  ... 
)
Value:
do { \
if (LoggingDisabled()) break; \
bgp_log_test::LogServerName(server()); \
Rpr##obj##Log::Send("RoutingInstance", \
SandeshLevel::SYS_DEBUG, __FILE__, __LINE__, __VA_ARGS__); \
Rpr##obj::TraceMsg(trace_buf_, __FILE__, __LINE__, __VA_ARGS__); \
} while (false)
void LogServerName(const BgpServer *server)
Definition: bgp_log.cc:57
bool LoggingDisabled()
Definition: logging.cc:24

Definition at line 34 of file routepath_replicator.cc.

#define RPR_TRACE_ONLY (   obj,
  ... 
)
Value:
do { \
if (LoggingDisabled()) break; \
bgp_log_test::LogServerName(server()); \
Rpr##obj::TraceMsg(trace_buf_, __FILE__, __LINE__, __VA_ARGS__); \
} while (false)
void LogServerName(const BgpServer *server)
Definition: bgp_log.cc:57
bool LoggingDisabled()
Definition: logging.cc:24

Definition at line 43 of file routepath_replicator.cc.

Function Documentation

static ExtCommunityPtr UpdateExtCommunity ( BgpServer server,
const RoutingInstance rtinstance,
const ExtCommunity ext_community,
const ExtCommunity::ExtCommunityList export_list 
)
static

Definition at line 414 of file routepath_replicator.cc.

Here is the call graph for this function:

static ExtCommunityPtr UpdateOriginVn ( BgpServer server,
const ExtCommunity ext_community,
int  vn_index 
)
static

Definition at line 385 of file routepath_replicator.cc.

Here is the call graph for this function: