This patch splits out interface and disk metadata generation into its
own function each, in preparation for handling hostdev metadata
generation in a subsequent patch. It also adds some debug logging.
NOTE(artom): Queens -> Pike backport is clean, conflicts in
nova/virt/libvirt/driver.py in Queens due to trusted VFs not being
present.
Related-bug: 1743458
Change-Id: I318b9118c97d7bf2b61bc45698443e8d0255ff6f
(cherry picked from commit d16d0d553b20fd45a83cf7c68bc477b97aece9a1)
(cherry picked from commit 0f253ea9c5f3f3d97bc049f00d1bcdf2761f0736)
Reviewed: https:/ /review. openstack. org/587248 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=2460d0ef943 8026b1691697022 a86030b9f2d21e
Committed: https:/
Submitter: Zuul
Branch: stable/pike
commit 2460d0ef9438026 b1691697022a860 30b9f2d21e
Author: Artom Lifshitz <email address hidden>
Date: Mon Jan 15 15:36:40 2018 -0500
Refactor _build_ device_ metadata
This patch splits out interface and disk metadata generation into its
own function each, in preparation for handling hostdev metadata
generation in a subsequent patch. It also adds some debug logging.
NOTE(artom): Queens -> Pike backport is clean, conflicts in virt/libvirt/ driver. py in Queens due to trusted VFs not being
nova/
present.
Related-bug: 1743458 f2b61bc45698443 e8d0255ff6f 5a83cf7c68bc477 b97aece9a1) 97bc049f00d1bcd f2761f0736)
Change-Id: I318b9118c97d7b
(cherry picked from commit d16d0d553b20fd4
(cherry picked from commit 0f253ea9c5f3f3d