OpenSDN source code
EvpnPeer Class Reference

#include <peer.h>

Inheritance diagram for EvpnPeer:
Collaboration diagram for EvpnPeer:

Public Types

typedef boost::shared_ptr< EvpnPeerEvpnPeerRef
 
- Public Types inherited from Peer
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
 

Public Member Functions

 EvpnPeer ()
 
virtual ~EvpnPeer ()
 
bool Compare (const Peer *rhs) const
 
- Public Member Functions inherited from Peer
 Peer (Type type, const std::string &name, bool controller_export)
 
virtual ~Peer ()
 
bool IsLess (const Peer *rhs) const
 
virtual bool export_to_controller () const
 
virtual const Ip4AddressNexthopIp (Agent *agent, const AgentPath *path) const
 
const std::string & GetName () const
 
const Type GetType () const
 
virtual bool SkipAddChangeRequest () const
 
virtual bool IsDeleted () const
 
uint32_t refcount () const
 
uint64_t sequence_number () const
 
void incr_sequence_number ()
 

Private Member Functions

 DISALLOW_COPY_AND_ASSIGN (EvpnPeer)
 

Detailed Description

Definition at line 257 of file peer.h.

Member Typedef Documentation

◆ EvpnPeerRef

typedef boost::shared_ptr<EvpnPeer> EvpnPeer::EvpnPeerRef

Definition at line 259 of file peer.h.

Constructor & Destructor Documentation

◆ EvpnPeer()

EvpnPeer::EvpnPeer ( )
inline

Definition at line 261 of file peer.h.

◆ ~EvpnPeer()

virtual EvpnPeer::~EvpnPeer ( )
inlinevirtual

Definition at line 262 of file peer.h.

Member Function Documentation

◆ Compare()

bool EvpnPeer::Compare ( const Peer rhs) const
inlinevirtual

Reimplemented from Peer.

Definition at line 264 of file peer.h.

◆ DISALLOW_COPY_AND_ASSIGN()

EvpnPeer::DISALLOW_COPY_AND_ASSIGN ( EvpnPeer  )
private

The documentation for this class was generated from the following file: