OpenSDN source code
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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::RouteFlowMgmtKey ( Type  type,
uint32_t  vrf_id 
)
inline

Definition at line 177 of file flow_mgmt_key.h.

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

Definition at line 181 of file flow_mgmt_key.h.

virtual RouteFlowMgmtKey::~RouteFlowMgmtKey ( )
inlinevirtual

Definition at line 185 of file flow_mgmt_key.h.

Member Function Documentation

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

Definition at line 153 of file flow_mgmt_key.h.

RouteFlowMgmtKey::DISALLOW_COPY_AND_ASSIGN ( RouteFlowMgmtKey  )
private
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:

virtual bool RouteFlowMgmtKey::UseDBEntry ( ) const
inlinevirtual

Reimplemented from FlowMgmtKey.

Definition at line 187 of file flow_mgmt_key.h.

uint32_t RouteFlowMgmtKey::vrf_id ( ) const
inline

Definition at line 188 of file flow_mgmt_key.h.

Member Data Documentation

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: