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): Conflicts in nova/virt/libvirt/driver.py due to trusted
VFs not being present in Queens.
Related-bug: 1743458
Change-Id: I318b9118c97d7bf2b61bc45698443e8d0255ff6f
(cherry picked from commit d16d0d553b20fd45a83cf7c68bc477b97aece9a1)
Reviewed: https:/ /review. openstack. org/581398 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=0f253ea9c5f 3f3d97bc049f00d 1bcdf2761f0736
Committed: https:/
Submitter: Zuul
Branch: stable/queens
commit 0f253ea9c5f3f3d 97bc049f00d1bcd f2761f0736
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): Conflicts in nova/virt/ libvirt/ driver. py due to trusted
VFs not being present in Queens.
Related-bug: 1743458 f2b61bc45698443 e8d0255ff6f 5a83cf7c68bc477 b97aece9a1)
Change-Id: I318b9118c97d7b
(cherry picked from commit d16d0d553b20fd4