OpenSDN source code
LocalVmPortPeer Class Reference

#include <peer.h>

Inheritance diagram for LocalVmPortPeer:
Collaboration diagram for LocalVmPortPeer:

Public Member Functions

 LocalVmPortPeer (const std::string &name, uint64_t handle)
 
virtual ~LocalVmPortPeer ()
 
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 (LocalVmPortPeer)
 

Private Attributes

uint64_t handle_
 

Additional Inherited Members

- 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
 

Detailed Description

Definition at line 226 of file peer.h.

Constructor & Destructor Documentation

◆ LocalVmPortPeer()

LocalVmPortPeer::LocalVmPortPeer ( const std::string &  name,
uint64_t  handle 
)
inline

Definition at line 228 of file peer.h.

◆ ~LocalVmPortPeer()

virtual LocalVmPortPeer::~LocalVmPortPeer ( )
inlinevirtual

Definition at line 232 of file peer.h.

Member Function Documentation

◆ Compare()

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

Reimplemented from Peer.

Definition at line 234 of file peer.h.

◆ DISALLOW_COPY_AND_ASSIGN()

LocalVmPortPeer::DISALLOW_COPY_AND_ASSIGN ( LocalVmPortPeer  )
private

Member Data Documentation

◆ handle_

uint64_t LocalVmPortPeer::handle_
private

Definition at line 241 of file peer.h.


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