Wrong check in allowed address pair comparator

Bug #1545233 reported by Hari Prasad Killi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R2.20
Fix Committed
Medium
Hari Prasad Killi
R2.21.x
Fix Committed
Medium
Hari Prasad Killi
R2.22.x
Fix Committed
Medium
Hari Prasad Killi
Trunk
Fix Committed
Medium
Hari Prasad Killi

Bug Description

The comparator for VmInterface::AllowedAddressPair checks the prefix length wrongly, due to which multiple allowed address pair configurations on the interface having same IP but different plen will cause problems.

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

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

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

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

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

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

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

Review in progress for https://review.opencontrail.org/17214
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/17212
Committed: http://github.org/Juniper/contrail-controller/commit/16d8c9204c962d8c20e4d6da63bac46913da8525
Submitter: Zuul
Branch: R2.22.x

commit 16d8c9204c962d8c20e4d6da63bac46913da8525
Author: Hari <email address hidden>
Date: Sat Feb 13 11:37:31 2016 +0530

Fix the comparator for VmInterface::AllowedAddressPair.

Prefix length should be checked for being not equal.

Change-Id: I487b85be771c1af3d0145283613081c61ee49817
closes-bug: 1545233

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

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

commit 5a10b18407774fc18363150d4cadcd4662d4b68c
Author: Hari <email address hidden>
Date: Sat Feb 13 11:33:44 2016 +0530

Fix the comparator for VmInterface::AllowedAddressPair.

Prefix length should be checked for being not equal.

Change-Id: If8ee5262f3a4d78a54e20b90fe75d6805a14f730
closes-bug: 1545233

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

Reviewed: https://review.opencontrail.org/17213
Committed: http://github.org/Juniper/contrail-controller/commit/619b365835450408daacd4eef0df858689ad4bbb
Submitter: Zuul
Branch: R2.21.x

commit 619b365835450408daacd4eef0df858689ad4bbb
Author: Hari <email address hidden>
Date: Sat Feb 13 11:38:54 2016 +0530

Fix the comparator for VmInterface::AllowedAddressPair.

Prefix length should be checked for being not equal.

Change-Id: I893e5c04214f055e4dc7e60ba767505ef8e532e9
closes-bug: 1545233

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

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

commit 0fd28c4bde02ad1d59a86e3da83579853f93fc0e
Author: Hari <email address hidden>
Date: Sat Feb 13 11:40:52 2016 +0530

Fix the comparator for VmInterface::AllowedAddressPair.

Prefix length should be checked for being not equal.

Change-Id: Iafa7531096b58655defff676bee9072c271da4b3
closes-bug: 1545233

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.