OpenSDN source code
|
#include <bridge_route.h>
Public Member Functions | |
BridgeRouteEntry (VrfEntry *vrf, const MacAddress &mac, Peer::Type type, bool is_multicast) | |
virtual | ~BridgeRouteEntry () |
virtual int | CompareTo (const Route &rhs) const |
virtual std::string | ToString () const |
virtual void | UpdateDependantRoutes () |
virtual void | UpdateNH () |
virtual KeyPtr | GetDBRequestKey () const |
virtual void | SetKey (const DBRequestKey *key) |
virtual const std::string | GetAddressString () const |
virtual const std::string | GetSourceAddressString () const |
virtual Agent::RouteTableType | GetTableType () const |
virtual bool | DBEntrySandesh (Sandesh *sresp, bool stale) const |
virtual uint32_t | GetActiveLabel () const |
virtual bool | ReComputePathDeletion (AgentPath *path) |
virtual bool | ReComputePathAdd (AgentPath *path) |
virtual AgentPath * | FindPathUsingKeyData (const AgentRouteKey *key, const AgentRouteData *data) const |
virtual bool | ValidateMcastSrc () const |
uint8_t | prefix_length () const |
The length of L3 IP prefix (if present) associated with this L2 address. More... | |
const MacVmBindingPath * | FindMacVmBindingPath () const |
![]() | |
AgentRoute (VrfEntry *vrf, bool is_multicast, const std::string &intf_route_type="interface") | |
virtual | ~AgentRoute () |
virtual bool | IsLess (const DBEntry &rhs) const |
virtual AgentPath * | FindPath (const Peer *peer) const |
virtual bool | RecomputeRoutePath (Agent *agent, DBTablePartition *part, AgentPath *path, AgentRouteData *data) |
virtual void | UpdateDerivedRoutes (AgentRouteTable *table, const AgentPath *path, bool active_path_changed) |
virtual void | DeleteDerivedRoutes (AgentRouteTable *table) |
bool | is_multicast () const |
VrfEntry * | vrf () const |
uint32_t | vrf_id () const |
const std::string & | intf_route_type () const |
void | set_intf_route_type (const std::string &intf_route_type) |
AgentPath * | FindLocalPath () const |
AgentPath * | FindLocalVmPortPath () const |
const AgentPath * | FindIntfOrCompLocalVmPortPath () const |
Finds path to an interface or a composite of interfaces and returns it. The priority is given to composite: if both an interface and a composite are present, then the composite path is returned. More... | |
AgentPath * | GetLocalVmPortPath () const |
const AgentPath * | GetActivePath () const |
const NextHop * | GetActiveNextHop () const |
const std::string & | dest_vn_name () const |
bool | IsRPFInvalid () const |
void | EnqueueRouteResync () const |
void | ResyncTunnelNextHop () |
bool | HasUnresolvedPath () |
bool | Sync (void) |
void | UpdateDependantRoutes () |
bool | IsDependantRouteEmpty () |
bool | IsTunnelNHListEmpty () |
void | FillTrace (RouteInfo &route, Trace event, const AgentPath *path) const |
bool | WaitForTraffic () const |
bool | DeleteAllBgpPath (DBTablePartBase *part, AgentRouteTable *table) |
void | DeletePathFromPeer (DBTablePartBase *part, AgentRouteTable *table, AgentPath *path) |
bool | SubOpResyncInput (VrfEntry *vrf, AgentRouteTable *table, AgentPath **path_ptr, AgentRouteKey *key, AgentRouteData *data) |
bool | SubOpAddChangeInput (VrfEntry *vrf, AgentRouteTable *table, AgentPath **path_ptr, AgentRouteKey *key, AgentRouteData *data, bool route_added) |
void | DeleteInput (DBTablePartition *part, AgentRouteTable *table, AgentRouteKey *key, AgentRouteData *data) |
void | AddUnresolvedRouteToTable (AgentRouteTable *table) |
void | RemoveUnresolvedRouteFromTable (AgentRouteTable *table) |
![]() | |
Route () | |
virtual | ~Route () |
bool | operator< (const Route &rhs) const |
const Path * | front () const |
void | insert (const Path *path) |
void | remove (const Path *path) |
void | Sort (Compare compare, const Path *prev_front) |
const PathList & | GetPathList () const |
PathList & | GetPathList () |
![]() | |
DBEntry () | |
virtual | ~DBEntry () |
bool | operator< (const DBEntry &rhs) const |
![]() | |
DBEntryBase () | |
virtual | ~DBEntryBase () |
virtual bool | IsMoreSpecific (const std::string &match) const |
virtual bool | IsLessSpecific (const std::string &match) const |
void | SetState (DBTableBase *tbl_base, ListenerId listener, DBState *state) |
void | ClearState (DBTableBase *tbl_base, ListenerId listener) |
DBState * | GetState (DBTableBase *tbl_base, ListenerId listener) const |
const DBState * | GetState (const DBTableBase *tbl_base, ListenerId listener) const |
bool | is_state_empty (DBTablePartBase *tpart) |
bool | is_state_empty_unlocked (DBTablePartBase *tpart) |
void | Delete () |
void | MarkDelete () |
void | ClearDelete () |
bool | IsDeleted () const |
void | set_onlist () |
void | clear_onlist () |
bool | is_onlist () |
void | SetOnRemoveQ () |
bool | IsOnRemoveQ () |
void | ClearOnRemoveQ () |
void | set_last_change_at (uint64_t time) |
void | set_last_change_at_to_now () |
const uint64_t | last_change_at () const |
const std::string | last_change_at_str () const |
void | set_last_update_at (uint64_t time) |
void | set_last_update_at_to_now () |
const uint64_t | last_update_at () const |
DBTablePartBase * | get_table_partition () const |
void | set_table_partition (DBTablePartBase *tpart) |
DBTableBase * | get_table () const |
void | Notify () |
![]() | |
AgentRoutePrefix (const MacAddress &new_prefix, uint8_t new_plen) | |
Creates a new route prefix. More... | |
~AgentRoutePrefix () | |
The destructor of a route prefix. More... | |
virtual const MacAddress & | prefix_address () const |
Returns the value of a stored prefix address (IPv4, IPv6 or MAC address) More... | |
void | set_prefix_length (uint8_t new_plen) |
Sets the length of a stored prefix address. More... | |
Private Member Functions | |
AgentPath * | FindEvpnPathUsingKeyData (const AgentRouteKey *key, const AgentRouteData *data) const |
AgentPath * | FindMulticastPathUsingKeyData (const AgentRouteKey *key, const AgentRouteData *data) const |
DISALLOW_COPY_AND_ASSIGN (BridgeRouteEntry) | |
Additional Inherited Members | |
![]() | |
enum | Trace { ADD, DEL, ADD_PATH, DELETE_PATH, CHANGE_PATH, STALE_PATH } |
typedef DependencyList < AgentRoute, AgentRoute > | RouteDependencyList |
typedef DependencyList < NextHop, AgentRoute > | TunnelNhDependencyList |
![]() | |
typedef boost::intrusive::member_hook < Path, boost::intrusive::list_member_hook <>,&Path::node_ > | PathListMember |
typedef boost::intrusive::list < Path, PathListMember > | PathList |
typedef bool(* | Compare )(const Path &path1, const Path &path2) |
![]() | |
typedef DBTableBase::ListenerId | ListenerId |
typedef std::unique_ptr < DBRequestKey > | KeyPtr |
![]() | |
boost::intrusive::list_member_hook | chg_list_ |
![]() | |
void | SetVrf (VrfEntry *vrf) |
void | RemovePath (AgentPath *path) |
void | InsertPath (const AgentPath *path) |
virtual void | HandleMulticastLabel (const Agent *agent, AgentPath *path, const AgentPath *local_peer_path, const AgentPath *local_vm_peer_path, bool del, uint32_t *evpn_label) |
virtual bool | ReComputeMulticastPaths (AgentPath *path, bool del) |
virtual void | HandleDeviceMastershipUpdate (AgentPath *path, bool del) |
virtual Composite::Type | GetMulticastCompType () |
const AgentRouteTable * | GetDependentRouteTable (void) const |
![]() | |
MacAddress | prefix_address_ |
The prefix address. More... | |
uint8_t | prefix_length_ |
The prefix length. More... | |
Definition at line 99 of file bridge_route.h.
|
inline |
Definition at line 102 of file bridge_route.h.
|
inlinevirtual |
Definition at line 106 of file bridge_route.h.
|
virtual |
Implements AgentRoute.
Definition at line 326 of file bridge_route.cc.
|
virtual |
Implements AgentRoute.
Definition at line 481 of file bridge_route.cc.
|
private |
|
private |
const MacVmBindingPath * BridgeRouteEntry::FindMacVmBindingPath | ( | ) | const |
|
private |
|
virtual |
Reimplemented from AgentRoute.
Definition at line 362 of file bridge_route.cc.
|
virtual |
Reimplemented from AgentRoute.
Definition at line 345 of file bridge_route.cc.
|
virtual |
Implements AgentRoute.
Definition at line 307 of file bridge_route.cc.
|
virtual |
Implements AgentRoute.
Definition at line 332 of file bridge_route.cc.
|
virtual |
Implements AgentRoute.
Definition at line 315 of file bridge_route.cc.
|
inlinevirtual |
Implements AgentRoute.
Definition at line 116 of file bridge_route.h.
|
inlinevirtual |
The length of L3 IP prefix (if present) associated with this L2 address.
!
Reimplemented from AgentRoute.
Definition at line 130 of file bridge_route.h.
|
virtual |
Reimplemented from AgentRoute.
Definition at line 441 of file bridge_route.cc.
|
virtual |
Reimplemented from AgentRoute.
Definition at line 449 of file bridge_route.cc.
|
virtual |
Implements AgentRoute.
Definition at line 339 of file bridge_route.cc.
|
virtual |
Implements AgentRoute.
Definition at line 322 of file bridge_route.cc.
|
inlinevirtual |
Definition at line 110 of file bridge_route.h.
|
inlinevirtual |
Definition at line 111 of file bridge_route.h.
|
inlinevirtual |
Reimplemented from AgentRoute.
Definition at line 125 of file bridge_route.h.