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

#include <agent_path.h>

Inheritance diagram for EvpnDerivedPathData:
Collaboration diagram for EvpnDerivedPathData:

Public Member Functions

 EvpnDerivedPathData (const EvpnRouteEntry *evpn_rt)
 
virtual ~EvpnDerivedPathData ()
 
virtual bool AddChangePathExtended (Agent *agent, AgentPath *path, const AgentRoute *rt)
 
virtual std::string ToString () const
 
virtual AgentPathCreateAgentPath (const Peer *peer, AgentRoute *rt) const
 
EvpnPeerevpn_peer () const
 
const IpAddressip_addr () const
 
const std::string & parent () const
 
void set_parent (const std::string &parent)
 
void set_ethernet_tag (uint32_t ethernet_tag)
 
uint32_t ethernet_tag () const
 
const AgentPathreference_path () const
 
virtual bool CanDeletePath (Agent *agent, AgentPath *path, const AgentRoute *rt) const
 
- Public Member Functions inherited from AgentRouteData
 AgentRouteData (Type type, bool is_multicast, uint64_t sequence_number)
 
virtual ~AgentRouteData ()
 
virtual bool UpdateRoute (AgentRoute *rt)
 
bool AddChangePath (Agent *agent, AgentPath *path, const AgentRoute *rt)
 
bool is_multicast () const
 
uint64_t sequence_number () const
 
 DISALLOW_COPY_AND_ASSIGN (AgentRouteData)
 
- Public Member Functions inherited from AgentData
 AgentData ()
 
virtual ~AgentData ()
 
- Public Member Functions inherited from DBRequestData
virtual ~DBRequestData ()
 

Private Member Functions

void CopyData (const AgentPath *path)
 
 DISALLOW_COPY_AND_ASSIGN (EvpnDerivedPathData)
 

Private Attributes

uint32_t ethernet_tag_
 
IpAddress ip_addr_
 
std::string parent_
 
const AgentPathreference_path_
 
bool ecmp_suppressed_
 

Additional Inherited Members

- Public Types inherited from AgentRouteData
enum  Type { ADD_DEL_CHANGE, ROUTE_PREFERENCE_CHANGE, IPAM_SUBNET }
 
- Public Attributes inherited from AgentRouteData
Type type_
 
bool is_multicast_
 
uint64_t sequence_number_
 

Detailed Description

Definition at line 585 of file agent_path.h.

Constructor & Destructor Documentation

EvpnDerivedPathData::EvpnDerivedPathData ( const EvpnRouteEntry evpn_rt)

Definition at line 651 of file agent_path.cc.

Here is the call graph for this function:

virtual EvpnDerivedPathData::~EvpnDerivedPathData ( )
inlinevirtual

Definition at line 588 of file agent_path.h.

Member Function Documentation

bool EvpnDerivedPathData::AddChangePathExtended ( Agent agent,
AgentPath path,
const AgentRoute rt 
)
virtual

Implements AgentRouteData.

Definition at line 673 of file agent_path.cc.

Here is the call graph for this function:

bool EvpnDerivedPathData::CanDeletePath ( Agent agent,
AgentPath path,
const AgentRoute rt 
) const
virtual

Reimplemented from AgentRouteData.

Definition at line 754 of file agent_path.cc.

Here is the call graph for this function:

void EvpnDerivedPathData::CopyData ( const AgentPath path)
private
AgentPath * EvpnDerivedPathData::CreateAgentPath ( const Peer peer,
AgentRoute rt 
) const
virtual

Reimplemented from AgentRouteData.

Definition at line 665 of file agent_path.cc.

Here is the call graph for this function:

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

Definition at line 599 of file agent_path.h.

EvpnPeer* EvpnDerivedPathData::evpn_peer ( ) const
const IpAddress& EvpnDerivedPathData::ip_addr ( ) const
inline

Definition at line 595 of file agent_path.h.

const std::string& EvpnDerivedPathData::parent ( ) const
inline

Definition at line 596 of file agent_path.h.

const AgentPath* EvpnDerivedPathData::reference_path ( ) const
inline

Definition at line 600 of file agent_path.h.

void EvpnDerivedPathData::set_ethernet_tag ( uint32_t  ethernet_tag)
inline

Definition at line 598 of file agent_path.h.

Here is the call graph for this function:

void EvpnDerivedPathData::set_parent ( const std::string &  parent)
inline

Definition at line 597 of file agent_path.h.

Here is the call graph for this function:

virtual std::string EvpnDerivedPathData::ToString ( ) const
inlinevirtual

Implements AgentRouteData.

Definition at line 591 of file agent_path.h.

Member Data Documentation

bool EvpnDerivedPathData::ecmp_suppressed_
private

Definition at line 613 of file agent_path.h.

uint32_t EvpnDerivedPathData::ethernet_tag_
private

Definition at line 607 of file agent_path.h.

IpAddress EvpnDerivedPathData::ip_addr_
private

Definition at line 608 of file agent_path.h.

std::string EvpnDerivedPathData::parent_
private

Definition at line 609 of file agent_path.h.

const AgentPath* EvpnDerivedPathData::reference_path_
private

Definition at line 612 of file agent_path.h.


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