-
Committer:
Brad Hall
-
Date:
2011-09-27 21:47:31 UTC
-
Revision ID:
brad@nicira.com-20110927214731-imh9sj28ywjei8y7
Fix quantum/melange ipam interaction
We now query for the subnets by net_id/vif_id instead of searching through all
the blocks to find the right one. Both of the allocate and deallocate for
instance calls are now using the vif_id -> network_id mapping instead of
searching the quantum networks. get_port_by_attachment was also changed to
take a net_id so that we don't have to search through all of the quantum
networks to find the corresponding port.