Extend introspect for config peering/neighbors to all instances
Since BGPaaS configures peerings and neighbors in non-master instances,
extend introspect for config peerings and neighbors to show objects in
all instances.
Highlights:
- Fix syntax error in ShowBgpNeighborFamily sandesh definition
- Move code for neighbors to bgp_show_config.cc
- Move code for peerings to bgp_show_ifmap_peering_config.cc
- Add level of indirection to avoid linking issues for peering show
command. This is needed because YAML config does not have notion of
peering.
- Paginate output for peerings and neighbors while we're at it
- Tweak tests so that they pass with the new code
Reviewed: https:/ /review. opencontrail. org/15370 github. org/Juniper/ contrail- controller/ commit/ 355b88abae1cc27 f2f4c247ea92917 7b790464d6
Committed: http://
Submitter: Zuul
Branch: master
commit 355b88abae1cc27 f2f4c247ea92917 7b790464d6
Author: Nischal Sheth <email address hidden>
Date: Fri Nov 20 18:37:12 2015 -0800
Extend introspect for config peering/neighbors to all instances
Since BGPaaS configures peerings and neighbors in non-master instances,
extend introspect for config peerings and neighbors to show objects in
all instances.
Highlights:
- Fix syntax error in ShowBgpNeighbor Family sandesh definition ifmap_peering_ config. cc
- Move code for neighbors to bgp_show_config.cc
- Move code for peerings to bgp_show_
- Add level of indirection to avoid linking issues for peering show
command. This is needed because YAML config does not have notion of
peering.
- Paginate output for peerings and neighbors while we're at it
- Tweak tests so that they pass with the new code
Change-Id: Ic5dc47a7684e80 ac693aea1e2660a bff783ce681
Partial-Bug: 1518047