#include <routing_instance.h>
Definition at line 288 of file routing_instance.h.
◆ const_name_iterator
◆ InstanceOpListenersList
◆ InstanceTargetMap
◆ MvpnManagerNetworks
◆ MvpnProjectManagerNetworks
◆ name_iterator
◆ RoutingInstanceCb
◆ RoutingInstanceConfigList
◆ RoutingInstanceIterator
◆ RoutingInstanceList
◆ RoutingInstanceTraceBufferList
◆ RoutingInstanceTraceBufferMap
◆ VirtualNetworksMap
◆ VnIndexMap
◆ Operation
Enumerator |
---|
INSTANCE_ADD | |
INSTANCE_UPDATE | |
INSTANCE_DELETE | |
Definition at line 307 of file routing_instance.h.
◆ RoutingInstanceMgr()
RoutingInstanceMgr::RoutingInstanceMgr |
( |
BgpServer * |
server | ) |
|
|
explicit |
◆ ~RoutingInstanceMgr()
RoutingInstanceMgr::~RoutingInstanceMgr |
( |
| ) |
|
|
virtual |
◆ ASNUpdateCallback()
void RoutingInstanceMgr::ASNUpdateCallback |
( |
as_t |
old_asn, |
|
|
as_t |
old_local_asn |
|
) |
| |
|
private |
◆ begin()
◆ count()
size_t RoutingInstanceMgr::count |
( |
| ) |
const |
|
inline |
◆ CreateRoutingInstance()
◆ CreateRoutingInstanceNeighbors()
void RoutingInstanceMgr::CreateRoutingInstanceNeighbors |
( |
const BgpInstanceConfig * |
config | ) |
|
◆ CreateVirtualNetworkMapping()
bool RoutingInstanceMgr::CreateVirtualNetworkMapping |
( |
const std::string & |
virtual_network, |
|
|
const std::string & |
instance_name |
|
) |
| |
◆ decrement_deleted_count()
void RoutingInstanceMgr::decrement_deleted_count |
( |
| ) |
|
|
inline |
◆ deleted()
bool RoutingInstanceMgr::deleted |
( |
| ) |
|
◆ deleted_count()
uint32_t RoutingInstanceMgr::deleted_count |
( |
| ) |
const |
|
inline |
◆ deleter()
◆ DeleteRoutingInstance()
void RoutingInstanceMgr::DeleteRoutingInstance |
( |
const std::string & |
name | ) |
|
|
virtual |
◆ DeleteVirtualNetworkMapping()
bool RoutingInstanceMgr::DeleteVirtualNetworkMapping |
( |
const std::string & |
virtual_network, |
|
|
const std::string & |
instance_name |
|
) |
| |
◆ DestroyRoutingInstance()
void RoutingInstanceMgr::DestroyRoutingInstance |
( |
RoutingInstance * |
rtinstance | ) |
|
◆ DisableInstanceConfigListProcessing()
void RoutingInstanceMgr::DisableInstanceConfigListProcessing |
( |
| ) |
|
|
private |
◆ DisableNeighborConfigListProcessing()
void RoutingInstanceMgr::DisableNeighborConfigListProcessing |
( |
| ) |
|
|
private |
◆ DisableTraceBuffer()
void RoutingInstanceMgr::DisableTraceBuffer |
( |
const std::string & |
name | ) |
|
◆ EnableInstanceConfigListProcessing()
void RoutingInstanceMgr::EnableInstanceConfigListProcessing |
( |
| ) |
|
|
private |
◆ EnableNeighborConfigListProcessing()
void RoutingInstanceMgr::EnableNeighborConfigListProcessing |
( |
| ) |
|
|
private |
◆ end()
◆ GetActiveTraceBuffer()
◆ GetDefaultRoutingInstance() [1/2]
◆ GetDefaultRoutingInstance() [2/2]
const RoutingInstance * RoutingInstanceMgr::GetDefaultRoutingInstance |
( |
| ) |
const |
◆ GetDormantTraceBuffer()
◆ GetEnvRoutingInstanceDormantTraceBufferCapacity()
size_t RoutingInstanceMgr::GetEnvRoutingInstanceDormantTraceBufferCapacity |
( |
| ) |
const |
◆ GetEnvRoutingInstanceDormantTraceBufferThreshold()
size_t RoutingInstanceMgr::GetEnvRoutingInstanceDormantTraceBufferThreshold |
( |
| ) |
const |
◆ GetInstanceByTarget()
◆ GetInstanceByVnIndex()
const RoutingInstance * RoutingInstanceMgr::GetInstanceByVnIndex |
( |
int |
vn_index | ) |
const |
|
private |
◆ GetMvpnProjectManagerCount()
size_t RoutingInstanceMgr::GetMvpnProjectManagerCount |
( |
const std::string & |
network | ) |
const |
◆ GetPrimaryRoutingInstanceName()
string RoutingInstanceMgr::GetPrimaryRoutingInstanceName |
( |
const string & |
name_in | ) |
|
|
static |
◆ GetRoutingInstance() [1/2]
RoutingInstance* RoutingInstanceMgr::GetRoutingInstance |
( |
const std::string & |
name | ) |
|
◆ GetRoutingInstance() [2/2]
const RoutingInstance* RoutingInstanceMgr::GetRoutingInstance |
( |
const std::string & |
name | ) |
const |
◆ GetRoutingInstanceActiveTraceBufSize()
size_t RoutingInstanceMgr::GetRoutingInstanceActiveTraceBufSize |
( |
| ) |
const |
◆ GetRoutingInstanceDormantTraceBufferCapacity()
size_t RoutingInstanceMgr::GetRoutingInstanceDormantTraceBufferCapacity |
( |
| ) |
const |
|
inline |
◆ GetRoutingInstanceDormantTraceBufferThreshold()
size_t RoutingInstanceMgr::GetRoutingInstanceDormantTraceBufferThreshold |
( |
| ) |
const |
|
inline |
◆ GetRoutingInstanceDormantTraceBufSize()
size_t RoutingInstanceMgr::GetRoutingInstanceDormantTraceBufSize |
( |
| ) |
const |
◆ GetRoutingInstanceLocked()
RoutingInstance * RoutingInstanceMgr::GetRoutingInstanceLocked |
( |
const std::string & |
name | ) |
|
◆ GetTraceBuffer()
◆ GetVirtualNetworkByVnIndex()
string RoutingInstanceMgr::GetVirtualNetworkByVnIndex |
( |
int |
vn_index | ) |
const |
◆ GetVnIndexByExtCommunity()
int RoutingInstanceMgr::GetVnIndexByExtCommunity |
( |
const ExtCommunity * |
community | ) |
const |
◆ GetVnIndexByRouteTarget()
int RoutingInstanceMgr::GetVnIndexByRouteTarget |
( |
const RouteTarget & |
rtarget | ) |
const |
|
private |
◆ HasRoutingInstanceActiveTraceBuf()
bool RoutingInstanceMgr::HasRoutingInstanceActiveTraceBuf |
( |
const std::string & |
name | ) |
const |
◆ HasRoutingInstanceDormantTraceBuf()
bool RoutingInstanceMgr::HasRoutingInstanceDormantTraceBuf |
( |
const std::string & |
name | ) |
const |
◆ IdentifierUpdateCallback()
void RoutingInstanceMgr::IdentifierUpdateCallback |
( |
Ip4Address |
old_identifier | ) |
|
|
private |
◆ increment_deleted_count()
void RoutingInstanceMgr::increment_deleted_count |
( |
| ) |
|
|
inline |
◆ InsertRoutingInstance()
void RoutingInstanceMgr::InsertRoutingInstance |
( |
RoutingInstance * |
rtinstance | ) |
|
◆ InstanceTargetAdd()
◆ InstanceTargetRemove()
void RoutingInstanceMgr::InstanceTargetRemove |
( |
const RoutingInstance * |
rti | ) |
|
|
private |
◆ InstanceVnIndexAdd()
◆ InstanceVnIndexRemove()
void RoutingInstanceMgr::InstanceVnIndexRemove |
( |
const RoutingInstance * |
rti | ) |
|
|
private |
◆ LocateRoutingInstance() [1/2]
◆ LocateRoutingInstance() [2/2]
void RoutingInstanceMgr::LocateRoutingInstance |
( |
const std::string & |
name | ) |
|
◆ LocateTraceBuffer()
◆ ManagedDelete()
void RoutingInstanceMgr::ManagedDelete |
( |
| ) |
|
◆ MayDelete()
bool RoutingInstanceMgr::MayDelete |
( |
| ) |
const |
◆ mutex()
tbb::mutex& RoutingInstanceMgr::mutex |
( |
| ) |
|
|
inline |
◆ mvpn_project_managers() [1/2]
◆ mvpn_project_managers() [2/2]
◆ name_begin()
◆ name_cbegin()
◆ name_cend()
◆ name_clower_bound()
◆ name_end()
◆ name_lower_bound()
name_iterator RoutingInstanceMgr::name_lower_bound |
( |
const std::string & |
name | ) |
|
|
inline |
◆ NotifyInstanceOp()
void RoutingInstanceMgr::NotifyInstanceOp |
( |
std::string |
name, |
|
|
Operation |
deleted |
|
) |
| |
◆ ProcessInstanceConfigList()
bool RoutingInstanceMgr::ProcessInstanceConfigList |
( |
int |
idx | ) |
|
|
private |
◆ ProcessNeighborConfigList()
bool RoutingInstanceMgr::ProcessNeighborConfigList |
( |
| ) |
|
|
private |
◆ RegisterInstanceOpCallback()
◆ SendTableStatsUve()
uint32_t RoutingInstanceMgr::SendTableStatsUve |
( |
| ) |
|
◆ server() [1/2]
◆ server() [2/2]
const BgpServer* RoutingInstanceMgr::server |
( |
| ) |
const |
|
inline |
◆ SetTableStatsUve()
void RoutingInstanceMgr::SetTableStatsUve |
( |
Address::Family |
family, |
|
|
const std::map< std::string, RoutingTableStats > & |
stats_map, |
|
|
RoutingInstanceStatsData * |
instance_info |
|
) |
| const |
|
private |
◆ Shutdown()
void RoutingInstanceMgr::Shutdown |
( |
| ) |
|
◆ UnregisterInstanceOpCallback()
void RoutingInstanceMgr::UnregisterInstanceOpCallback |
( |
int |
id | ) |
|
◆ UpdateRoutingInstance()
◆ BgpConfigTest
friend class BgpConfigTest |
|
friend |
◆ RoutingInstanceMgrTest
friend class RoutingInstanceMgrTest |
|
friend |
◆ asn_listener_id_
int RoutingInstanceMgr::asn_listener_id_ |
|
private |
◆ bmap_
boost::dynamic_bitset RoutingInstanceMgr::bmap_ |
|
private |
◆ callbacks_
◆ default_rtinstance_
◆ deleted_count_
uint32_t RoutingInstanceMgr::deleted_count_ |
|
private |
◆ deleter_
boost::scoped_ptr<DeleteActor> RoutingInstanceMgr::deleter_ |
|
private |
◆ dormant_trace_buf_size_
size_t RoutingInstanceMgr::dormant_trace_buf_size_ |
|
private |
◆ identifier_listener_id_
int RoutingInstanceMgr::identifier_listener_id_ |
|
private |
◆ instance_config_lists_
◆ instance_config_triggers_
std::vector<TaskTrigger *> RoutingInstanceMgr::instance_config_triggers_ |
|
private |
◆ instances_
◆ mutex_
tbb::mutex RoutingInstanceMgr::mutex_ |
|
mutableprivate |
◆ mvpn_project_managers_
◆ neighbor_config_list_
◆ neighbor_config_trigger_
boost::scoped_ptr<TaskTrigger> RoutingInstanceMgr::neighbor_config_trigger_ |
|
private |
◆ rw_mutex_
tbb::spin_rw_mutex RoutingInstanceMgr::rw_mutex_ |
|
mutableprivate |
◆ server_
◆ server_delete_ref_
◆ target_map_
◆ trace_buf_threshold_
size_t RoutingInstanceMgr::trace_buf_threshold_ |
|
private |
◆ trace_buffer_active_
◆ trace_buffer_dormant_
◆ trace_buffer_dormant_list_
◆ virtual_networks_
◆ vn_index_map_
The documentation for this class was generated from the following files: