Skip to content

Commit

Permalink
Add json schema for the new tpm key
Browse files Browse the repository at this point in the history
  • Loading branch information
psss committed Oct 31, 2022
1 parent 3e07806 commit 6f65cc1
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions tmt/schemas/provision/hardware.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,17 @@ definitions:
items:
"$ref": "#/definitions/network"

# HW requirements: `tpm` block
tpm:
type: object

properties:
version:
type: string

additionalProperties: false
minProperties: 1

# HW requirements: `virtualization` block
virtualization:
type: object
Expand Down Expand Up @@ -179,6 +190,9 @@ definitions:
network:
"$ref": "#/definitions/networks"

tpm:
"$ref": "#/definitions/tpm"

virtualization:
"$ref": "#/definitions/virtualization"

Expand All @@ -200,6 +214,7 @@ definitions:
- "$ref": "#/definitions/cpu"
- "$ref": "#/definitions/disks"
- "$ref": "#/definitions/networks"
- "$ref": "#/definitions/tpm"
- "$ref": "#/definitions/virtualization"
- "$ref": "#/definitions/block"
- "$ref": "#/definitions/and"
Expand All @@ -219,6 +234,7 @@ definitions:
- "$ref": "#/definitions/cpu"
- "$ref": "#/definitions/disks"
- "$ref": "#/definitions/networks"
- "$ref": "#/definitions/tpm"
- "$ref": "#/definitions/virtualization"
- "$ref": "#/definitions/block"
- "$ref": "#/definitions/and"
Expand All @@ -233,6 +249,7 @@ definitions:
- "$ref": "#/definitions/cpu"
- "$ref": "#/definitions/disks"
- "$ref": "#/definitions/networks"
- "$ref": "#/definitions/tpm"
- "$ref": "#/definitions/virtualization"
- "$ref": "#/definitions/block"
- "$ref": "#/definitions/and"
Expand Down

0 comments on commit 6f65cc1

Please # to comment.