src: add rhel-93
This commit is contained in:
parent
303e557f07
commit
6e737c59a9
6 changed files with 89 additions and 6 deletions
|
|
@ -383,6 +383,37 @@ paths:
|
|||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/Customizations'
|
||||
/experimental/blueprint:
|
||||
post:
|
||||
summary: create blueprint
|
||||
description: "create blueprint"
|
||||
operationId: createBlueprint
|
||||
requestBody:
|
||||
required: true
|
||||
description: details of blueprint
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/CreateBlueprintRequest"
|
||||
responses:
|
||||
'201':
|
||||
description: blueprint was saved
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/CreateBlueprintResponse'
|
||||
'400':
|
||||
description: blueprint is malformed
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/HTTPErrorList'
|
||||
'403':
|
||||
description: user is not allowed to create blueprints
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/HTTPErrorList'
|
||||
|
||||
components:
|
||||
schemas:
|
||||
|
|
@ -581,6 +612,43 @@ components:
|
|||
Array of exactly one image request. Having more image requests in one compose is currently not supported.
|
||||
customizations:
|
||||
$ref: '#/components/schemas/Customizations'
|
||||
CreateBlueprintRequest:
|
||||
type: object
|
||||
additionalProperties: false
|
||||
required:
|
||||
- name
|
||||
- description
|
||||
- distribution
|
||||
- image_requests
|
||||
- customizations
|
||||
properties:
|
||||
name:
|
||||
type: string
|
||||
example: "My Blueprint"
|
||||
maxLength: 100
|
||||
description:
|
||||
type: string
|
||||
example: "My blueprint description"
|
||||
maxLength: 250
|
||||
distribution:
|
||||
$ref: '#/components/schemas/Distributions'
|
||||
image_requests:
|
||||
type: array
|
||||
minItems: 1
|
||||
items:
|
||||
$ref: '#/components/schemas/ImageRequest'
|
||||
uniqueItems: true
|
||||
description: |
|
||||
Array of image requests. Having more image requests in a single blueprint is currently not supported.
|
||||
customizations:
|
||||
$ref: '#/components/schemas/Customizations'
|
||||
CreateBlueprintResponse:
|
||||
required:
|
||||
- id
|
||||
properties:
|
||||
id:
|
||||
type: string
|
||||
format: uuid
|
||||
Distributions:
|
||||
type: string
|
||||
description: |
|
||||
|
|
@ -601,6 +669,7 @@ components:
|
|||
- rhel-90
|
||||
- rhel-91
|
||||
- rhel-92
|
||||
- rhel-93
|
||||
- centos-8
|
||||
- centos-9
|
||||
- fedora-37
|
||||
|
|
@ -845,6 +914,17 @@ components:
|
|||
$ref: '#/components/schemas/User'
|
||||
description:
|
||||
"list of users that a customer can add, also specifying their respective groups and SSH keys"
|
||||
partitioning_mode:
|
||||
type: string
|
||||
enum:
|
||||
- raw
|
||||
- lvm
|
||||
- auto-lvm
|
||||
description: |
|
||||
Select how the disk image will be partitioned. 'auto-lvm' will use raw unless
|
||||
there are one or more mountpoints in which case it will use LVM. 'lvm' always
|
||||
uses LVM, even when there are no extra mountpoints. 'raw' uses raw partitions
|
||||
even when there are one or more mountpoints.
|
||||
User:
|
||||
type: object
|
||||
required:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue