diff options
| author | bozo.kopic <bozo.kopic@gmail.com> | 2017-07-03 23:37:44 +0200 |
|---|---|---|
| committer | bozo.kopic <bozo.kopic@gmail.com> | 2017-07-03 23:37:44 +0200 |
| commit | 12287171a8a9b9408b82dffa039804e0d8f62a95 (patch) | |
| tree | e1b824d6e7265718f2289b58726321cb68bca44b /schemas_json/project.yaml | |
| parent | fe888f22a7183740dd2381b8d5d08c0fb1fcf3b7 (diff) | |
executor
Diffstat (limited to 'schemas_json/project.yaml')
| -rw-r--r-- | schemas_json/project.yaml | 108 |
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: | |
