ironic.common.validate module

ironic.common.validate module

ironic.common.validate.is_bmc_subscription_id_valid(bmc_subscription_id: str) → bool[source]

Validate BMC IDs to be sent to Redfish subscription endpoints.

Note there’s no well-defined type or schema for these subscription IDs. Therefore we try to reject illegal characters or some short illegal substrings.

Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.