OpenSDN source code
|
#include <ecmp.h>
Public Member Functions | |
EcmpData (Agent *agent, const string &vrf_name, const string &route_str, AgentPath *path, bool del) | |
virtual | ~EcmpData () |
bool | Update (AgentRoute *rt) |
bool | UpdateWithParams (const SecurityGroupList &sg_list, const TagList &tag_list, const CommunityList &community_list, const PathPreference &path_preference, const TunnelType::TypeBmap bmap, const EcmpLoadBalance &ecmp_load_balance, const VnListType &vn_list, DBRequest &nh_req) |
Static Public Member Functions | |
static const NextHop * | GetLocalNextHop (const AgentRoute *rt) |
Private Member Functions | |
bool | LocalVmPortPeerEcmp (AgentRoute *rt) |
bool | BgpPeerEcmp () |
bool | EcmpAddPath (AgentRoute *rt) |
bool | EcmpDeletePath (AgentRoute *rt) |
bool | ModifyEcmpPath (CompositeNHKey *composite_nh_key=NULL) |
bool | UpdateNh (CompositeNHKey *composite_nh_key=NULL) |
bool | SyncParams () |
void | AllocateEcmpPath (AgentRoute *rt, const AgentPath *path2) |
bool | UpdateComponentNH (AgentRoute *rt, AgentPath *path) |
void | AppendEcmpPath (AgentRoute *rt, AgentPath *path) |
void | DeleteComponentNH (AgentRoute *rt, AgentPath *path) |
DISALLOW_COPY_AND_ASSIGN (EcmpData) | |
Private Attributes | |
AgentPath * | path_ |
AgentPath * | ecmp_path_ |
bool | delete_ |
bool | alloc_label_ |
uint32_t | label_ |
std::string | vrf_name_ |
std::string | route_str_ |
VnListType | vn_list_ |
SecurityGroupList | sg_list_ |
TagList | tag_list_ |
CommunityList | community_list_ |
PathPreference | path_preference_ |
TunnelType::TypeBmap | tunnel_bmap_ |
EcmpLoadBalance | ecmp_load_balance_ |
DBRequest | nh_req_ |
Agent * | agent_ |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
static |
|
private |
|
private |
|
private |
bool EcmpData::Update | ( | AgentRoute * | rt | ) |
|
private |
|
private |
bool EcmpData::UpdateWithParams | ( | const SecurityGroupList & | sg_list, |
const TagList & | tag_list, | ||
const CommunityList & | community_list, | ||
const PathPreference & | path_preference, | ||
const TunnelType::TypeBmap | bmap, | ||
const EcmpLoadBalance & | ecmp_load_balance, | ||
const VnListType & | vn_list, | ||
DBRequest & | nh_req | ||
) |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |