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

#include <icmpv6_proto.h>

Inheritance diagram for Icmpv6VrfState:
Collaboration diagram for Icmpv6VrfState:

Public Types

typedef std::map< const
IpAddress,
Icmpv6PathPreferenceState * > 
Icmpv6PathPreferenceStateMap
 
typedef std::pair< const
IpAddress,
Icmpv6PathPreferenceState * > 
Icmpv6PathPreferenceStatePair
 

Public Member Functions

 Icmpv6VrfState (Agent *agent, Icmpv6Proto *proto, VrfEntry *vrf, AgentRouteTable *table, AgentRouteTable *evpn_table)
 
 ~Icmpv6VrfState ()
 
Agentagent () const
 
Icmpv6Protoicmp_proto () const
 
void set_route_table_listener_id (const DBTableBase::ListenerId &id)
 
void set_evpn_route_table_listener_id (const DBTableBase::ListenerId &id)
 
bool default_routes_added () const
 
void set_default_routes_added (bool value)
 
void RouteUpdate (DBTablePartBase *part, DBEntryBase *entry)
 
void EvpnRouteUpdate (DBTablePartBase *part, DBEntryBase *entry)
 
void ManagedDelete ()
 
void Delete ()
 
bool DeleteRouteState (DBTablePartBase *part, DBEntryBase *entry)
 
bool DeleteEvpnRouteState (DBTablePartBase *part, DBEntryBase *entry)
 
bool PreWalkDone (DBTableBase *partition)
 
bool deleted () const
 
Icmpv6PathPreferenceStateLocate (const IpAddress &ip)
 
void Erase (const IpAddress &ip)
 
Icmpv6PathPreferenceStateGet (const IpAddress ip)
 
bool l3_walk_completed () const
 
bool evpn_walk_completed () const
 
DBTable::DBTableWalkRef managed_delete_walk_ref ()
 
DBTable::DBTableWalkRef evpn_walk_ref ()
 
- Public Member Functions inherited from DBState
virtual ~DBState ()
 

Static Public Member Functions

static void WalkDone (DBTableBase *partition, Icmpv6VrfState *state)
 

Private Member Functions

 DISALLOW_COPY_AND_ASSIGN (Icmpv6VrfState)
 

Private Attributes

Agentagent_
 
Icmpv6Protoicmp_proto_
 
VrfEntryvrf_
 
AgentRouteTablert_table_
 
AgentRouteTableevpn_rt_table_
 
DBTableBase::ListenerId route_table_listener_id_
 
DBTableBase::ListenerId evpn_route_table_listener_id_
 
LifetimeRef< Icmpv6VrfStatetable_delete_ref_
 
LifetimeRef< Icmpv6VrfStateevpn_table_delete_ref_
 
bool deleted_
 
bool default_routes_added_
 
DBTable::DBTableWalkRef managed_delete_walk_ref_
 
DBTable::DBTableWalkRef evpn_walk_ref_
 
Icmpv6PathPreferenceStateMap icmpv6_path_preference_map_
 
bool l3_walk_completed_
 
bool evpn_walk_completed_
 

Detailed Description

Definition at line 183 of file icmpv6_proto.h.

Member Typedef Documentation

Constructor & Destructor Documentation

Icmpv6VrfState::Icmpv6VrfState ( Agent agent,
Icmpv6Proto proto,
VrfEntry vrf,
AgentRouteTable table,
AgentRouteTable evpn_table 
)

Definition at line 416 of file icmpv6_proto.cc.

Here is the call graph for this function:

Icmpv6VrfState::~Icmpv6VrfState ( )

Definition at line 436 of file icmpv6_proto.cc.

Member Function Documentation

Agent* Icmpv6VrfState::agent ( ) const
inline

Definition at line 193 of file icmpv6_proto.h.

bool Icmpv6VrfState::default_routes_added ( ) const
inline

Definition at line 201 of file icmpv6_proto.h.

void Icmpv6VrfState::Delete ( )

Definition at line 329 of file icmpv6_proto.cc.

Here is the call graph for this function:

bool Icmpv6VrfState::deleted ( ) const
inline

Definition at line 212 of file icmpv6_proto.h.

bool Icmpv6VrfState::DeleteEvpnRouteState ( DBTablePartBase part,
DBEntryBase entry 
)

Definition at line 323 of file icmpv6_proto.cc.

Here is the call graph for this function:

bool Icmpv6VrfState::DeleteRouteState ( DBTablePartBase part,
DBEntryBase entry 
)

Definition at line 318 of file icmpv6_proto.cc.

Here is the call graph for this function:

Icmpv6VrfState::DISALLOW_COPY_AND_ASSIGN ( Icmpv6VrfState  )
private
void Icmpv6VrfState::Erase ( const IpAddress ip)

