Merge "Adding bios_interface reference to api docs"

This commit is contained in:
Zuul 2019-03-01 11:08:48 +00:00 committed by Gerrit Code Review
commit 84f6e5fb84
4 changed files with 29 additions and 0 deletions

View File

@ -80,6 +80,7 @@ drivers supported by this Ironic service.
.. rest_parameters:: parameters.yaml .. rest_parameters:: parameters.yaml
- default_bios_interface: default_bios_interface
- default_boot_interface: default_boot_interface - default_boot_interface: default_boot_interface
- default_console_interface: default_console_interface - default_console_interface: default_console_interface
- default_deploy_interface: default_deploy_interface - default_deploy_interface: default_deploy_interface
@ -91,6 +92,7 @@ drivers supported by this Ironic service.
- default_rescue_interface: default_rescue_interface - default_rescue_interface: default_rescue_interface
- default_storage_interface: default_storage_interface - default_storage_interface: default_storage_interface
- default_vendor_interface: default_vendor_interface - default_vendor_interface: default_vendor_interface
- enabled_bios_interfaces: enabled_bios_interfaces
- enabled_boot_interfaces: enabled_boot_interfaces - enabled_boot_interfaces: enabled_boot_interfaces
- enabled_console_interfaces: enabled_console_interfaces - enabled_console_interfaces: enabled_console_interfaces
- enabled_deploy_interfaces: enabled_deploy_interfaces - enabled_deploy_interfaces: enabled_deploy_interfaces
@ -140,6 +142,7 @@ Response Parameters
- name: driver_name - name: driver_name
- hosts: hosts - hosts: hosts
- type: response_driver_type - type: response_driver_type
- default_bios_interface: default_bios_interface
- default_boot_interface: default_boot_interface - default_boot_interface: default_boot_interface
- default_console_interface: default_console_interface - default_console_interface: default_console_interface
- default_deploy_interface: default_deploy_interface - default_deploy_interface: default_deploy_interface
@ -151,6 +154,7 @@ Response Parameters
- default_rescue_interface: default_rescue_interface - default_rescue_interface: default_rescue_interface
- default_storage_interface: default_storage_interface - default_storage_interface: default_storage_interface
- default_vendor_interface: default_vendor_interface - default_vendor_interface: default_vendor_interface
- enabled_bios_interfaces: enabled_bios_interfaces
- enabled_boot_interfaces: enabled_boot_interfaces - enabled_boot_interfaces: enabled_boot_interfaces
- enabled_console_interfaces: enabled_console_interfaces - enabled_console_interfaces: enabled_console_interfaces
- enabled_deploy_interfaces: enabled_deploy_interfaces - enabled_deploy_interfaces: enabled_deploy_interfaces

View File

@ -577,6 +577,13 @@ d_bios_setting:
in: body in: body
required: true required: true
type: dictionary type: dictionary
default_bios_interface:
description: |
The default bios interface used for a node with a dynamic driver, if no
bios interface is specified for the node.
in: body
required: true
type: string
default_boot_interface: default_boot_interface:
description: | description: |
The default boot interface used for a node with a dynamic driver, if no The default boot interface used for a node with a dynamic driver, if no
@ -703,6 +710,12 @@ drivers:
in: body in: body
required: true required: true
type: array type: array
enabled_bios_interfaces:
description: |
The enabled bios interfaces for this driver.
in: body
required: true
type: list
enabled_boot_interfaces: enabled_boot_interfaces:
description: | description: |
The enabled boot interfaces for this driver. The enabled boot interfaces for this driver.

View File

@ -1,4 +1,5 @@
{ {
"default_bios_interface": "no-bios",
"default_boot_interface": "pxe", "default_boot_interface": "pxe",
"default_console_interface": "no-console", "default_console_interface": "no-console",
"default_deploy_interface": "iscsi", "default_deploy_interface": "iscsi",
@ -10,6 +11,9 @@
"default_rescue_interface": "no-rescue", "default_rescue_interface": "no-rescue",
"default_storage_interface": "noop", "default_storage_interface": "noop",
"default_vendor_interface": "no-vendor", "default_vendor_interface": "no-vendor",
"enabled_bios_interfaces": [
"no-bios"
],
"enabled_boot_interfaces": [ "enabled_boot_interfaces": [
"pxe" "pxe"
], ],

View File

@ -1,6 +1,7 @@
{ {
"drivers": [ "drivers": [
{ {
"default_bios_interface": null,
"default_boot_interface": null, "default_boot_interface": null,
"default_console_interface": null, "default_console_interface": null,
"default_deploy_interface": null, "default_deploy_interface": null,
@ -12,6 +13,7 @@
"default_rescue_interface": null, "default_rescue_interface": null,
"default_storage_interface": null, "default_storage_interface": null,
"default_vendor_interface": null, "default_vendor_interface": null,
"enabled_bios_interfaces": null,
"enabled_boot_interfaces": null, "enabled_boot_interfaces": null,
"enabled_console_interfaces": null, "enabled_console_interfaces": null,
"enabled_deploy_interfaces": null, "enabled_deploy_interfaces": null,
@ -50,6 +52,7 @@
"type": "classic" "type": "classic"
}, },
{ {
"default_bios_interface": null,
"default_boot_interface": null, "default_boot_interface": null,
"default_console_interface": null, "default_console_interface": null,
"default_deploy_interface": null, "default_deploy_interface": null,
@ -61,6 +64,7 @@
"default_rescue_interface": null, "default_rescue_interface": null,
"default_storage_interface": null, "default_storage_interface": null,
"default_vendor_interface": null, "default_vendor_interface": null,
"enabled_bios_interfaces": null,
"enabled_boot_interfaces": null, "enabled_boot_interfaces": null,
"enabled_console_interfaces": null, "enabled_console_interfaces": null,
"enabled_deploy_interfaces": null, "enabled_deploy_interfaces": null,
@ -99,6 +103,7 @@
"type": "classic" "type": "classic"
}, },
{ {
"default_bios_interface": "no-bios",
"default_boot_interface": "pxe", "default_boot_interface": "pxe",
"default_console_interface": "no-console", "default_console_interface": "no-console",
"default_deploy_interface": "iscsi", "default_deploy_interface": "iscsi",
@ -110,6 +115,9 @@
"default_rescue_interface": "no-rescue", "default_rescue_interface": "no-rescue",
"default_storage_interface": "noop", "default_storage_interface": "noop",
"default_vendor_interface": "no-vendor", "default_vendor_interface": "no-vendor",
"enabled_bios_interfaces": [
"no-bios"
],
"enabled_boot_interfaces": [ "enabled_boot_interfaces": [
"pxe" "pxe"
], ],