OpenSDN source code
|
#include <peer.h>
Public Member Functions | |
DynamicPeer (Agent *agent, Type type, const std::string &name, bool controller_export) | |
virtual | ~DynamicPeer () |
virtual bool | SkipAddChangeRequest () const |
virtual bool | IsDeleted () const |
void | StopRouteExports () |
bool | DeleteTimeout () |
![]() | |
Peer (Type type, const std::string &name, bool controller_export) | |
virtual | ~Peer () |
bool | IsLess (const Peer *rhs) const |
virtual bool | Compare (const Peer *rhs) const |
virtual bool | export_to_controller () const |
virtual const Ip4Address * | NexthopIp (Agent *agent, const AgentPath *path) const |
const std::string & | GetName () const |
const Type | GetType () const |
uint32_t | refcount () const |
uint64_t | sequence_number () const |
void | incr_sequence_number () |
Static Public Member Functions | |
static void | ProcessDelete (DynamicPeer *p) |
Static Public Attributes | |
static const uint32_t | kDeleteTimeout = 300 * 1000 |
Private Member Functions | |
virtual bool | DeleteOnZeroRefcount () const |
DISALLOW_COPY_AND_ASSIGN (DynamicPeer) | |
Private Attributes | |
Timer * | delete_timeout_timer_ |
tbb::atomic< bool > | deleted_ |
tbb::atomic< bool > | skip_add_change_ |
Friends | |
void | intrusive_ptr_add_ref (const Peer *p) |
void | intrusive_ptr_release (const Peer *p) |
Additional Inherited Members | |
![]() | |
enum | Type { MULTICAST_PEER, EVPN_PEER, BGP_PEER, EVPN_ROUTING_PEER, LINKLOCAL_PEER, ECMP_PEER, VXLAN_BGP_PEER, LOCAL_VM_PORT_PEER, LOCAL_VM_PEER, LOCAL_PEER, NOVA_PEER, VGW_PEER, MULTICAST_FABRIC_TREE_BUILDER, OVS_PEER, MULTICAST_TOR_PEER, MAC_VM_BINDING_PEER, INET_EVPN_PEER, MAC_LEARNING_PEER } |
typedef std::map< std::string, Peer * > | PeerMap |
typedef std::pair< std::string, Peer * > | PeerPair |
|
privatevirtual |
|
private |
|
inlinevirtual |
|
static |
|
inlinevirtual |
|
static |