commit 30552298410605ef5710fd564f5e46e5b0df0597
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] Ic6b1edfad2e384eb32c6942edc522ee301123cbc
Change-Id: I75e5bf2c45688f68eeca27404641f4c438b023c6
Related-Bug: #1737465
(cherry picked from commit 426a303ee4cb848e75b9ed2acc498479c651c539)
Reviewed: https:/ /review. opendev. org/676256 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=30552298410 605ef5710fd564f 5e46e5b0df0597
Committed: https:/
Submitter: Zuul
Branch: stable/stein
commit 30552298410605e f5710fd564f5e46 e5b0df0597
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 e75b9ed2acc4984 79c651c539)
Related-Bug: #1737465
(cherry picked from commit 426a303ee4cb848