Commit: 8cda4898425372a062cdec1018b56116386738f0
Author: Jay Pipes <email address hidden>
Date: Wed Jun 1 09:52:56 2016
pci: pass in instance PCI requests to claim
Removes the calls to InstancePCIRequests.get_XXX() from within the
claims.Claim and claims.MoveClaim constructors and instead has the
resource tracker construct the PCI requests and pass them into the
constructor.
This allows us to remove the needlessly duplicative _test_pci() method
in claims.MoveClaim and will allow the next patch in the series to
remove the call in nova.pci.manager.PciDevTracker.claim_instance() that
re-fetches PCI requests for the supplied instance.
Related-Bug: #1368201
Related-Bug: #1581471
Change-Id: Ib2cc7c985839fbf88b5e6e437c4b395ab484b1b6
(cherry picked from commit 74fbff88639891269f6a0752e70b78340cf87e9a)
Reviewed: https:/ /review. fuel-infra. org/21472
Submitter: Pkgs Jenkins <email address hidden>
Branch: 9.0/mitaka
Commit: 8cda4898425372a 062cdec1018b561 16386738f0
Author: Jay Pipes <email address hidden>
Date: Wed Jun 1 09:52:56 2016
pci: pass in instance PCI requests to claim
Removes the calls to InstancePCIRequ ests.get_ XXX() from within the
claims.Claim and claims.MoveClaim constructors and instead has the
resource tracker construct the PCI requests and pass them into the
constructor.
This allows us to remove the needlessly duplicative _test_pci() method manager. PciDevTracker. claim_instance( ) that
in claims.MoveClaim and will allow the next patch in the series to
remove the call in nova.pci.
re-fetches PCI requests for the supplied instance.
Related-Bug: #1368201
Related-Bug: #1581471
Change-Id: Ib2cc7c985839fb f88b5e6e437c4b3 95ab484b1b6 69f6a0752e70b78 340cf87e9a)
(cherry picked from commit 74fbff886398912