Skip to content

Commit

Permalink
Merge "Further progress on evpn type 5 route support"
Browse files Browse the repository at this point in the history
  • Loading branch information
Zuul authored and opencontrail-ci-admin committed Nov 10, 2016
2 parents dce1698 + 1d52154 commit d91676f
Show file tree
Hide file tree
Showing 6 changed files with 1,027 additions and 297 deletions.
4 changes: 4 additions & 0 deletions src/bgp/bgp_route.cc
Expand Up @@ -12,6 +12,7 @@
#include "bgp/extended-community/esi_label.h"
#include "bgp/extended-community/load_balance.h"
#include "bgp/extended-community/mac_mobility.h"
#include "bgp/extended-community/router_mac.h"
#include "bgp/extended-community/site_of_origin.h"
#include "bgp/origin-vn/origin_vn.h"
#include "bgp/routing-instance/routepath_replicator.h"
Expand Down Expand Up @@ -356,6 +357,9 @@ static void FillRoutePathExtCommunityInfo(const BgpTable *table,
MacMobility mm(*it);
communities.push_back(mm.ToString());
show_path->set_sequence_no(mm.ToString());
} else if (ExtCommunity::is_router_mac(*it)) {
RouterMac router_mac(*it);
communities.push_back(router_mac.ToString());
} else if (ExtCommunity::is_origin_vn(*it)) {
OriginVn origin_vn(*it);
communities.push_back(origin_vn.ToString());
Expand Down

0 comments on commit d91676f

Please sign in to comment.