From 27de3f6dae3e43cb623aaa38f3cd8a47c452ed8a Mon Sep 17 00:00:00 2001 From: Matt Keenan Date: Thu, 19 Oct 2017 22:11:25 +0100 Subject: [PATCH] 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 --- ironicclient/v1/utils.py | 2 +- .../bug-1724974-add-wanboot-to-supported-boot-devices.yaml | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 releasenotes/notes/bug-1724974-add-wanboot-to-supported-boot-devices.yaml diff --git a/ironicclient/v1/utils.py b/ironicclient/v1/utils.py index 7c18e60d8..19c8e4899 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 000000000..48031667a --- /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.