ironic.common.release_mappings module

ironic.common.release_mappings.get_object_versions(releases=None, objects=None)[source]

Gets the supported versions for all objects.

Supported versions are from the RELEASE_MAPPINGs.

Parameters:
  • releases – a list of release names; if empty/None, versions from all releases are returned (the default).

  • objects – a list of names of objects of interest. If empty/None, versions of all objects are returned (the default).

Returns:

a dictionary where the key is the object name and the value is a set of supported versions.