d44ea97fd3
Since now, all flavors that have less than 10 GB disk will not be added to the possible selection. Also, unnecessary backslashes were removed. Change-Id: I0839a4252957acd2be9dddbd335674c22c3d57a5
76 lines
2.5 KiB
YAML
76 lines
2.5 KiB
YAML
Version: 2
|
|
|
|
Application:
|
|
?:
|
|
type: io.murano.apps.docker.DockerStandaloneHost
|
|
name: $.appConfiguration.name
|
|
dockerRegistry: $.appConfiguration.dockerRegistry
|
|
instance:
|
|
?:
|
|
type: io.murano.resources.LinuxMuranoInstance
|
|
name: generateHostname($.instanceConfiguration.unitNamingPattern, 1)
|
|
flavor: $.instanceConfiguration.flavor
|
|
image: 'ubuntu14.04-x64-docker'
|
|
keyname: $.instanceConfiguration.keyPair
|
|
assignFloatingIp: $.appConfiguration.assignFloatingIP
|
|
availabilityZone: $.instanceConfiguration.availabilityZone
|
|
|
|
Forms:
|
|
- appConfiguration:
|
|
fields:
|
|
- name: name
|
|
type: string
|
|
label: Application Name
|
|
initial: Docker Standalone Host
|
|
description: >-
|
|
Enter a desired name for the application. Just A-Z, a-z, 0-9, dash and
|
|
underline are allowed
|
|
- name: assignFloatingIP
|
|
type: boolean
|
|
label: Assign Floating IP
|
|
description: >-
|
|
Select to true to assign floating IP automatically
|
|
initial: true
|
|
required: false
|
|
- name: dockerRegistry
|
|
type: string
|
|
label: Custom Docker registry URL
|
|
description: >-
|
|
URL of docker repository mirror to use. Leave empty for Docker default
|
|
required: false
|
|
|
|
- instanceConfiguration:
|
|
fields:
|
|
- name: title
|
|
type: string
|
|
required: false
|
|
hidden: true
|
|
description: Specify some instance parameters on which the application would be created
|
|
- name: flavor
|
|
type: flavor
|
|
label: Instance flavor
|
|
description: >-
|
|
Select registered in Openstack flavor. Consider that application performance
|
|
depends on this parameter.
|
|
required: false
|
|
requirements:
|
|
min_disk: 10
|
|
min_memory_mb: 1024
|
|
min_vcpus: 1
|
|
- name: keyPair
|
|
type: keypair
|
|
label: Key Pair
|
|
description: >-
|
|
Select a Key Pair to control access to instances. You can login to
|
|
instances using this KeyPair after the deployment of application.
|
|
required: false
|
|
- name: availabilityZone
|
|
type: azone
|
|
label: Availability zone
|
|
description: Select availability zone where the application would be installed.
|
|
required: false
|
|
- name: unitNamingPattern
|
|
label: Hostname
|
|
type: string
|
|
required: false
|