OpenSDN source code
|
#include <bgp_mvpn.h>
Classes | |
struct | SG |
Public Types | |
typedef std::set< MvpnRoute * > | RoutesSet |
typedef std::map< MvpnRoute *, BgpAttrPtr > | RoutesMap |
typedef std::map< SG, MvpnState * > | StatesMap |
Public Member Functions | |
MvpnState (const SG &sg, StatesMap *states, MvpnProjectManager *pm) | |
virtual | ~MvpnState () |
const SG & | sg () const |
ErmVpnRoute * | global_ermvpn_tree_rt () |
const ErmVpnRoute * | global_ermvpn_tree_rt () const |
MvpnRoute * | spmsi_rt () |
const MvpnRoute * | spmsi_rt () const |
void | set_global_ermvpn_tree_rt (ErmVpnRoute *global_ermvpn_tree_rt) |
void | set_spmsi_rt (MvpnRoute *spmsi_rt) |
RoutesSet & | spmsi_routes_received () |
RoutesMap & | leafad_routes_attr_received () |
const RoutesSet & | spmsi_routes_received () const |
const RoutesMap & | leafad_routes_attr_received () const |
const StatesMap * | states () const |
StatesMap * | states () |
MvpnRoute * | source_active_rt () |
const MvpnRoute * | source_active_rt () const |
void | set_source_active_rt (MvpnRoute *source_active_rt) |
MvpnProjectManager * | project_manager () |
const MvpnProjectManager * | project_manager () const |
int | refcount () const |
Private Member Functions | |
const ErmVpnTable * | table () const |
DISALLOW_COPY_AND_ASSIGN (MvpnState) | |
Private Attributes | |
SG | sg_ |
ErmVpnRoute * | global_ermvpn_tree_rt_ |
MvpnRoute * | spmsi_rt_ |
MvpnRoute * | source_active_rt_ |
RoutesSet | spmsi_routes_received_ |
RoutesMap | leafad_routes_attr_received_ |
StatesMap * | states_ |
MvpnProjectManager * | project_manager_ |
tbb::atomic< int > | refcount_ |
Friends | |
class | MvpnDBState |
class | MvpnManagerPartition |
class | MvpnProjectManagerPartition |
void | intrusive_ptr_add_ref (MvpnState *mvpn_state) |
void | intrusive_ptr_release (MvpnState *mvpn_state) |
Definition at line 261 of file bgp_mvpn.h.
typedef std::map<MvpnRoute *, BgpAttrPtr> MvpnState::RoutesMap |
Definition at line 264 of file bgp_mvpn.h.
typedef std::set<MvpnRoute *> MvpnState::RoutesSet |
Definition at line 263 of file bgp_mvpn.h.
typedef std::map<SG, MvpnState *> MvpnState::StatesMap |
Definition at line 279 of file bgp_mvpn.h.
MvpnState::MvpnState | ( | const SG & | sg, |
StatesMap * | states, | ||
MvpnProjectManager * | pm | ||
) |
Definition at line 34 of file bgp_mvpn.cc.
|
virtual |
Definition at line 40 of file bgp_mvpn.cc.
|
private |
ErmVpnRoute * MvpnState::global_ermvpn_tree_rt | ( | ) |
Definition at line 294 of file bgp_mvpn.cc.
const ErmVpnRoute * MvpnState::global_ermvpn_tree_rt | ( | ) | const |
Definition at line 298 of file bgp_mvpn.cc.
MvpnState::RoutesMap & MvpnState::leafad_routes_attr_received | ( | ) |
Definition at line 318 of file bgp_mvpn.cc.
const MvpnState::RoutesMap & MvpnState::leafad_routes_attr_received | ( | ) | const |
Definition at line 322 of file bgp_mvpn.cc.
|
inline |
Definition at line 299 of file bgp_mvpn.h.
|
inline |
Definition at line 300 of file bgp_mvpn.h.
|
inline |
Definition at line 303 of file bgp_mvpn.h.
void MvpnState::set_global_ermvpn_tree_rt | ( | ErmVpnRoute * | global_ermvpn_tree_rt | ) |
void MvpnState::set_source_active_rt | ( | MvpnRoute * | source_active_rt | ) |
void MvpnState::set_spmsi_rt | ( | MvpnRoute * | spmsi_rt | ) |
const MvpnState::SG & MvpnState::sg | ( | ) | const |
Definition at line 290 of file bgp_mvpn.cc.
MvpnRoute * MvpnState::source_active_rt | ( | ) |
Definition at line 334 of file bgp_mvpn.cc.
const MvpnRoute * MvpnState::source_active_rt | ( | ) | const |
Definition at line 338 of file bgp_mvpn.cc.
MvpnState::RoutesSet & MvpnState::spmsi_routes_received | ( | ) |
Definition at line 310 of file bgp_mvpn.cc.
const MvpnState::RoutesSet & MvpnState::spmsi_routes_received | ( | ) | const |
Definition at line 314 of file bgp_mvpn.cc.
MvpnRoute * MvpnState::spmsi_rt | ( | ) |
Definition at line 302 of file bgp_mvpn.cc.
const MvpnRoute * MvpnState::spmsi_rt | ( | ) | const |
Definition at line 306 of file bgp_mvpn.cc.
|
inline |
Definition at line 294 of file bgp_mvpn.h.
|
inline |
Definition at line 295 of file bgp_mvpn.h.
|
private |
|
friend |
Definition at line 462 of file bgp_mvpn.h.
|
friend |
Definition at line 470 of file bgp_mvpn.h.
|
friend |
Definition at line 306 of file bgp_mvpn.h.
|
friend |
Definition at line 307 of file bgp_mvpn.h.
|
friend |
Definition at line 308 of file bgp_mvpn.h.
|
private |
Definition at line 315 of file bgp_mvpn.h.
|
private |
Definition at line 319 of file bgp_mvpn.h.
|
private |
Definition at line 321 of file bgp_mvpn.h.
|
private |
Definition at line 322 of file bgp_mvpn.h.
|
private |
Definition at line 314 of file bgp_mvpn.h.
|
private |
Definition at line 317 of file bgp_mvpn.h.
|
private |
Definition at line 318 of file bgp_mvpn.h.
|
private |
Definition at line 316 of file bgp_mvpn.h.
|
private |
Definition at line 320 of file bgp_mvpn.h.