summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2016-09-16 17:37:50 +0000
committerGerrit Code Review <review@openstack.org>2016-09-16 17:37:50 +0000
commit25fcc07507331c3ed7928dbe31f8a231797b00f3 (patch)
tree33d484127c076618c60b5e29e4db24a0a5a46304
parentf3646e73420255dd238d92ac7a76dd8e1d73cb8a (diff)
parent8758116f837caf0e3e13d9cd54c128bdbe7a7880 (diff)
downloadironic-25fcc07507331c3ed7928dbe31f8a231797b00f3.tar.gz
Merge "Mark untested drivers as unsupported"
-rw-r--r--ironic/drivers/agent.py15
-rw-r--r--ironic/drivers/fake.py18
-rw-r--r--ironic/drivers/pxe.py27
-rw-r--r--releasenotes/notes/newton-driver-deprecations-e40369be37203057.yaml30
4 files changed, 90 insertions, 0 deletions
diff --git a/ironic/drivers/agent.py b/ironic/drivers/agent.py
index 1b1a00056..7be191dc9 100644
--- a/ironic/drivers/agent.py
+++ b/ironic/drivers/agent.py
@@ -97,6 +97,8 @@ class AgentAndIPMINativeDriver(base.BaseDriver):
glue between them.
"""
+ supported = False
+
def __init__(self):
self.power = ipminative.NativeIPMIPower()
self.boot = pxe.PXEBoot()
@@ -131,6 +133,8 @@ class AgentAndSSHDriver(base.BaseDriver):
is merely the glue between them.
"""
+ supported = False
+
def __init__(self):
self.power = ssh.SSHPower()
self.boot = pxe.PXEBoot()
@@ -156,6 +160,8 @@ class AgentAndVirtualBoxDriver(base.BaseDriver):
is merely the glue between them.
"""
+ supported = False
+
def __init__(self):
if not importutils.try_import('pyremotevbox'):
raise exception.DriverLoadError(
@@ -178,6 +184,9 @@ class AgentAndAMTDriver(base.BaseDriver):
deployment. Implementations are in those respective classes; this
class is merely the glue between them.
"""
+
+ supported = False
+
def __init__(self):
if not importutils.try_import('pywsman'):
raise exception.DriverLoadError(
@@ -249,6 +258,9 @@ class AgentAndWakeOnLanDriver(base.BaseDriver):
Implementations are in those respective classes;
this class is merely the glue between them.
"""
+
+ supported = False
+
def __init__(self):
self.power = wol.WakeOnLanPower()
self.boot = pxe.PXEBoot()
@@ -266,6 +278,9 @@ class AgentAndIBootDriver(base.BaseDriver):
Implementations are in those respective classes;
this class is merely the glue between them.
"""
+
+ supported = False
+
def __init__(self):
if not importutils.try_import('iboot'):
raise exception.DriverLoadError(
diff --git a/ironic/drivers/fake.py b/ironic/drivers/fake.py
index cc3953b38..996c152a5 100644
--- a/ironic/drivers/fake.py
+++ b/ironic/drivers/fake.py
@@ -117,6 +117,8 @@ class FakePXEDriver(base.BaseDriver):
class FakeSSHDriver(base.BaseDriver):
"""Example implementation of a Driver."""
+ supported = False
+
def __init__(self):
self.power = ssh.SSHPower()
self.deploy = fake.FakeDeploy()
@@ -127,6 +129,8 @@ class FakeSSHDriver(base.BaseDriver):
class FakeIPMINativeDriver(base.BaseDriver):
"""Fake IPMINative driver."""
+ supported = False
+
def __init__(self):
if not importutils.try_import('pyghmi'):
raise exception.DriverLoadError(
@@ -142,6 +146,8 @@ class FakeIPMINativeDriver(base.BaseDriver):
class FakeSeaMicroDriver(base.BaseDriver):
"""Fake SeaMicro driver."""
+ supported = False
+
def __init__(self):
if not importutils.try_import('seamicroclient'):
raise exception.DriverLoadError(
@@ -168,6 +174,8 @@ class FakeAgentDriver(base.BaseDriver):
class FakeIBootDriver(base.BaseDriver):
"""Fake iBoot driver."""
+ supported = False
+
def __init__(self):
if not importutils.try_import('iboot'):
raise exception.DriverLoadError(
@@ -211,6 +219,8 @@ class FakeDracDriver(base.BaseDriver):
class FakeSNMPDriver(base.BaseDriver):
"""Fake SNMP driver."""
+ supported = False
+
def __init__(self):
if not importutils.try_import('pysnmp'):
raise exception.DriverLoadError(
@@ -237,6 +247,8 @@ class FakeIRMCDriver(base.BaseDriver):
class FakeVirtualBoxDriver(base.BaseDriver):
"""Fake VirtualBox driver."""
+ supported = False
+
def __init__(self):
if not importutils.try_import('pyremotevbox'):
raise exception.DriverLoadError(
@@ -265,6 +277,8 @@ class FakeIPMIToolInspectorDriver(base.BaseDriver):
class FakeAMTDriver(base.BaseDriver):
"""Fake AMT driver."""
+ supported = False
+
def __init__(self):
if not importutils.try_import('pywsman'):
raise exception.DriverLoadError(
@@ -278,6 +292,8 @@ class FakeAMTDriver(base.BaseDriver):
class FakeMSFTOCSDriver(base.BaseDriver):
"""Fake MSFT OCS driver."""
+ supported = False
+
def __init__(self):
self.power = msftocs_power.MSFTOCSPower()
self.deploy = fake.FakeDeploy()
@@ -313,6 +329,8 @@ class FakeCIMCDriver(base.BaseDriver):
class FakeWakeOnLanDriver(base.BaseDriver):
"""Fake Wake-On-Lan driver."""
+ supported = False
+
def __init__(self):
self.power = wol.WakeOnLanPower()
self.deploy = fake.FakeDeploy()
diff --git a/ironic/drivers/pxe.py b/ironic/drivers/pxe.py
index d37fee90c..a379a7723 100644
--- a/ironic/drivers/pxe.py
+++ b/ironic/drivers/pxe.py
@@ -116,6 +116,9 @@ class PXEAndSSHDriver(base.BaseDriver):
image deployment. Implementations are in those respective
classes; this class is merely the glue between them.
"""
+
+ supported = False
+
def __init__(self):
self.power = ssh.SSHPower()
self.boot = pxe.PXEBoot()
@@ -138,6 +141,9 @@ class PXEAndIPMINativeDriver(base.BaseDriver):
for image deployment. Implementations are in those respective
classes; this class is merely the glue between them.
"""
+
+ supported = False
+
def __init__(self):
if not importutils.try_import('pyghmi'):
raise exception.DriverLoadError(
@@ -173,6 +179,9 @@ class PXEAndSeaMicroDriver(base.BaseDriver):
for image deployment. Implementations are in those respective
classes; this class is merely the glue between them.
"""
+
+ supported = False
+
def __init__(self):
if not importutils.try_import('seamicroclient'):
raise exception.DriverLoadError(
@@ -203,6 +212,9 @@ class PXEAndIBootDriver(base.BaseDriver):
image deployment. Implementations are in those respective classes;
this class is merely the glue between them.
"""
+
+ supported = False
+
def __init__(self):
if not importutils.try_import('iboot'):
raise exception.DriverLoadError(
@@ -247,6 +259,9 @@ class PXEAndSNMPDriver(base.BaseDriver):
deployment. Implentations are in those respective classes; this
class is merely the glue between them.
"""
+
+ supported = False
+
def __init__(self):
# Driver has a runtime dependency on PySNMP, abort load if it is absent
if not importutils.try_import('pysnmp'):
@@ -297,6 +312,9 @@ class PXEAndVirtualBoxDriver(base.BaseDriver):
deployment. Implementations are in those respective classes;
this class is merely the glue between them.
"""
+
+ supported = False
+
def __init__(self):
if not importutils.try_import('pyremotevbox'):
raise exception.DriverLoadError(
@@ -319,6 +337,9 @@ class PXEAndAMTDriver(base.BaseDriver):
deployment. Implementations are in those respective classes; this
class is merely the glue between them.
"""
+
+ supported = False
+
def __init__(self):
if not importutils.try_import('pywsman'):
raise exception.DriverLoadError(
@@ -340,6 +361,9 @@ class PXEAndMSFTOCSDriver(base.BaseDriver):
for image deployment. Implementations are in those respective classes;
this class is merely the glue between them.
"""
+
+ supported = False
+
def __init__(self):
self.power = msftocs_power.MSFTOCSPower()
self.boot = pxe.PXEBoot()
@@ -405,6 +429,9 @@ class PXEAndWakeOnLanDriver(base.BaseDriver):
deployment. Implementations are in those respective classes;
this class is merely the glue between them.
"""
+
+ supported = False
+
def __init__(self):
self.power = wol.WakeOnLanPower()
self.boot = pxe.PXEBoot()
diff --git a/releasenotes/notes/newton-driver-deprecations-e40369be37203057.yaml b/releasenotes/notes/newton-driver-deprecations-e40369be37203057.yaml
new file mode 100644
index 000000000..83e8d6a2e
--- /dev/null
+++ b/releasenotes/notes/newton-driver-deprecations-e40369be37203057.yaml
@@ -0,0 +1,30 @@
+---
+deprecations:
+ - |
+ The following drivers are marked as unsupported and therefore deprecated.
+ Some or all of these drivers may be removed in the Ocata cycle or later.
+
+ * ``agent_amt``
+ * ``agent_iboot``
+ * ``agent_pyghmi``
+ * ``agent_ssh``
+ * ``agent_vbox``
+ * ``agent_wol``
+ * ``fake_ipminative``
+ * ``fake_ssh``
+ * ``fake_seamicro``
+ * ``fake_iboot``
+ * ``fake_snmp``
+ * ``fake_vbox``
+ * ``fake_amt``
+ * ``fake_msftocs``
+ * ``fake_wol``
+ * ``pxe_ipminative``
+ * ``pxe_ssh``
+ * ``pxe_vbox``
+ * ``pxe_seamicro``
+ * ``pxe_iboot``
+ * ``pxe_snmp``
+ * ``pxe_amt``
+ * ``pxe_msftocs``
+ * ``pxe_wol``