OpenSDN source code
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::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:

◆ ~IpamSubnetRoute()

virtual IpamSubnetRoute::~IpamSubnetRoute ( )
inlinevirtual

Definition at line 919 of file agent_path.h.

Member Function Documentation

◆ AddChangePathExtended()

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:

◆ DISALLOW_COPY_AND_ASSIGN()

IpamSubnetRoute::DISALLOW_COPY_AND_ASSIGN ( IpamSubnetRoute  )
private

◆ ToString()

virtual string IpamSubnetRoute::ToString ( ) const
inlinevirtual

Implements AgentRouteData.

Definition at line 920 of file agent_path.h.

◆ UpdateRoute()

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

◆ dest_vn_name_

std::string IpamSubnetRoute::dest_vn_name_
private

Definition at line 927 of file agent_path.h.

◆ nh_req_

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: