Skip to content

Commit

Permalink
Merge "* Add PBB NH mac as a seperate field."
Browse files Browse the repository at this point in the history
  • Loading branch information
Zuul authored and opencontrail-ci-admin committed Mar 5, 2017
2 parents ad29908 + 85760f0 commit a243d83
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/vnsw/agent/oper/agent.sandesh
Original file line number Diff line number Diff line change
Expand Up @@ -584,6 +584,8 @@ struct NhSandeshData {
28: bool etree_leaf;
/** Layer 2 control word */
29: bool layer2_control_word;
/** PBB B-MAC for PBB NH */
30: optional string pbb_bmac;
}

/**
Expand Down
2 changes: 1 addition & 1 deletion src/vnsw/agent/oper/nexthop.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2777,7 +2777,7 @@ void NextHop::SetNHSandeshData(NhSandeshData &data) const {
case PBB: {
data.set_type("PBB Tunnel");
const PBBNH *pbb_nh = static_cast<const PBBNH *>(this);
data.set_mac(pbb_nh->dest_bmac().ToString());
data.set_pbb_bmac(pbb_nh->dest_bmac().ToString());
data.set_vrf(pbb_nh->vrf()->GetName());
data.set_isid(pbb_nh->isid());
std::vector<McastData> data_list;
Expand Down

0 comments on commit a243d83

Please sign in to comment.