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

#include <agent_path.h>

Inheritance diagram for MulticastRoute:
Collaboration diagram for MulticastRoute:

Public Member Functions

 MulticastRoute (const string &vn_name, uint32_t label, int vxlan_id, uint32_t tunnel_type, DBRequest &nh_req, COMPOSITETYPE comp_nh_type, uint64_t sequence_number, bool ha_stale=false)
 
virtual ~MulticastRoute ()
 
virtual AgentPathCreateAgentPath (const Peer *peer, AgentRoute *rt) const
 
virtual bool AddChangePathExtended (Agent *agent, AgentPath *path, const AgentRoute *rt)
 
virtual std::string ToString () const
 
uint32_t vxlan_id () const
 
COMPOSITETYPE comp_nh_type () 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 ()
 

Static Public Member Functions

static bool CopyPathParameters (Agent *agent, AgentPath *path, const std::string &dest_vn_name, bool unresolved, uint32_t vxlan_id, uint32_t label, uint32_t tunnel_type, NextHop *nh, const AgentRoute *rt, bool ha_stale=false)
 

Private Member Functions

 DISALLOW_COPY_AND_ASSIGN (MulticastRoute)
 

Private Attributes

string vn_name_
 
uint32_t label_
 
uint32_t vxlan_id_
 
uint32_t tunnel_type_
 
DBRequest composite_nh_req_
 
COMPOSITETYPE comp_nh_type_
 
bool ha_stale_
 

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

Constructor & Destructor Documentation

MulticastRoute::MulticastRoute ( const string &  vn_name,
uint32_t  label,
int  vxlan_id,
uint32_t  tunnel_type,
DBRequest nh_req,
COMPOSITETYPE  comp_nh_type,
uint64_t  sequence_number,
bool  ha_stale = false 
)
inline

Definition at line 876 of file agent_path.h.

Here is the call graph for this function:

virtual MulticastRoute::~MulticastRoute ( )
inlinevirtual

Definition at line 886 of file agent_path.h.

Member Function Documentation

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

Implements AgentRouteData.

Definition at line 1384 of file agent_path.cc.

Here is the call graph for this function:

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

Reimplemented from AgentRouteData.

Definition at line 1467 of file agent_path.cc.

Here is the call graph for this function:

COMPOSITETYPE MulticastRoute::comp_nh_type ( ) const
inline

Definition at line 892 of file agent_path.h.

bool MulticastRoute::CopyPathParameters ( Agent agent,
AgentPath path,
const std::string &  dest_vn_name,
bool  unresolved,
uint32_t  vxlan_id,
uint32_t  label,
uint32_t  tunnel_type,
NextHop nh,
const AgentRoute rt,
bool  ha_stale = false 
)
static

Definition at line 1417 of file agent_path.cc.

Here is the call graph for this function:

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

Reimplemented from AgentRouteData.

Definition at line 1379 of file agent_path.cc.

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

Implements AgentRouteData.

Definition at line 890 of file agent_path.h.

uint32_t MulticastRoute::vxlan_id ( ) const
inline

Definition at line 891 of file agent_path.h.

Member Data Documentation

COMPOSITETYPE MulticastRoute::comp_nh_type_
private

Definition at line 911 of file agent_path.h.

DBRequest MulticastRoute::composite_nh_req_
private

Definition at line 910 of file agent_path.h.

bool MulticastRoute::ha_stale_
private

Definition at line 912 of file agent_path.h.

uint32_t MulticastRoute::label_
private

Definition at line 907 of file agent_path.h.

uint32_t MulticastRoute::tunnel_type_
private

Definition at line 909 of file agent_path.h.

string MulticastRoute::vn_name_
private

Definition at line 906 of file agent_path.h.

uint32_t MulticastRoute::vxlan_id_
private

Definition at line 908 of file agent_path.h.


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