aboutsummaryrefslogtreecommitdiff
path: root/schemas_json
diff options
context:
space:
mode:
Diffstat (limited to 'schemas_json')
-rw-r--r--schemas_json/project.yaml108
1 files changed, 79 insertions, 29 deletions
diff --git a/schemas_json/project.yaml b/schemas_json/project.yaml
index f3440b9..cb3506b 100644
--- a/schemas_json/project.yaml
+++ b/schemas_json/project.yaml
@@ -5,37 +5,87 @@ title: Project
description: Project configuration
type: object
required:
- - domain
- - ssh_username
- - ssh_password
+ - vm
+ - ssh
- script
properties:
- uri:
- title: URI
- description: |
- Libvirt URI
- type: string
- default: "qemu:///system"
- domain:
- title: Domain
- description: |
- Domain registered with libvirt used as execution environment
- type: string
- snapshot:
- title: Snapshot
- description: |
- Snapshot used as initial execution environment state
- type: string
- ssh_username:
- title: SSH key
- description: |
- Username for connecting to VM guest SSH daemon
- type: string
- ssh_password:
- title: SSH password
- description: |
- Password for connecting to VM guest SSH daemon
- type: string
+ vm:
+ title: VM
+ description: VM configuration
+ type: object
+ required:
+ - domain
+ properties:
+ uri:
+ title: URI
+ description: Libvirt URI
+ type: string
+ default: "qemu:///system"
+ domain:
+ title: Domain
+ description: |
+ Domain registered with libvirt used as execution
+ environment
+ type: string
+ snapshot:
+ title: Snapshot
+ description: |
+ Snapshot used as initial execution environment state
+ type: string
+ temp_snapshot:
+ title: Temporary snapshot
+ description: |
+ Snapshot used for storing initial domain state
+ type: string
+ default: temp_hatter
+ get_address_retry_count:
+ title: Get address retry count
+ description: |
+ Maximum number of retries for obtaining running VM guest
+ IP address
+ type: integer
+ default: 10
+ get_address_delay:
+ title: Get address delay
+ description: |
+ Delay in seconds between successive get address requests
+ type: number
+ default: 5
+ ssh:
+ title: SSH
+ description: VM guest SSH daemon configuration
+ type: object
+ required:
+ - username
+ - password
+ properties:
+ username:
+ title: Username
+ description: Username for connecting to VM guest SSH daemon
+ type: string
+ password:
+ title: Password
+ description: Password for connecting to VM guest SSH daemon
+ type: string
+ connect_retry_count:
+ title: Connect retry count
+ description: |
+ Maximum number of connect retries
+ type: integer
+ default: 10
+ connect_delay:
+ title: Connect delay
+ description: |
+ Delay in seconds between successive connect calls
+ type: number
+ default: 5
+ connect_timeout:
+ title: Connect timeout
+ description: |
+ Single connect's TCP connect timeout and authenticate
+ timeout in seconds
+ type: number
+ default: 1
script:
title: Script
description: |