OpenSDN source code
|
#include <bgp_peer_close.h>
Public Types | |
typedef std::set< Address::Family > | Families |
![]() | |
typedef std::set< Address::Family > | Families |
Public Member Functions | |
BgpPeerClose (BgpPeer *peer) | |
virtual | ~BgpPeerClose () |
virtual void | CustomClose () |
virtual void | GracefulRestartStale () |
virtual void | LongLivedGracefulRestartStale () |
virtual void | GracefulRestartSweep () |
virtual bool | IsReady () const |
virtual IPeer * | peer () const |
virtual void | Close (bool graceful) |
virtual void | Delete () |
virtual int | GetGracefulRestartTime () const |
virtual int | GetLongLivedGracefulRestartTime () const |
virtual void | ReceiveEndOfRIB (Address::Family family) |
virtual const char * | GetTaskName () const |
virtual int | GetTaskInstance () const |
virtual void | MembershipRequestCallbackComplete () |
virtual bool | IsCloseGraceful () const |
virtual bool | IsCloseLongLivedGraceful () const |
virtual void | CloseComplete () |
virtual void | GetGracefulRestartFamilies (Families *families) const |
virtual void | GetLongLivedGracefulRestartFamilies (Families *families) const |
virtual PeerCloseManager * | GetManager () const |
virtual void | UpdateRouteStats (Address::Family family, const BgpPath *old_path, uint32_t path_flags) const |
void | AddGRCapabilities (BgpProto::OpenMessage::OptParam *opt_param) |
void | AddLLGRCapabilities (BgpProto::OpenMessage::OptParam *opt_param) |
bool | SetGRCapabilities (BgpPeerInfoData *peer_info) |
void | FillNeighborInfo (BgpNeighborResp *bnr) const |
virtual void | RestartStateMachine () |
const BgpProto::OpenMessage::Capability::GR & | gr_params () const |
![]() | |
virtual | ~IPeerClose () |
Private Member Functions | |
virtual bool | IsGRReady () const |
virtual bool | IsGRHelperModeEnabled () const |
virtual const std::vector < std::string > & | negotiated_families () const |
virtual const std::vector < std::string > & | PeerNegotiatedFamilies () const |
virtual bool | IsPeerDeleted () const |
virtual bool | IsPeerAdminDown () const |
virtual bool | IsServerDeleted () const |
virtual bool | IsServerAdminDown () const |
virtual bool | IsInGRTimerWaitState () const |
virtual bool | IsInLlgrTimerWaitState () const |
virtual const std::vector < BgpProto::OpenMessage::Capability * > & | capabilities () const |
bool | IsLlgrSupportedForFamilies () const |
bool | IsCloseLongLivedGracefulInternal () const |
DISALLOW_COPY_AND_ASSIGN (BgpPeerClose) | |
Private Attributes | |
BgpPeer * | peer_ |
uint64_t | flap_count_ |
std::vector< std::string > | negotiated_families_ |
std::vector< std::string > | gr_families_ |
std::vector< std::string > | llgr_families_ |
BgpProto::OpenMessage::Capability::GR | gr_params_ |
BgpProto::OpenMessage::Capability::LLGR | llgr_params_ |
Definition at line 19 of file bgp_peer_close.h.
typedef std::set<Address::Family> BgpPeerClose::Families |
Definition at line 21 of file bgp_peer_close.h.
|
explicit |
Definition at line 25 of file bgp_peer_close.cc.
|
virtual |
Definition at line 29 of file bgp_peer_close.cc.
void BgpPeerClose::AddGRCapabilities | ( | BgpProto::OpenMessage::OptParam * | opt_param | ) |
void BgpPeerClose::AddLLGRCapabilities | ( | BgpProto::OpenMessage::OptParam * | opt_param | ) |
|
privatevirtual |
|
virtual |
Implements IPeerClose.
Definition at line 132 of file bgp_peer_close.cc.
|
virtual |
Implements IPeerClose.
Definition at line 351 of file bgp_peer_close.cc.
|
virtual |
Implements IPeerClose.
Definition at line 36 of file bgp_peer_close.cc.
|
virtual |
Implements IPeerClose.
Definition at line 157 of file bgp_peer_close.cc.
|
private |
void BgpPeerClose::FillNeighborInfo | ( | BgpNeighborResp * | bnr | ) | const |
|
virtual |
Implements IPeerClose.
Definition at line 356 of file bgp_peer_close.cc.
|
virtual |
Implements IPeerClose.
Definition at line 60 of file bgp_peer_close.cc.
|
virtual |
Implements IPeerClose.
Definition at line 363 of file bgp_peer_close.cc.
|
virtual |
Implements IPeerClose.
Definition at line 65 of file bgp_peer_close.cc.
|
virtual |
Implements IPeerClose.
Definition at line 32 of file bgp_peer_close.cc.
|
virtual |
Implements IPeerClose.
Definition at line 77 of file bgp_peer_close.cc.
|
virtual |
Implements IPeerClose.
Definition at line 73 of file bgp_peer_close.cc.
|
inline |
Definition at line 54 of file bgp_peer_close.h.
|
virtual |
Implements IPeerClose.
Definition at line 40 of file bgp_peer_close.cc.
|
virtual |
Implements IPeerClose.
Definition at line 47 of file bgp_peer_close.cc.
|
virtual |
Implements IPeerClose.
Definition at line 240 of file bgp_peer_close.cc.
|
virtual |
Implements IPeerClose.
Definition at line 298 of file bgp_peer_close.cc.
|
private |
|
privatevirtual |
|
privatevirtual |
|
privatevirtual |
|
privatevirtual |
|
private |
|
privatevirtual |
|
privatevirtual |
|
virtual |
Implements IPeerClose.
Definition at line 51 of file bgp_peer_close.cc.
|
privatevirtual |
|
privatevirtual |
|
virtual |
Implements IPeerClose.
Definition at line 44 of file bgp_peer_close.cc.
|
virtual |
Implements IPeerClose.
Definition at line 81 of file bgp_peer_close.cc.
|
privatevirtual |
Definition at line 117 of file bgp_peer_close.cc.
|
virtual |
Implements IPeerClose.
Definition at line 55 of file bgp_peer_close.cc.
|
privatevirtual |
|
virtual |
Implements IPeerClose.
Definition at line 69 of file bgp_peer_close.cc.
|
virtual |
bool BgpPeerClose::SetGRCapabilities | ( | BgpPeerInfoData * | peer_info | ) |
|
virtual |
Implements IPeerClose.
Definition at line 126 of file bgp_peer_close.cc.
|
private |
Definition at line 75 of file bgp_peer_close.h.
|
private |
Definition at line 77 of file bgp_peer_close.h.
|
private |
Definition at line 79 of file bgp_peer_close.h.
|
private |
Definition at line 78 of file bgp_peer_close.h.
|
private |
Definition at line 80 of file bgp_peer_close.h.
|
private |
Definition at line 76 of file bgp_peer_close.h.
|
private |
Definition at line 74 of file bgp_peer_close.h.