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

#include <agent_path.h>

Inheritance diagram for L2ReceiveRoute:
Collaboration diagram for L2ReceiveRoute:

Public Member Functions

 L2ReceiveRoute (const std::string &dest_vn_name, uint32_t vxlan_id, uint32_t mpls_label, const PathPreference &pref, uint64_t sequence_number)
 
virtual ~L2ReceiveRoute ()
 
virtual bool AddChangePathExtended (Agent *agent, AgentPath *path, const AgentRoute *rt)
 
virtual std::string ToString () const
 
virtual bool UpdateRoute (AgentRoute *rt)
 
- Public Member Functions inherited from AgentRouteData
 AgentRouteData (Type type, bool is_multicast, uint64_t sequence_number)
 
virtual ~AgentRouteData ()
 
virtual AgentPathCreateAgentPath (const Peer *peer, AgentRoute *rt) const
 
virtual bool CanDeletePath (Agent *agent, AgentPath *path, const AgentRoute *rt) const
 
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 (L2ReceiveRoute)
 

Private Attributes

std::string dest_vn_name_
 
uint32_t vxlan_id_
 
uint32_t mpls_label_
 
const PathPreference path_preference_
 

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

Constructor & Destructor Documentation

L2ReceiveRoute::L2ReceiveRoute ( const std::string &  dest_vn_name,
uint32_t  vxlan_id,
uint32_t  mpls_label,
const PathPreference pref,
uint64_t  sequence_number 
)
inline

Definition at line 799 of file agent_path.h.

virtual L2ReceiveRoute::~L2ReceiveRoute ( )
inlinevirtual

Definition at line 806 of file agent_path.h.

Member Function Documentation

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

Implements AgentRouteData.

Definition at line 799 of file agent_path.cc.

Here is the call graph for this function:

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

Implements AgentRouteData.

Definition at line 809 of file agent_path.h.

virtual bool L2ReceiveRoute::UpdateRoute ( AgentRoute rt)
inlinevirtual

Reimplemented from AgentRouteData.

Definition at line 810 of file agent_path.h.

Member Data Documentation

std::string L2ReceiveRoute::dest_vn_name_
private

Definition at line 813 of file agent_path.h.

uint32_t L2ReceiveRoute::mpls_label_
private

Definition at line 815 of file agent_path.h.

const PathPreference L2ReceiveRoute::path_preference_
private

Definition at line 816 of file agent_path.h.

uint32_t L2ReceiveRoute::vxlan_id_
private

Definition at line 814 of file agent_path.h.


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