summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Keenan <matt.keenan@gmail.com>2017-10-19 22:11:25 +0100
committerJulia Kreger <juliaashleykreger@gmail.com>2017-10-20 21:13:25 +0000
commit27de3f6dae3e43cb623aaa38f3cd8a47c452ed8a (patch)
treede8a9d1a23f032fdf4cc7bfcc0ca8485be5d0ea7
parent511381786984af5c17b03cd0e94b1189f5e06a63 (diff)
downloadpython-ironicclient-27de3f6dae3e43cb623aaa38f3cd8a47c452ed8a.tar.gz
Synchronize ironic and ironicclients list of boot devices
Ensure list of boot devices specified in ironic matches whats specified in ironicclient. Specifically in this case adding 'wanboot'. Change-Id: Icd427fc02296cca94ebe722d4cacecb3a902d4c2 Closes-Bug: #1724974 Signed-off-by: Matt Keenan <matt.keenan@gmail.com>
-rw-r--r--ironicclient/v1/utils.py2
-rw-r--r--releasenotes/notes/bug-1724974-add-wanboot-to-supported-boot-devices.yaml3
2 files changed, 4 insertions, 1 deletions
diff --git a/ironicclient/v1/utils.py b/ironicclient/v1/utils.py
index 7c18e60..19c8e48 100644
--- a/ironicclient/v1/utils.py
+++ b/ironicclient/v1/utils.py
@@ -15,7 +15,7 @@
HTTP_METHODS = ['POST', 'PUT', 'GET', 'DELETE', 'PATCH']
-BOOT_DEVICES = ['pxe', 'disk', 'cdrom', 'bios', 'safe']
+BOOT_DEVICES = ['pxe', 'disk', 'cdrom', 'bios', 'safe', 'wanboot']
# Polling intervals in seconds.
_LONG_ACTION_POLL_INTERVAL = 10
diff --git a/releasenotes/notes/bug-1724974-add-wanboot-to-supported-boot-devices.yaml b/releasenotes/notes/bug-1724974-add-wanboot-to-supported-boot-devices.yaml
new file mode 100644
index 0000000..4803166
--- /dev/null
+++ b/releasenotes/notes/bug-1724974-add-wanboot-to-supported-boot-devices.yaml
@@ -0,0 +1,3 @@
+---
+features:
+ - Adds missing ``wanboot`` value to the list of supported boot devices.