DM: Remove irb interface from RI when switching from l2_l3 mode to l3 mode

Bug #1517600 reported by amit surana
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R2.20
Fix Committed
High
Suresh Balineni
R3.0
Fix Committed
High
Suresh Balineni
Trunk
Fix Committed
High
Suresh Balineni

Bug Description

When the VN forwarding mode is L2_L3, DM configures an IRB interface and drops it in the L3 VRF. Now, if the forwarding mode of the VN is changed to L3, the IRB interface itself is deleted, but the reference to this interface inside the L3 VRF is still present.

amit surana (asurana-t)
description: updated
summary: - DM: Remove irb interface from RI when switching from l2_l3 mode to l2/l3
+ DM: Remove irb interface from RI when switching from l2_l3 mode to l3
mode
Revision history for this message
amit surana (asurana-t) wrote :

Another side affect of switching the mode back and forth is the leaking the IRB IPs. The IRB interface reference and its IP should be freed when mode switch happens to l2 or l3 from l2_l3.

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

Review in progress for https://review.opencontrail.org/15710
Submitter: Suresh Balineni (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/15710
Committed: http://github.org/Juniper/contrail-controller/commit/e4ace46022c1b562296d02e041757c23eca2f076
Submitter: Zuul
Branch: R2.20

commit e4ace46022c1b562296d02e041757c23eca2f076
Author: sbalineni <email address hidden>
Date: Wed Dec 9 02:02:37 2015 -0800

DM: IRB interface should be added to RI only if fwd mode is l2_l3

Change-Id: I7f5675b14bc2a191619900d2157bf44e72c0e7d9
Closes-Bug: #1517600

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

Review in progress for https://review.opencontrail.org/17717
Submitter: Suresh Balineni (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/17718
Submitter: Suresh Balineni (<email address hidden>)

Revision history for this message
Nischal Sheth (nsheth) wrote :

Note that the IP address leak issue in #1 is tracked via bug 1485754.

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

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

commit 1cc8bdc871f5ff589ef113fbfe3a12685753cfed
Author: sbalineni <email address hidden>
Date: Tue Feb 23 21:10:54 2016 -0800

DM: IRB interface should be added to RI only if fwd mode is l2_l3

Change-Id: Ia715e7a5d04aff792378ff7ee5555308dbab6910
Closes-Bug: #1517600

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

Reviewed: https://review.opencontrail.org/17718
Committed: http://github.org/Juniper/contrail-controller/commit/209355fe4322943b55d9a270efa9e1bab04d5b47
Submitter: Zuul
Branch: R3.0

commit 209355fe4322943b55d9a270efa9e1bab04d5b47
Author: sbalineni <email address hidden>
Date: Tue Feb 23 21:10:54 2016 -0800

DM: IRB interface should be added to RI only if fwd mode is l2_l3

Change-Id: Ia715e7a5d04aff792378ff7ee5555308dbab6910
Closes-Bug: #1517600

Nischal Sheth (nsheth)
information type: Proprietary → Public
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.