summaryrefslogtreecommitdiff
path: root/nova/virt/powervm/driver.py
diff options
context:
space:
mode:
authorMatt Riedemann <mriedem.os@gmail.com>2019-11-07 17:15:50 -0500
committerMatt Riedemann <mriedem.os@gmail.com>2019-11-07 17:20:18 -0500
commitc80912866f080c2049fb3860221f55e3c73cbf5e (patch)
treed40adf6db82ed2e1f56466191a3e403ea6e85261 /nova/virt/powervm/driver.py
parent6479d492c0237e54defdd4cdf5e43e8bf0b9d231 (diff)
downloadnova-c80912866f080c2049fb3860221f55e3c73cbf5e.tar.gz
Drop compat for non-update_provider_tree code paths
In Train [1] we deprecated support for compute drivers that did not implement the update_provider_tree method. That compat code is now removed along with the get_inventory method definition and (most) references to it. As a result there are more things we can remove but those will come in separate changes. [1] I1eae47bce08f6292d38e893a2122289bcd6f4b58 Change-Id: Ib62ac0b692eb92a2ed364ec9f486ded05def39ad
Diffstat (limited to 'nova/virt/powervm/driver.py')
-rw-r--r--nova/virt/powervm/driver.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/nova/virt/powervm/driver.py b/nova/virt/powervm/driver.py
index 14a89b29eb..dfa59f6d8b 100644
--- a/nova/virt/powervm/driver.py
+++ b/nova/virt/powervm/driver.py
@@ -167,8 +167,6 @@ class PowerVMDriver(driver.ComputeDriver):
this.
:return: Dictionary describing resources.
"""
- # TODO(efried): Switch to get_inventory, per blueprint
- # custom-resource-classes-pike
# Do this here so it refreshes each time this method is called.
self.host_wrapper = pvm_ms.System.get(self.adapter)[0]
return self._get_available_resource()