Skip to content

Glance V2: Add create action response headers support #1961

@kayrus

Description

@kayrus

In a cloud in which interoperable image import is enabled, the Image Create response will include a OpenStack-image-import-methods header listing the types of import methods available in that cloud. Alternatively, these methods may be determined independently of creating an image by making the Import Method Discovery call.

In a cloud in which multiple storage backends are available, the Image Create response will include a OpenStack-image-store-ids header listing the stores available in that cloud. Alternatively, these stores may be determined independently of creating an image by making the Stores Discovery call.

https://docs.openstack.org/api-ref/image/v2/#interoperable-image-import

https://github.com/openstack/glance/blob/stable/rocky/glance/api/v2/images.py#L961

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions