Support per address-family configuration for bgp peer

Bug #1513278 reported by Nischal Sheth
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
Trunk
Fix Committed
Wishlist
Nischal Sheth

Bug Description

There's a need to configure attributes per peer per address-family.
Examples include a loop-count and a received prefix-limit.

This configuration is analogous to per neighbor per family stanza in
JUNOS.

Nischal Sheth (nsheth)
description: updated
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/14880
Submitter: Nischal Sheth (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/14880
Committed: http://github.org/Juniper/contrail-controller/commit/86ce168dd2d66c3b9106180facc3a29912e4970f
Submitter: Zuul
Branch: master

commit 86ce168dd2d66c3b9106180facc3a29912e4970f
Author: Nischal Sheth <email address hidden>
Date: Wed Nov 4 17:16:58 2015 -0800

Add per address-family configuration for bgp session

Highlights:

- Add BgpFamilyAttributes type and use it in BgpSessionAttributes
- Clean up indentation and remove unnecessary usage of xsd:sequence

Change-Id: I21f218c768b3143166a4bc19d76e03acbc44d4b4
Partial-Bug: 1513278

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/14986
Submitter: Nischal Sheth (<email address hidden>)

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

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

commit d43ba9df5d8a96a321f9b1450a64764630aede96
Author: Nischal Sheth <email address hidden>
Date: Fri Nov 6 16:25:51 2015 -0800

Update BgpPeer to support per address-family configuration

Highlights:

- BgpFamilyAttributesConfig contains configuration for an address family
- Add vector of BgpFamilyAttributesConfig elements to BgpNeighborConfig
- Tweak IFMap and YAML code to build list of BgpFamilyAttributesConfig
- BgpPeerFamilyAttributes represents an address family in a BgpPeer
- Add a vector of pointers to BgpPeerFamilyAttributes in a BgpPeer
- Adjust code and unit tests to use new data structures

Pending:

- Implementation of back end code for loop_count and prefix_limit knobs

Change-Id: I6bce2a913677582e32c4f1ebee8d55f904850817
Partial-Bug: 1513278

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/15166
Submitter: Nischal Sheth (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/15166
Committed: http://github.org/Juniper/contrail-controller/commit/42d755103fd07336f6e9cb32504fb577fd261452
Submitter: Zuul
Branch: master

commit 42d755103fd07336f6e9cb32504fb577fd261452
Author: Nischal Sheth <email address hidden>
Date: Thu Nov 12 14:21:33 2015 -0800

Add loops functionality for bgp peer

Highlights:

- A loop_count can be configured for peer or peer address family
- Value configured under peer address family overrides per peer value
- Default value of loop_count is 0
- Paths with upto loop count occurrences of asn are accepted by peer
- Include address family attributes in introspect output
- Add unit tests to cover new functionality

Change-Id: I8e558473a2c467a1bb0fb42ea299919167f11560
Partial-Bug: 1513278

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/15494
Submitter: Nischal Sheth (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/15494
Committed: http://github.org/Juniper/contrail-controller/commit/5cd321c8c7d51c8d8070789e71f6ac452da45d07
Submitter: Zuul
Branch: master

commit 5cd321c8c7d51c8d8070789e71f6ac452da45d07
Author: Nischal Sheth <email address hidden>
Date: Mon Nov 30 09:24:28 2015 -0800

Update BgpAsPathLoopCount range to 0-16

Change-Id: I36d269a2069f68d729eb84965d7ae9d271aea13d
Partial-Bug: 1513278

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/15633
Submitter: Nischal Sheth (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/15633
Committed: http://github.org/Juniper/contrail-controller/commit/496a9f819dc1353018b85822b60d1ce5936dcff6
Submitter: Zuul
Branch: master

commit 496a9f819dc1353018b85822b60d1ce5936dcff6
Author: Nischal Sheth <email address hidden>
Date: Sat Dec 5 19:08:55 2015 -0800

Fix compilation error on ubuntu14

Change-Id: I93828c7ee59fe1d08a2896a952eccf9f1390f492
Partial-Bug: 1513278

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.