Note that it isn't possible to always have required=True/False because some of them depend on other things. See eg: https://github.com/openstack/ironic/blob/31d889a7c45c63664969c89878e88652697b7949/ironic/drivers/modules/ipmitool.py#L80-L92
We (or I) did go down that road and was going to put in some field with required, but at the time, it wasn't clear how we wanted to handle the 'depends' case.
Here's the spec for the existing command. If nothing else, it will be of historical interest :) : http://specs.openstack.org/openstack/ironic-specs/specs/juno-implemented/get-required-driver-info.html -
Note that it isn't possible to always have required=True/False because some of them depend on other things. See eg: https:/ /github. com/openstack/ ironic/ blob/31d889a7c4 5c63664969c8987 8e88652697b7949 /ironic/ drivers/ modules/ ipmitool. py#L80- L92
We (or I) did go down that road and was going to put in some field with required, but at the time, it wasn't clear how we wanted to handle the 'depends' case.
Here's the spec for the existing command. If nothing else, it will be of historical interest :) : http:// specs.openstack .org/openstack/ ironic- specs/specs/ juno-implemente d/get-required- driver- info.html
-