Radware lbaas driver need handle pool members coming from different subnets

Bug #1291417 reported by Evgeny Fedoruk
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Undecided
Evgeny Fedoruk

Bug Description

Radware LBaaS driver should be able to handle pool members when each member is on different sub-net.

This is dependent on change https://review.openstack.org/#/c/69009/

Tags: lbaas radware
Evgeny Fedoruk (evgenyf)
Changed in neutron:
assignee: nobody → Evgeny Fedoruk (evgenyf)
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (master)

Fix proposed to branch: master
Review: https://review.openstack.org/95375

Changed in neutron:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.openstack.org/95375
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=6bed4a09bd67e0ac5daf8bcb4ef7b9ee8161bac2
Submitter: Jenkins
Branch: master

commit 6bed4a09bd67e0ac5daf8bcb4ef7b9ee8161bac2
Author: Evgeny Fedoruk <email address hidden>
Date: Sun May 25 06:52:20 2014 -0700

    Adding static routes data for members

    Adding extra data on member entities for routing.
    Subnet, mask and gateway data is attached to each member.
    Default values are:
     subnet=255.255.255.255
     mask=255.255.255.255
     GW=255.255.255.255

    Only in case when LB is connected to both, pool sub-net and vip sub-net
    and member is not on pool's sub-net, routing info will be determined
    instead of setting to default values:

    1. In case when member's port is found, member's subnet and mask
       data will be set to those of the port, gateway will be set to pool's
       gateway address

    2. In case when no port found or more than one port found for member's IP address,
       member's subnet will be set to member's IP address value , gateway will be set
       to pool's gateway value, and mask will be set to default 255.255.255.255

    New unit tests were added for testing following scenarios:
    1. Adding 3 members on 3 different sub-nets, vip's, pool's and other sub-net
    2. Adding member on other than pool's sub-net with no port
    3. Adding member on other than pool's sub-net with multiple ports with same IP address
       but on different sub-nets

    Internal vip graph building function was added (_populate_vip_graph)
    for more convenient code re-use and better structure

    Change-Id: I6d592ffe8ee3f82f56a4bfbe1d420541871dad2d
    Closes-Bug: 1291417

Changed in neutron:
status: In Progress → Fix Committed
Changed in neutron:
milestone: none → juno-2
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in neutron:
milestone: juno-2 → 2014.2
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.