Fix L3 flows installation

L3 flow install by the controller didnt take the correct
segmentation id from the dst port and used the local port num

Change-Id: Ib7533d4ff427dd54efe8f290850cd202ec079fe2
Closes-Bug: #1446576
This commit is contained in:
Gal Sagie 2015-04-21 14:08:23 +03:00
parent c9487fb69f
commit 2105e792d2
1 changed files with 1 additions and 1 deletions

View File

@ -656,7 +656,7 @@ class L3ReactiveApp(app_manager.RyuApp):
:type dst_port_data: PortData
"""
dst_p_desc = dst_port_data['switch_port_desc']
dst_seg_id = dst_port_data.local_port_number
dst_seg_id = dst_port_data.segmentation_id
in_port = in_port_data.local_port_number
src_seg_id = in_port_data.segmentation_id
in_port_desc = in_port_data['switch_port_desc']