Add flow support for IPv6

Bug #1398625 reported by Prabhakaran Ganesan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R2.20
Won't Fix
Medium
Ashok Singh
Trunk
Fix Committed
Medium
Ashok Singh

Bug Description

IPv6 packets are only getting routed in the vrouter. Allow flows to be created for V6 traffic so that policies can be supported and flow stats can be reported.

Tags: vrouter
tags: added: vrouter
information type: Proprietary → Public
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : master

Review in progress for https://review.opencontrail.org/8343
Submitter: Prabhakaran Ganesan (<email address hidden>)

Changed in juniperopenstack:
importance: Undecided → Medium
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Review in progress for https://review.opencontrail.org/8618
Submitter: Ashok Singh (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/8343
Submitter: Prabhakaran Ganesan (<email address hidden>)

Revision history for this message
Prabhakaran Ganesan (gprabhak) wrote :

Ashok,

    The vrouter-side changes are reviewed, please commit them along with your agent-side changes.

Thanks
Prabhakar

Changed in juniperopenstack:
status: New → In Progress
assignee: Prabhakaran Ganesan (gprabhak) → Ashok Singh (ashoksr)
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

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

commit 113cbc7e0d3870853d2ff3919d5e990168636a9d
Author: ashoksingh <email address hidden>
Date: Wed Mar 25 12:24:29 2015 +0530

Agent IPv6 flow changes

Change-Id: I7d0b5bc164a2ec1a86cee29fc182a74c0ef2cf30
Partial-Bug: #1398625

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

Reviewed: https://review.opencontrail.org/8343
Committed: http://github.org/Juniper/contrail-vrouter/commit/c387561eb84007cbf6b497720987ab3a45beec2e
Submitter: Zuul
Branch: master

commit c387561eb84007cbf6b497720987ab3a45beec2e
Author: Ganesan Prabhakaran <email address hidden>
Date: Fri Mar 13 16:12:11 2015 -0700

The following changes are made to support flow-lookup for IPv6.
1. Change vr_flow Sandesh message to include family (AF_INET/AF_INET6) and <list> for IP addresses (instead of uint32 for SrcIP and DstIP). The list of IP address will pack both SrcIP and Dst IP (8 bytes for IPv4 and 32 bytes for IPv6, identified by the family field .
2. Defined a 'union' to describe how the flow entry looks for V4 and V6.
3. Added flow_key data structure for V6 addresses. Changed order of fields in flow_key (moved IP addresses to the end), added #defines to access generic/V4/V6 fileds in the flow_key
4. Updated hash/lookup logic to use different key size based on key_family.
5. Other related changes in dp-core and utils

Change-Id: I0147c54b8e5a8f5a046a097a39581c899fa6f972
Closes-bug: 1398625

Changed in juniperopenstack:
status: In Progress → Fix Committed
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : master

Review in progress for https://review.opencontrail.org/9166
Submitter: Ashok Singh (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/9166
Committed: http://github.org/Juniper/contrail-vrouter/commit/a239ab2750b89fe38e4d6f7d7b7f6973325193e1
Submitter: Zuul
Branch: master

commit a239ab2750b89fe38e4d6f7d7b7f6973325193e1
Author: ashoksingh <email address hidden>
Date: Wed Apr 15 22:27:24 2015 +0530

Addressed code review inputs

(On behalf of Prabhakar)
Closes-Bug: #1398625

Change-Id: I46a313dc3b9b527b38078fc348051ad96b43f37f

Changed in juniperopenstack:
milestone: none → r2.20-fcs
Sunil Bakhru (sbakhru)
Changed in juniperopenstack:
status: Fix Committed → In Progress
status: In Progress → Fix Committed
milestone: r2.20-fcs → none
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.