Remove nova network legacy code to enable ipv6-only vifs
nova.network.
Blueprint information
- Status:
- Complete
- Approver:
- Russell Bryant
- Priority:
- Medium
- Drafter:
- None
- Direction:
- Approved
- Assignee:
- Yaguang Tang
- Definition:
- Approved
- Series goal:
- Accepted for havana
- Implementation:
- Implemented
- Milestone target:
- 2013.2
- Started by
- Russell Bryant
- Completed by
- Russell Bryant
Related branches
Related bugs
Sprints
Whiteboard
From bug 1044383, the following implementation still holds:
From running `grep -nH -R -e "legacy()" .` on the code base I have come up with an approach. Let me know if I have missed anything. My current plan of attack is as follows:
0. Make each of the compute drivers compatible with the current network model (non-legacy), pushing any legacy dependency into the firewall driver.
From my enumeration that means: i. baremetal.
1. Remove legacy_nwinfo from the nova.virt.
2. Fix the firewall driver to use the current network model. <bug 1112657>
3. Fix any other legacy-dependent code to use the current network model (e.g. nova.virt.
4. Remove the legacy function from the network model.
---
Worth noting previous attempts at this for libvirt:
https:/
https:/
Also, *if* the nova-network firewalling is to be removed in Havana then the job becomes a lot simpler as the virt drivers should no longer care about the addresses of ports. Perhaps someone could confirm if that's in the plan? -- ijw-ubuntu
if not any one working on this, I'd like to pick it up and get it in to Havana . --heut2008
I haven't had the time I expected to work on this blueprint in the Havana release cycle. I'm fine with heut2008 taking it over. --amir-sadoughi
Gerrit topic: https:/
Addressed by: https:/
Update BareMetal driver from legacy network to current nova.network.model.
Addressed by: https:/
Update libvirt driver to current nova.network.model.
Addressed by: https:/
Update nova.virt.firewall to use current nova.network.model.
Addressed by: https:/
Remove legacy network info model usage in unit tests
Addressed by: https:/
Remove deprecated legacy network info model in Hypervisor drivers
Gerrit topic: https:/
Addressed by: https:/
Fix bug by passing correct number of arguments