commit 426a303ee4cb848e75b9ed2acc498479c651c539
Author: Matt Riedemann <email address hidden>
Date: Wed Jun 5 12:54:45 2019 -0400
Convert HostMapping.cells to a dict
This changes the HostMapping.cells list to a dict,
keyed by cell uuid, to each CellMapping object.
This is going to be used in a later change [1] where
we will create a cached mapping of host to cell uuid
so we can go quickly from compute node host value to
get the CellMapping without having to lookup the
HostMapping again.
Reviewed: https:/ /review. opendev. org/663387 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=426a303ee4c b848e75b9ed2acc 498479c651c539
Committed: https:/
Submitter: Zuul
Branch: master
commit 426a303ee4cb848 e75b9ed2acc4984 79c651c539
Author: Matt Riedemann <email address hidden>
Date: Wed Jun 5 12:54:45 2019 -0400
Convert HostMapping.cells to a dict
This changes the HostMapping.cells list to a dict,
keyed by cell uuid, to each CellMapping object.
This is going to be used in a later change [1] where
we will create a cached mapping of host to cell uuid
so we can go quickly from compute node host value to
get the CellMapping without having to lookup the
HostMapping again.
[1] Ic6b1edfad2e384 eb32c6942edc522 ee301123cbc
Change-Id: I75e5bf2c45688f 68eeca27404641f 4c438b023c6
Related-Bug: #1737465