diff options
author | Julia Kreger <juliaashleykreger@gmail.com> | 2018-04-10 15:10:20 -0700 |
---|---|---|
committer | Jim Rollenhagen <jim@jimrollenhagen.com> | 2018-06-19 16:49:45 +0000 |
commit | 5795c57985e65cd96c3a71e1329e578a1e947449 (patch) | |
tree | c824d3814467517730c4bc1010b68655ce2b2a04 /ironic/drivers/generic.py | |
parent | bfbe14b873e2c933507b82f33c35ecbea95b68e7 (diff) | |
download | ironic-5795c57985e65cd96c3a71e1329e578a1e947449.tar.gz |
Add an external storage interface
This would primarily be very useful for users of an
external SAN image based management solution[0] where
the interaction with the storage system has been
abstracted from the user but iSCSI targets are still
used.
[0]: https://massopen.cloud/blog/bare-metal-imaging/
Change-Id: I2d45b8a7023d053aac24e106bb027b9d0408cf3a
Story: #1735478
Task: #12562
Diffstat (limited to 'ironic/drivers/generic.py')
-rw-r--r-- | ironic/drivers/generic.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ironic/drivers/generic.py b/ironic/drivers/generic.py index 5292ec079..6f3d280e5 100644 --- a/ironic/drivers/generic.py +++ b/ironic/drivers/generic.py @@ -28,6 +28,7 @@ from ironic.drivers.modules.network import noop as noop_net from ironic.drivers.modules import noop from ironic.drivers.modules import pxe from ironic.drivers.modules.storage import cinder +from ironic.drivers.modules.storage import external as external_storage from ironic.drivers.modules.storage import noop as noop_storage @@ -78,7 +79,8 @@ class GenericHardware(hardware_type.AbstractHardwareType): @property def supported_storage_interfaces(self): """List of supported storage interfaces.""" - return [noop_storage.NoopStorage, cinder.CinderStorage] + return [noop_storage.NoopStorage, cinder.CinderStorage, + external_storage.ExternalStorage] class ManualManagementHardware(GenericHardware): |