-
Notifications
You must be signed in to change notification settings - Fork 13
/
apb.yml
174 lines (174 loc) · 4.68 KB
/
apb.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
version: 1.0
name: import-vm-apb
description: Import Virtual Machine
bindable: False
async: optional
tags:
- virtualmachine
metadata:
displayName: Import Virtual Machine
imageUrl: https://cdn.pbrd.co/images/H5Gutd7.png
longDescription: |
Import Virtual Machine from an existing image or a VMware environment.
plans:
- name: vmware
description: Import a virtual machine from VMware vCenter.
free: True
metadata:
displayName: c. Import from VMware.
parameters:
- title: OpenShift Admin Username
name: admin_user
type: string
required: true
- title: OpenShift Admin Password
name: admin_password
type: string
required: true
display_type: password
- title: VMware URL to EXSi
name: url
type: string
required: true
- title: Virtual Machine Name
name: vm_name
type: string
required: true
pattern: "^[a-z0-9.-]*$"
- title: VMware Admin Username
name: username
type: string
required: true
display_type: username
- title: VMware Admin Password
name: password
type: string
required: true
display_type: password
- title: Operating System Type
name: os_type
default: linux
enum: ['linux', 'windows']
type: enum
- name: vmware-template
description: Import a virtual machine as a template from VMware vCenter.
free: True
metadata:
displayName: d. Import as a template from VMware.
parameters:
- title: OpenShift Admin Username
name: admin_user
type: string
required: true
- title: OpenShift Admin Password
name: admin_password
type: string
required: true
display_type: password
- title: VMware URL to EXSi
name: url
type: string
required: true
- title: Template Name
name: vm_name
type: string
required: true
pattern: "^[a-z0-9.-]*$"
- title: VMware Admin Username
name: username
type: string
required: true
display_type: username
- title: VMware Admin Password
name: password
type: string
required: true
display_type: password
- title: Operating System Type
name: os_type
default: linux
enum: ['linux', 'windows']
type: enum
- name: url
description: Create a virtual machine from a downloaded disk image.
free: True
metadata:
displayName: a. Import from URL.
parameters:
- title: Disk Image URL
name: disk_image_url
type: string
required: true
- title: Operating system type
name: os_type
default: linux
enum: ['linux', 'windows']
type: enum
- title: Virtual Machine Name
name: vm_name
type: string
required: true
pattern: "^[a-z0-9.-]*$"
- title: Number of Cores
name: nr_cores
required: true
type: int
default: 1
- title: Memory (MiB)
name: mem
required: true
type: int
default: 1024
- title: Disk Size (GiB) (leave at 0 to auto detect size)
name: disk_size_gb
type: int
default: 0
- title: Storage Class (leave empty to use the default storage class)
name: storage_class
type: string
- name: url-template
description: Create a virtual machine template from a downloaded disk image.
free: True
metadata:
displayName: b. Import as a template from URL.
parameters:
- title: OpenShift Admin Username
name: admin_user
type: string
required: true
- title: OpenShift Admin Password
name: admin_password
type: string
required: true
display_type: password
- title: Disk Image URL
name: disk_image_url
type: string
required: true
- title: Operating system type
name: os_type
default: linux
enum: ['linux', 'windows']
type: enum
- title: Template Name
name: vm_name
type: string
required: true
pattern: "^[a-z0-9.-]*$"
- title: Number of Cores
name: nr_cores
required: true
type: int
default: 1
- title: Memory (MiB)
name: mem
required: true
type: int
default: 1024
- title: Disk Size (GiB) (leave at 0 to auto detect size)
name: disk_size_gb
type: int
default: 0
- title: Storage Class (leave empty to use the default storage class)
name: storage_class
type: string