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

#include <agent_path.h>

Inheritance diagram for EvpnRoutingData:
Collaboration diagram for EvpnRoutingData:

Public Member Functions

 EvpnRoutingData (DBRequest &nh_req, const SecurityGroupList &sg_list, const CommunityList &communities, const PathPreference &path_preference, const EcmpLoadBalance &ecmp_load_balance, const TagList &tag_list, VrfEntryConstRef vrf_entry, uint32_t vxlan_id, const VnListType &vn_list, const std::string &origin_vn="")
 
virtual ~EvpnRoutingData ()
 
virtual AgentPathCreateAgentPath (const Peer *peer, AgentRoute *rt) const
 
virtual bool AddChangePathExtended (Agent *agent, AgentPath *path, const AgentRoute *rt)
 
virtual std::string ToString () const
 
virtual bool CanDeletePath (Agent *agent, AgentPath *path, const AgentRoute *rt) const
 
virtual bool UpdateRoute (AgentRoute *rt)
 
- Public Member Functions inherited from AgentRouteData
 AgentRouteData (Type type, bool is_multicast, uint64_t sequence_number)
 
virtual ~AgentRouteData ()
 
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

 DISALLOW_COPY_AND_ASSIGN (EvpnRoutingData)
 

Private Attributes

DBRequest nh_req_
 
const SecurityGroupList sg_list_
 
const CommunityList communities_
 
const PathPreference path_preference_
 
const EcmpLoadBalance ecmp_load_balance_
 
const TagList tag_list_
 
VrfEntryConstRef routing_vrf_
 
uint32_t vxlan_id_
 
const VnListType dest_vn_list_
 
const std::string origin_vn_
 

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 1188 of file agent_path.h.

Constructor & Destructor Documentation

EvpnRoutingData::EvpnRoutingData ( DBRequest nh_req,
const SecurityGroupList sg_list,
const CommunityList communities,
const PathPreference path_preference,
const EcmpLoadBalance ecmp_load_balance,
const TagList tag_list,
VrfEntryConstRef  vrf_entry,
uint32_t  vxlan_id,
const VnListType vn_list,
const std::string &  origin_vn = "" 
)

Definition at line 2084 of file agent_path.cc.

Here is the call graph for this function:

virtual EvpnRoutingData::~EvpnRoutingData ( )
inlinevirtual

Definition at line 1200 of file agent_path.h.

Member Function Documentation

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

Implements AgentRouteData.

Definition at line 2111 of file agent_path.cc.

Here is the call graph for this function:

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

Reimplemented from AgentRouteData.

Definition at line 2178 of file agent_path.cc.

Here is the call graph for this function:

AgentPath * EvpnRoutingData::CreateAgentPath ( const Peer peer,
AgentRoute rt 
) const
virtual

Reimplemented from AgentRouteData.

Definition at line 2106 of file agent_path.cc.

EvpnRoutingData::DISALLOW_COPY_AND_ASSIGN ( EvpnRoutingData  )
private
virtual std::string EvpnRoutingData::ToString ( ) const
inlinevirtual

Implements AgentRouteData.

Definition at line 1204 of file agent_path.h.

bool EvpnRoutingData::UpdateRoute ( AgentRoute rt)
virtual

Reimplemented from AgentRouteData.

Definition at line 2190 of file agent_path.cc.

Here is the call graph for this function:

Member Data Documentation

const CommunityList EvpnRoutingData::communities_
private

Definition at line 1214 of file agent_path.h.

const VnListType EvpnRoutingData::dest_vn_list_
private

Definition at line 1220 of file agent_path.h.

const EcmpLoadBalance EvpnRoutingData::ecmp_load_balance_
private

Definition at line 1216 of file agent_path.h.

DBRequest EvpnRoutingData::nh_req_
private

Definition at line 1212 of file agent_path.h.

const std::string EvpnRoutingData::origin_vn_
private

Definition at line 1221 of file agent_path.h.

const PathPreference EvpnRoutingData::path_preference_
private

Definition at line 1215 of file agent_path.h.

VrfEntryConstRef EvpnRoutingData::routing_vrf_
private

Definition at line 1218 of file agent_path.h.

const SecurityGroupList EvpnRoutingData::sg_list_
private

Definition at line 1213 of file agent_path.h.

const TagList EvpnRoutingData::tag_list_
private

Definition at line 1217 of file agent_path.h.

uint32_t EvpnRoutingData::vxlan_id_
private

Definition at line 1219 of file agent_path.h.


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