Fix segment allocation tables in Cisco N1kv plugin

Bug #1288407 reported by Abhishek Raut
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Medium
Abhishek Raut

Bug Description

The segment ranges for VLAN and VXLAN are being populated using an in memory dictionary. The segment allocation table is emptied on deleting any network profile.
This change allows the use of segment range from the network profile table.
By using the network profile UUID as a foreign key in the segment allocations table, tables are cleaned up only for the segments associated with
the deleted network profile via CASCADE, leaving no inconsistencies.
Add more UT along with this.

Tags: cisco
Abhishek Raut (abhraut)
Changed in neutron:
assignee: nobody → Abhishek Raut (abhraut)
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/78506

Changed in neutron:
status: New → In Progress
Abhishek Raut (abhraut)
description: updated
summary: - Use segment range from network profile tables in Cisco N1kv plugin
+ Fix segment allocation tables in Cisco N1kv plugin
Changed in neutron:
milestone: none → icehouse-rc1
importance: Undecided → Medium
Kyle Mestery (mestery)
Changed in neutron:
importance: Medium → Low
importance: Low → Medium
Changed in neutron:
milestone: icehouse-rc1 → none
tags: added: icehouse-rc-potential
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

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

commit f83b2ef4fc042d8559b1f75dbe949460f2843c7e
Author: Abhishek Raut <email address hidden>
Date: Wed Mar 5 19:02:40 2014 -0800

    Fix segment allocation tables in Cisco N1kv plugin

    The segment allocation table is emptied on deleting any network profile.
    This change allows the use of segment range from the network profile table.
    By using the network profile UUID as a foreign key in the segment allocations table,
    tables are cleaned up only for the segments associated with
    the deleted network profile via CASCADE, leaving no inconsistencies.

    Change-Id: I507041fac3768a7b688ddcf28c4d97c618bfe3f9
    Closes-Bug: #1288407

Changed in neutron:
status: In Progress → Fix Committed
Akihiro Motoki (amotoki)
Changed in neutron:
milestone: none → icehouse-rc1
tags: removed: icehouse-rc-potential
Thierry Carrez (ttx)
Changed in neutron:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in neutron:
milestone: icehouse-rc1 → 2014.1
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.