Allow configuration of user defined topologies for control-nodes

Bug #1379558 reported by Nischal Sheth
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Juniper Openstack
Fix Released
Critical
Sachin Bansal

Bug Description

Schema transformer automatically creates and maintains a full mesh of
bgp-peerings between all bgp-router objects that are in the same AS.
This includes taking care of cases where global AS number is changed
or a bgp-router object's AS number is changed.

This behavior is not desirable in cases where control-nodes peer with
route reflectors.

Proposal is to add a configuration knob in the global system config to
control this behavior. Default behavior will be to not mesh bgp-routers
automatically.

If the new knob is configured, schema transformer will implement the
current behavior. We will add fab support to set the new configuration
knob. Provisioning scripts provision_mx and provision_control will be
modified to honor the knob as well.

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

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

commit 0931e416973e9762ab47de8e9f04bdbc51c28869
Author: Sachin Bansal <email address hidden>
Date: Thu Oct 9 16:18:11 2014 -0700

Adding a knob to create iBGP mesh automatically.

Set the knob during provisioning.

Partial-Bug: 1379558

Change-Id: I3c62cdfc22741d9831e820e7166ac06b7a8b5054

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

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

commit 2dc2ec7697d73b384c93e07af3213cb537671d88
Author: Sachin Bansal <email address hidden>
Date: Fri Oct 10 18:39:16 2014 -0700

Add support for ibgp-auto-mesh in schema transformer

Change-Id: Ic27d3f14c4a0666c893afa9801975c2daeed8ca1
Closes-Bug: 1379558

Sachin Bansal (sbansal)
Changed in opencontrail:
status: New → Fix Committed
Revision history for this message
Francois Eleouet (fanchon) wrote :

From what I understand, API clients such as webui and/or are already auto-meshing controllers, with all supported address families:

https://github.com/Juniper/contrail-controller/blob/master/src/config/utils/provision_bgp.py#L46

Shoudln't schema transformer configure all these AF too? Or never auto-mesh controllers at all, as API clients are already taking care of that:

https://github.com/Juniper/contrail-controller/blob/master/src/config/schema-transformer/to_bgp.py#L1962

Revision history for this message
Sachin Bansal (sbansal) wrote :

Francois,

Thanks for pointing it. We will fix it.

Sachin

Changed in juniperopenstack:
status: New → Fix Committed
importance: Undecided → Critical
assignee: nobody → Sachin Bansal (sbansal)
no longer affects: opencontrail
Nischal Sheth (nsheth)
Changed in juniperopenstack:
milestone: none → r2.0-fcs
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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