Definition at line 412 of file icmpv6_proto.cc.

bool Icmpv6VrfState::evpn_walk_completed ( ) const
inline

Definition at line 224 of file icmpv6_proto.h.

DBTable::DBTableWalkRef Icmpv6VrfState::evpn_walk_ref ( )
inline

Definition at line 230 of file icmpv6_proto.h.

void Icmpv6VrfState::EvpnRouteUpdate ( DBTablePartBase part,
DBEntryBase entry 
)

Definition at line 291 of file icmpv6_proto.cc.

Here is the call graph for this function:

Icmpv6PathPreferenceState* Icmpv6VrfState::Get ( const IpAddress  ip)
inline

Definition at line 216 of file icmpv6_proto.h.

Icmpv6Proto* Icmpv6VrfState::icmp_proto ( ) const
inline

Definition at line 194 of file icmpv6_proto.h.

bool Icmpv6VrfState::l3_walk_completed ( ) const
inline

Definition at line 220 of file icmpv6_proto.h.

Icmpv6PathPreferenceState * Icmpv6VrfState::Locate ( const IpAddress ip)

Definition at line 368 of file icmpv6_proto.cc.

Here is the call graph for this function:

DBTable::DBTableWalkRef Icmpv6VrfState::managed_delete_walk_ref ( )
inline

Definition at line 227 of file icmpv6_proto.h.

void Icmpv6VrfState::ManagedDelete ( )
inline

Definition at line 206 of file icmpv6_proto.h.

bool Icmpv6VrfState::PreWalkDone ( DBTableBase partition)

Definition at line 339 of file icmpv6_proto.cc.

Here is the call graph for this function:

void Icmpv6VrfState::RouteUpdate ( DBTablePartBase part,
DBEntryBase entry 
)

Definition at line 235 of file icmpv6_proto.cc.

Here is the call graph for this function:

void Icmpv6VrfState::set_default_routes_added ( bool  value)
inline

Definition at line 202 of file icmpv6_proto.h.

void Icmpv6VrfState::set_evpn_route_table_listener_id ( const DBTableBase::ListenerId id)
inline

Definition at line 198 of file icmpv6_proto.h.

void Icmpv6VrfState::set_route_table_listener_id ( const DBTableBase::ListenerId id)
inline

Definition at line 195 of file icmpv6_proto.h.

void Icmpv6VrfState::WalkDone ( DBTableBase partition,
Icmpv6VrfState state 
)
static

Definition at line 352 of file icmpv6_proto.cc.

Here is the call graph for this function:

Member Data Documentation

Agent* Icmpv6VrfState::agent_
private

Definition at line 235 of file icmpv6_proto.h.

bool Icmpv6VrfState::default_routes_added_
private

Definition at line 245 of file icmpv6_proto.h.

bool Icmpv6VrfState::deleted_
private

Definition at line 244 of file icmpv6_proto.h.

DBTableBase::ListenerId Icmpv6VrfState::evpn_route_table_listener_id_
private

Definition at line 241 of file icmpv6_proto.h.

AgentRouteTable* Icmpv6VrfState::evpn_rt_table_
private

Definition at line 239 of file icmpv6_proto.h.

LifetimeRef<Icmpv6VrfState> Icmpv6VrfState::evpn_table_delete_ref_
private

Definition at line 243 of file icmpv6_proto.h.

bool Icmpv6VrfState::evpn_walk_completed_
private

Definition at line 250 of file icmpv6_proto.h.

DBTable::DBTableWalkRef Icmpv6VrfState::evpn_walk_ref_
private

Definition at line 247 of file icmpv6_proto.h.

Icmpv6Proto* Icmpv6VrfState::icmp_proto_
private

Definition at line 236 of file icmpv6_proto.h.

Icmpv6PathPreferenceStateMap Icmpv6VrfState::icmpv6_path_preference_map_
private

Definition at line 248 of file icmpv6_proto.h.

bool Icmpv6VrfState::l3_walk_completed_
private

Definition at line 249 of file icmpv6_proto.h.

DBTable::DBTableWalkRef Icmpv6VrfState::managed_delete_walk_ref_
private

Definition at line 246 of file icmpv6_proto.h.

DBTableBase::ListenerId Icmpv6VrfState::route_table_listener_id_
private

Definition at line 240 of file icmpv6_proto.h.

AgentRouteTable* Icmpv6VrfState::rt_table_
private

Definition at line 238 of file icmpv6_proto.h.

LifetimeRef<Icmpv6VrfState> Icmpv6VrfState::table_delete_ref_
private

Definition at line 242 of file icmpv6_proto.h.

VrfEntry* Icmpv6VrfState::vrf_
private

Definition at line 237 of file icmpv6_proto.h.


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