Skip to content

Commit

Permalink
Add instance name to bgp neighbor introspect output
Browse files Browse the repository at this point in the history
Change-Id: I71127171e7d7920bc8d36f90037d0da52bf7590d
Closes-Bug: 1518047
  • Loading branch information
Nischal Sheth committed Jan 12, 2016
1 parent 4dc2efb commit 885b5e5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/bgp/bgp_peer.cc
Expand Up @@ -1698,6 +1698,7 @@ void BgpPeer::FillBgpNeighborFamilyAttributes(BgpNeighborResp *nbr) const {

void BgpPeer::FillNeighborInfo(const BgpSandeshContext *bsc,
BgpNeighborResp *bnr, bool summary) const {
bnr->set_instance_name(rtinstance_->name());
bnr->set_peer(peer_basename_);
bnr->set_deleted(IsDeleted());
bnr->set_deleted_at(UTCUsecToString(deleter_->delete_time_stamp_usecs()));
Expand Down
1 change: 1 addition & 0 deletions src/bgp/bgp_peer.sandesh
Expand Up @@ -42,6 +42,7 @@ struct ShowBgpNeighborFamily {
}

struct BgpNeighborResp {
53: string instance_name;
1: string peer (link="BgpNeighborReq"); // Peer name
36: bool deleted; // Deletion in progress
43: string deleted_at;
Expand Down

0 comments on commit 885b5e5

Please sign in to comment.