Two functional test method in TestDvrRouter don't work to dual_stack case

Bug #1552070 reported by ZongKai LI on 2016-03-02
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

In TestDvrRouter class, two methods, _add_fip_agent_gw_port_info_to_router and _add_snat_port_info_to_router don't work for dual_stack case.

Method generate_dvr_router_info will try to call prepare_router_data to get a basic router dict, and then call the two methods to process additional data in router dict.

If we passing dual_stack=True, in the router dict, ex_gw_port will have two subnets and two fixed_ips [1], and two subnets and two fixed_ips for each interface [2], one for v4 and another for v6.

But in _add_fip_agent_gw_port_info_to_router, it will only process the first fixed_ip and subnet in ex_gw_port in router dict [3],
and in _add_snat_port_info_to_router, it will only process fixed_ip and subnet for the first interface [4].
That will make dual_stack finally fail to work.


ZongKai LI (zongkai) on 2016-03-02
Changed in neutron:
assignee: nobody → ZongKai LI (lzklibj)
Changed in neutron:
status: New → In Progress
Changed in neutron:
importance: Undecided → Low
tags: added: l3-dvr-backlog

Change abandoned by Armando Migliaccio (<email address hidden>) on branch: master
Reason: This review is > 4 weeks without comment, and failed Jenkins the last time it was checked. We are abandoning this for now. Feel free to reactivate the review by pressing the restore button and leaving a 'recheck' comment to get fresh test results.

Needs a new owner.

Changed in neutron:
status: In Progress → Incomplete
assignee: ZongKai LI (lzklibj) → nobody
tags: added: low-hanging-fruit
zachgleason (zgleason94) on 2016-08-05
Changed in neutron:
assignee: nobody → zachgleason (zgleason94)
Changed in neutron:
assignee: zachgleason (zgleason94) → nobody
Launchpad Janitor (janitor) wrote :

[Expired for neutron because there has been no activity for 60 days.]

Changed in neutron:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers