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

#include <agent_path.h>

Inheritance diagram for ReceiveRoute:
Collaboration diagram for ReceiveRoute:

Public Member Functions

 ReceiveRoute (const InterfaceKey &intf_key, uint32_t label, uint32_t tunnel_bmap, bool policy, const std::string &vn)
 
virtual ~ReceiveRoute ()
 
void SetProxyArp (bool proxy_arp)
 
void SetIpamHostRoute (bool ipam_host_route)
 
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 (ReceiveRoute)
 

Private Attributes

boost::scoped_ptr< InterfaceKeyintf_
 
uint32_t label_
 
int tunnel_bmap_
 
bool policy_
 
bool proxy_arp_
 
bool ipam_host_route_
 
std::string vn_
 
SecurityGroupList sg_list_
 
TagList tag_list_
 

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

Constructor & Destructor Documentation

ReceiveRoute::ReceiveRoute ( const InterfaceKey intf_key,
uint32_t  label,
uint32_t  tunnel_bmap,
bool  policy,
const std::string &  vn 
)
inline

Definition at line 933 of file agent_path.h.

Here is the call graph for this function:

virtual ReceiveRoute::~ReceiveRoute ( )
inlinevirtual

Definition at line 940 of file agent_path.h.

Member Function Documentation

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

Implements AgentRouteData.

Definition at line 1271 of file agent_path.cc.

Here is the call graph for this function:

ReceiveRoute::DISALLOW_COPY_AND_ASSIGN ( ReceiveRoute  )
private
void ReceiveRoute::SetIpamHostRoute ( bool  ipam_host_route)
inline

Definition at line 943 of file agent_path.h.

void ReceiveRoute::SetProxyArp ( bool  proxy_arp)
inline

Definition at line 942 of file agent_path.h.

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

Implements AgentRouteData.

Definition at line 947 of file agent_path.h.

bool ReceiveRoute::UpdateRoute ( AgentRoute rt)
virtual

Reimplemented from AgentRouteData.

Definition at line 1301 of file agent_path.cc.

Here is the call graph for this function:

Member Data Documentation

boost::scoped_ptr<InterfaceKey> ReceiveRoute::intf_
private

Definition at line 951 of file agent_path.h.

bool ReceiveRoute::ipam_host_route_
private

Definition at line 956 of file agent_path.h.

uint32_t ReceiveRoute::label_
private

Definition at line 952 of file agent_path.h.

bool ReceiveRoute::policy_
private

Definition at line 954 of file agent_path.h.

bool ReceiveRoute::proxy_arp_
private

Definition at line 955 of file agent_path.h.

SecurityGroupList ReceiveRoute::sg_list_
private

Definition at line 958 of file agent_path.h.

TagList ReceiveRoute::tag_list_
private

Definition at line 959 of file agent_path.h.

int ReceiveRoute::tunnel_bmap_
private

Definition at line 953 of file agent_path.h.

std::string ReceiveRoute::vn_
private

Definition at line 957 of file agent_path.h.


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