Comment 10 for bug 1518047

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/15506
Committed: http://github.org/Juniper/contrail-controller/commit/53ef8480980ff24f90b337b1498313d8f95d9842
Submitter: Zuul
Branch: master

commit 53ef8480980ff24f90b337b1498313d8f95d9842
Author: Nischal Sheth <email address hidden>
Date: Wed Nov 25 09:34:07 2015 -0800

Maintain endpoint to BgpPeer map in BgpServer

This map is used to lookup a BGPaaS BgpPeer from the source address and
source port of an incoming TCP session. If an exact match is not found,
the source address is used to find matching BgpPeer in master instance.

Highlights:

- Move relevant schema snippet from vnc_cfg.xsd to bgp_schema.xsd
- Add a remote_endpoint field to BgpNeighborConfig
- Populate new field from bgp-as-a-service_parameters property of client
- Update ifmap configuration code to use the router-type instead of name
- Set and update router_type and remote_endpoint fields in BgpPeer
- Resolve paths learnt from BgpPeers of router_type bgpaas-client
- Tweak introspect to show BgpPeers from non-master instances as well
- Add new tests to bgp_ifmap_config_manager_test and bgp_config_test

Change-Id: I93aeeba0d48942a463b772f9503932b50a640764
Partial-Bug: 1518047