OpenSDN source code
RouteFlowMgmtKey Class Reference

#include <flow_mgmt_key.h>

Inheritance diagram for RouteFlowMgmtKey:
Collaboration diagram for RouteFlowMgmtKey:

Public Member Functions

 RouteFlowMgmtKey (Type type, uint32_t vrf_id)
 
 RouteFlowMgmtKey (Type type, const AgentRoute *rt, uint32_t vrf_id)
 
virtual ~RouteFlowMgmtKey ()
 
virtual bool UseDBEntry () const
 
uint32_t vrf_id () const
 
- Public Member Functions inherited from FlowMgmtKey
 FlowMgmtKey (Type type, const DBEntry *db_entry)
 
virtual ~FlowMgmtKey ()
 
virtual FlowMgmtKeyClone ()=0
 
virtual void KeyToFlowRequest (FlowEvent *req)
 
virtual bool Compare (const FlowMgmtKey *rhs) const
 
bool IsLess (const FlowMgmtKey *rhs) const
 
FlowEvent::Event FreeDBEntryEvent () const
 
Type type () const
 
const DBEntrydb_entry () const
 
void set_db_entry (const DBEntry *db_entry)
 

Static Public Member Functions

static Type AddrToType (const IpAddress &addr)
 
static Type RouteToType (const AgentRoute *rt)
 

Protected Attributes

uint32_t vrf_id_
 
- Protected Attributes inherited from FlowMgmtKey
Type type_
 
const DBEntrydb_entry_
 

Private Member Functions

 DISALLOW_COPY_AND_ASSIGN (RouteFlowMgmtKey)
 

Additional Inherited Members

- Public Types inherited from FlowMgmtKey
enum  Type {
  INVALID , INTERFACE , ACL , ACE_ID ,
  VN , VM , INET4 , INET6 ,
  BRIDGE , NH , VRF , BGPASASERVICE ,
  END
}
 

Detailed Description

Definition at line 151 of file flow_mgmt_key.h.

Constructor & Destructor Documentation

◆ RouteFlowMgmtKey() [1/2]

RouteFlowMgmtKey::RouteFlowMgmtKey ( Type  type,
uint32_t  vrf_id 
)
inline

Definition at line 177 of file flow_mgmt_key.h.

◆ RouteFlowMgmtKey() [2/2]

RouteFlowMgmtKey::RouteFlowMgmtKey ( Type  type,
const AgentRoute rt,
uint32_t  vrf_id 
)
inline

Definition at line 181 of file flow_mgmt_key.h.

◆ ~RouteFlowMgmtKey()

virtual RouteFlowMgmtKey::~RouteFlowMgmtKey ( )
inlinevirtual

Definition at line 185 of file flow_mgmt_key.h.

Member Function Documentation

◆ AddrToType()

static Type RouteFlowMgmtKey::AddrToType ( const IpAddress addr)
inlinestatic

Definition at line 153 of file flow_mgmt_key.h.

◆ DISALLOW_COPY_AND_ASSIGN()

RouteFlowMgmtKey::DISALLOW_COPY_AND_ASSIGN ( RouteFlowMgmtKey  )
private

◆ RouteToType()

static Type RouteFlowMgmtKey::RouteToType ( const AgentRoute rt)
inlinestatic

Definition at line 164 of file flow_mgmt_key.h.

Here is the call graph for this function:

◆ UseDBEntry()

virtual bool RouteFlowMgmtKey::UseDBEntry ( ) const
inlinevirtual

Reimplemented from FlowMgmtKey.

Definition at line 187 of file flow_mgmt_key.h.

◆ vrf_id()

uint32_t RouteFlowMgmtKey::vrf_id ( ) const
inline

Definition at line 188 of file flow_mgmt_key.h.

Member Data Documentation

◆ vrf_id_

uint32_t RouteFlowMgmtKey::vrf_id_
protected

Definition at line 191 of file flow_mgmt_key.h.


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