Untie the Nova network models

Registered by Trey Morris

There are several places in nova where network information has been foreign key tied together or to instance structures. These ties are incompatible with external network services.

Take for example an instance that instance has a backref to fixed_ips. As a result instance['fixed_ips'] can be used all throughout the code base. If those fixed_ips live in an external service this causes issues.

The structures that I see are Instance, virtual_interface, fixed_ip, floating_ip, and network. These tables need to have foreign keys pointing to each other removed and the code that uses these references needs to be updated to either request information through the network api, or to refer to the instance network_info cache (there is another blueprint regarding this cache).

Blueprint information

Status:
Complete
Approver:
Trey Morris
Priority:
Medium
Drafter:
Nova Network
Direction:
Approved
Assignee:
Jason Kölker
Definition:
Approved
Series goal:
Accepted for essex
Implementation:
Implemented
Milestone target:
milestone icon 2012.1
Started by
Jason Kölker
Completed by
Vish Ishaya

Related branches

Sprints

Whiteboard

Addressed by: https://review.openstack.org/2163
    Remove FixedIP<->Network FK

Addressed by: https://review.openstack.org/2922
    Implement BP untie-nova-network-models

(?)

Work Items

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.