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

#include <agent_path.h>

Inheritance diagram for HostRoute:
Collaboration diagram for HostRoute:

Public Member Functions

 HostRoute (const PacketInterfaceKey &intf, const std::string &dest_vn_name)
 
virtual ~HostRoute ()
 
void set_proxy_arp ()
 
void set_policy (bool policy)
 
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 (HostRoute)
 

Private Attributes

PacketInterfaceKey intf_
 
std::string dest_vn_name_
 
bool proxy_arp_
 
bool policy_
 

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

Constructor & Destructor Documentation

HostRoute::HostRoute ( const PacketInterfaceKey intf,
const std::string &  dest_vn_name 
)
inline

Definition at line 774 of file agent_path.h.

virtual HostRoute::~HostRoute ( )
inlinevirtual

Definition at line 779 of file agent_path.h.

Member Function Documentation

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

Implements AgentRouteData.

Definition at line 766 of file agent_path.cc.

Here is the call graph for this function:

HostRoute::DISALLOW_COPY_AND_ASSIGN ( HostRoute  )
private
void HostRoute::set_policy ( bool  policy)
inline

Definition at line 781 of file agent_path.h.

void HostRoute::set_proxy_arp ( )
inline

Definition at line 780 of file agent_path.h.

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

Implements AgentRouteData.

Definition at line 786 of file agent_path.h.

bool HostRoute::UpdateRoute ( AgentRoute rt)
virtual

Reimplemented from AgentRouteData.

Definition at line 788 of file agent_path.cc.

Here is the call graph for this function:

Member Data Documentation

std::string HostRoute::dest_vn_name_
private

Definition at line 791 of file agent_path.h.

PacketInterfaceKey HostRoute::intf_
private

Definition at line 790 of file agent_path.h.

bool HostRoute::policy_
private

Definition at line 793 of file agent_path.h.

bool HostRoute::proxy_arp_
private

Definition at line 792 of file agent_path.h.


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