OpenSDN source code
|
#include <agent_route.h>
Public Types | |
enum | Type { ADD_DEL_CHANGE, ROUTE_PREFERENCE_CHANGE, IPAM_SUBNET } |
Public Member Functions | |
AgentRouteData (Type type, bool is_multicast, uint64_t sequence_number) | |
virtual | ~AgentRouteData () |
virtual std::string | ToString () const =0 |
virtual AgentPath * | CreateAgentPath (const Peer *peer, AgentRoute *rt) const |
virtual bool | AddChangePathExtended (Agent *agent, AgentPath *path, const AgentRoute *rt)=0 |
virtual bool | CanDeletePath (Agent *agent, AgentPath *path, const AgentRoute *rt) const |
virtual bool | UpdateRoute (AgentRoute *rt) |
bool | AddChangePath (Agent *agent, AgentPath *path, const AgentRoute *rt) |
bool | is_multicast () const |
uint64_t | sequence_number () const |
DISALLOW_COPY_AND_ASSIGN (AgentRouteData) | |
![]() | |
AgentData () | |
virtual | ~AgentData () |
![]() | |
virtual | ~DBRequestData () |
Public Attributes | |
Type | type_ |
bool | is_multicast_ |
uint64_t | sequence_number_ |
Definition at line 55 of file agent_route.h.
enum AgentRouteData::Type |
Enumerator | |
---|---|
ADD_DEL_CHANGE | |
ROUTE_PREFERENCE_CHANGE | |
IPAM_SUBNET |
Definition at line 56 of file agent_route.h.
|
inline |
Definition at line 61 of file agent_route.h.
|
inlinevirtual |
Definition at line 64 of file agent_route.h.
bool AgentRouteData::AddChangePath | ( | Agent * | agent, |
AgentPath * | path, | ||
const AgentRoute * | rt | ||
) |
|
pure virtual |
Implemented in EvpnRoutingData, InetEvpnRouteData, MacVmBindingPathData, Inet4UnicastInterfaceRoute, DropRoute, Inet4UnicastGatewayRoute, InetUnicastNdpRoute, Inet4UnicastArpRoute, ReceiveRoute, IpamSubnetRoute, MulticastRoute, VlanNhRoute, L2ReceiveRoute, HostRoute, InetInterfaceRoute, PBBRoute, LocalVmRoute, ResolveRoute, EvpnDerivedPathData, StalePathData, ClonedLocalPath, ControllerEcmpRoute, PathPreferenceData, ControllerMplsRoute, ControllerVmRoute, OvsdbRouteResyncData, and OvsdbRouteData.
|
inlinevirtual |
Reimplemented in EvpnRoutingData, InetEvpnRouteData, MulticastRoute, EvpnDerivedPathData, and StalePathData.
Definition at line 70 of file agent_route.h.
|
virtual |
Reimplemented in EvpnRoutingData, InetEvpnRouteData, MacVmBindingPathData, MulticastRoute, and EvpnDerivedPathData.
Definition at line 994 of file agent_route.cc.
AgentRouteData::DISALLOW_COPY_AND_ASSIGN | ( | AgentRouteData | ) |
|
inline |
Definition at line 77 of file agent_route.h.
|
inline |
Definition at line 78 of file agent_route.h.
|
pure virtual |
Implemented in EvpnRoutingData, InetEvpnRouteData, MacVmBindingPathData, Inet4UnicastInterfaceRoute, DropRoute, Inet4UnicastGatewayRoute, InetUnicastNdpRoute, Inet4UnicastArpRoute, ReceiveRoute, IpamSubnetRoute, MulticastRoute, VlanNhRoute, L2ReceiveRoute, HostRoute, InetInterfaceRoute, PBBRoute, LocalVmRoute, ResolveRoute, EvpnDerivedPathData, StalePathData, ClonedLocalPath, ControllerEcmpRoute, PathPreferenceData, ControllerMplsRoute, ControllerVmRoute, OvsdbRouteResyncData, and OvsdbRouteData.
|
inlinevirtual |
Reimplemented in EvpnRoutingData, ReceiveRoute, IpamSubnetRoute, L2ReceiveRoute, HostRoute, InetInterfaceRoute, LocalVmRoute, ControllerVmRoute, and ControllerPeerPath.
Definition at line 74 of file agent_route.h.
bool AgentRouteData::is_multicast_ |
Definition at line 81 of file agent_route.h.
uint64_t AgentRouteData::sequence_number_ |
Definition at line 82 of file agent_route.h.
Type AgentRouteData::type_ |
Definition at line 80 of file agent_route.h.