Remove pxe_ssh_ansible driver
SSH-based power and management interfaces are unsupported and about to be removed from ironic. Change-Id: I0d00fbabb7402ef96bb26a68b64d04ae3231a5d5 Related-Bug: #1570301
This commit is contained in:
parent
090ce16c79
commit
6e415c3284
@ -9,6 +9,5 @@ fake_libvirt_fake
|
||||
fake_amt_fake
|
||||
pxe_amt_iscsi
|
||||
pxe_amt_agent
|
||||
pxe_ssh_ansible
|
||||
pxe_libvirt_ansible
|
||||
pxe_ipmitool_ansible
|
||||
|
@ -14,25 +14,11 @@ from ironic.drivers import base
|
||||
from ironic.drivers.modules import fake
|
||||
from ironic.drivers.modules import ipmitool
|
||||
from ironic.drivers.modules import pxe
|
||||
from ironic.drivers.modules import ssh
|
||||
|
||||
from ironic_staging_drivers.ansible import deploy as ansible_deploy
|
||||
from ironic_staging_drivers.libvirt import power as libvirt_power
|
||||
|
||||
|
||||
class AnsibleAndSSHDriver(base.BaseDriver):
|
||||
"""Ansible + SSH driver.
|
||||
|
||||
NOTE: This driver is meant only for testing environments.
|
||||
"""
|
||||
|
||||
def __init__(self):
|
||||
self.power = ssh.SSHPower()
|
||||
self.boot = pxe.PXEBoot()
|
||||
self.deploy = ansible_deploy.AnsibleDeploy()
|
||||
self.management = ssh.SSHManagement()
|
||||
|
||||
|
||||
class AnsibleAndIPMIToolDriver(base.BaseDriver):
|
||||
"""Ansible + Ipmitool driver."""
|
||||
|
||||
|
6
releasenotes/notes/no-ssh-drivers-887d3b5f57bf5452.yaml
Normal file
6
releasenotes/notes/no-ssh-drivers-887d3b5f57bf5452.yaml
Normal file
@ -0,0 +1,6 @@
|
||||
---
|
||||
upgrade:
|
||||
- |
|
||||
``pxe_ssh_ansible`` driver is removed as SSH-based power and management
|
||||
driver interfaces in ironic are unsupported since Newton release,
|
||||
and are to be removed in the Pike release
|
@ -40,7 +40,6 @@ ironic.drivers =
|
||||
pxe_iboot_agent = ironic_staging_drivers.iboot:PXEIBootAgentDriver
|
||||
fake_ansible = ironic_staging_drivers.ansible:FakeAnsibleDriver
|
||||
pxe_ipmitool_ansible = ironic_staging_drivers.ansible:AnsibleAndIPMIToolDriver
|
||||
pxe_ssh_ansible = ironic_staging_drivers.ansible:AnsibleAndSSHDriver
|
||||
pxe_libvirt_ansible = ironic_staging_drivers.ansible:AnsibleAndLibvirtDriver
|
||||
|
||||
[build_sphinx]
|
||||
|
Loading…
Reference in New Issue
Block a user