OpenSDN source code
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
EvpnRouteKey Class Reference

#include <evpn_route.h>

Inheritance diagram for EvpnRouteKey:
Collaboration diagram for EvpnRouteKey:

Public Member Functions

 EvpnRouteKey (const Peer *peer, const std::string &vrf_name, const MacAddress &mac, const IpAddress &ip_addr, uint32_t plen, uint32_t ethernet_tag)
 
virtual ~EvpnRouteKey ()
 
virtual AgentRouteAllocRouteEntry (VrfEntry *vrf, bool is_multicast) const
 
virtual Agent::RouteTableType GetRouteTableType ()
 
virtual std::string ToString () const
 
virtual EvpnRouteKeyClone () const
 
const MacAddressGetMac () const
 
const IpAddressip_addr () const
 
uint32_t ethernet_tag () const
 
- Public Member Functions inherited from AgentRouteKey
 AgentRouteKey (const Peer *peer, const std::string &vrf_name)
 
virtual ~AgentRouteKey ()
 
const std::string & vrf_name () const
 
const Peerpeer () const
 
void set_peer (const Peer *peer)
 
 DISALLOW_COPY_AND_ASSIGN (AgentRouteKey)
 
- Public Member Functions inherited from AgentKey
 AgentKey ()
 
 AgentKey (DBSubOperation sub_op)
 
virtual ~AgentKey ()
 
- Public Member Functions inherited from DBRequestKey
virtual ~DBRequestKey ()
 

Private Member Functions

 DISALLOW_COPY_AND_ASSIGN (EvpnRouteKey)
 

Private Attributes

MacAddress dmac_
 
IpAddress ip_addr_
 
uint32_t plen_
 
uint32_t ethernet_tag_
 

Additional Inherited Members

- Public Types inherited from AgentKey
enum  DBSubOperation { ADD_DEL_CHANGE, RESYNC }
 
- Public Attributes inherited from AgentRouteKey
PeerConstPtr peer_
 
std::string vrf_name_
 
- Public Attributes inherited from AgentKey
uint8_t sub_op_
 

Detailed Description

Definition at line 238 of file vnsw/agent/oper/evpn_route.h.

Constructor & Destructor Documentation

EvpnRouteKey::EvpnRouteKey ( const Peer peer,
const std::string &  vrf_name,
const MacAddress mac,
const IpAddress ip_addr,
uint32_t  plen,
uint32_t  ethernet_tag 
)
inline

Definition at line 240 of file vnsw/agent/oper/evpn_route.h.

virtual EvpnRouteKey::~EvpnRouteKey ( )
inlinevirtual

Definition at line 247 of file vnsw/agent/oper/evpn_route.h.

Member Function Documentation

AgentRoute * EvpnRouteKey::AllocRouteEntry ( VrfEntry vrf,
bool  is_multicast 
) const
virtual

Implements AgentRouteKey.

Definition at line 64 of file vnsw/agent/oper/evpn_route.cc.

EvpnRouteKey * EvpnRouteKey::Clone ( ) const
virtual

Implements AgentRouteKey.

Definition at line 58 of file vnsw/agent/oper/evpn_route.cc.

EvpnRouteKey::DISALLOW_COPY_AND_ASSIGN ( EvpnRouteKey  )
private
uint32_t EvpnRouteKey::ethernet_tag ( ) const
inline

Definition at line 255 of file vnsw/agent/oper/evpn_route.h.

const MacAddress& EvpnRouteKey::GetMac ( ) const
inline

Definition at line 253 of file vnsw/agent/oper/evpn_route.h.

virtual Agent::RouteTableType EvpnRouteKey::GetRouteTableType ( )
inlinevirtual

Implements AgentRouteKey.

Definition at line 250 of file vnsw/agent/oper/evpn_route.h.

const IpAddress& EvpnRouteKey::ip_addr ( ) const
inline

Definition at line 254 of file vnsw/agent/oper/evpn_route.h.

string EvpnRouteKey::ToString ( ) const
virtual

Implements AgentRouteKey.

Definition at line 48 of file vnsw/agent/oper/evpn_route.cc.

Member Data Documentation

MacAddress EvpnRouteKey::dmac_
private

Definition at line 258 of file vnsw/agent/oper/evpn_route.h.

uint32_t EvpnRouteKey::ethernet_tag_
private

Definition at line 266 of file vnsw/agent/oper/evpn_route.h.

IpAddress EvpnRouteKey::ip_addr_
private

Definition at line 259 of file vnsw/agent/oper/evpn_route.h.

uint32_t EvpnRouteKey::plen_
private

Definition at line 260 of file vnsw/agent/oper/evpn_route.h.


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