Skip to content

OpenAPI DiskConfig requires path, preventing vhost_socket disk usage #7016

@lukasfrank

Description

@lukasfrank

Describe the bug
The add-disk / disk command does not match the OpenAPI spec.

The DiskConfig requires the path to be present which does not allow to add a vhost devices using a vhost_socket only.

The path and vhost_socket should be mutually exclusive.

To Reproduce
Steps to reproduce the behavior:

  • Generate a Client based on the OpenAPI spec
  • DiskConfig with path required enforces that path is being set
  • Validation hits Failed to validate config: Disk path and vhost socket both provided

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions