Use configured BGP port number in BGPaaS

Bug #1751394 reported by Ananth Suryanarayana
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R5.0
Fix Committed
Undecided
sangarshan p
Trunk
Fix Committed
Undecided
sangarshan p

Bug Description

In agent/vrouter, when BGPaaS sessions are NATed to control-node, destination port should not be hard coded to 179. Instead, it should be set to what ever is configured as it is already part of the BgpRouter object that agent apparently already reads.

If we already do get the port number from config, then please close this bug.

Tags: vrouter
Changed in juniperopenstack:
assignee: Hari Prasad Killi (haripk) → sangarshan p (sangarshp)
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/40631
Submitter: sangarshan p (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/41103
Submitter: sangarshan p (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/40631
Submitter: sangarshan p (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/40631
Committed: http://github.com/Juniper/contrail-controller/commit/e5d8a5a421213908e023ef50d9dc03f1f9de5331
Submitter: Zuul v3 CI (<email address hidden>)
Branch: master

commit e5d8a5a421213908e023ef50d9dc03f1f9de5331
Author: sangarshp <email address hidden>
Date: Wed Mar 21 11:51:06 2018 +0530

Use BGP port number in BGP router config

made changes to use bgp port number in BGP router configuration, this
port number is sused as dest port for nat flow towards control node.

Change-Id: Ib48d8cdda26d0a99fd9e88a5d79859fd2660f5a6
Closes-Bug: #1751394

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

Review in progress for https://review.opencontrail.org/41597
Submitter: sangarshan p (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/41597
Committed: http://github.com/Juniper/contrail-controller/commit/c0b7f8ba01c116d8f13807c439a977df7c8db564
Submitter: Zuul v3 CI (<email address hidden>)
Branch: master

commit c0b7f8ba01c116d8f13807c439a977df7c8db564
Author: sangarshp <email address hidden>
Date: Mon Apr 9 18:20:14 2018 +0530

set bgp router dest port to default value 179

made changes to set bgp router dest port to 179 if dest port is 0 in
config.

Change-Id: I75a14058ce7cb7b000d91762de447dfa1d3434ba
Closes-Bug: #1751394

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

Review in progress for https://review.opencontrail.org/41647
Submitter: Hari Prasad Killi (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/41647
Committed: http://github.com/Juniper/contrail-controller/commit/699edabe6034b4a0971647c8770f6ff609f1f77d
Submitter: Zuul v3 CI (<email address hidden>)
Branch: R5.0

commit 699edabe6034b4a0971647c8770f6ff609f1f77d
Author: sangarshp <email address hidden>
Date: Mon Apr 9 18:20:14 2018 +0530

set bgp router dest port to default value 179

made changes to set bgp router dest port to 179 if dest port is 0 in
config.

Change-Id: I75a14058ce7cb7b000d91762de447dfa1d3434ba
Closes-Bug: #1751394
(cherry picked from commit c0b7f8ba01c116d8f13807c439a977df7c8db564)

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.