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

#include <agent_path.h>

Inheritance diagram for IpamSubnetRoute:
Collaboration diagram for IpamSubnetRoute:

Public Member Functions

 IpamSubnetRoute (DBRequest &nh_req, const std::string &dest_vn_name)
 
virtual ~IpamSubnetRoute ()
 
virtual string ToString () const
 
virtual bool AddChangePathExtended (Agent *agent, AgentPath *path, const AgentRoute *rt)
 
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 (IpamSubnetRoute)
 

Private Attributes

DBRequest nh_req_
 
std::string dest_vn_name_
 

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

Constructor & Destructor Documentation

IpamSubnetRoute::IpamSubnetRoute ( DBRequest nh_req,
const std::string &  dest_vn_name 
)

Definition at line 1493 of file agent_path.cc.

Here is the call graph for this function:

virtual IpamSubnetRoute::~IpamSubnetRoute ( )
inlinevirtual

Definition at line 919 of file agent_path.h.

Member Function Documentation

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

Implements AgentRouteData.

Definition at line 1500 of file agent_path.cc.

Here is the call graph for this function:

IpamSubnetRoute::DISALLOW_COPY_AND_ASSIGN ( IpamSubnetRoute  )
private
virtual string IpamSubnetRoute::ToString ( ) const
inlinevirtual

Implements AgentRouteData.

Definition at line 920 of file agent_path.h.

bool IpamSubnetRoute::UpdateRoute ( AgentRoute rt)
virtual

Reimplemented from AgentRouteData.

Definition at line 1536 of file agent_path.cc.

Here is the call graph for this function:

Member Data Documentation

std::string IpamSubnetRoute::dest_vn_name_
private

Definition at line 927 of file agent_path.h.

DBRequest IpamSubnetRoute::nh_req_
private

Definition at line 926 of file agent_path.h.


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