· 7 years ago · Jan 15, 2019, 09:02 AM
1{
2 "resources": [{
3 "data": {
4 "name": "keypair-test",
5 "uuid": "4e77005b-b7ba-489b-9891-8472cee8ghts",
6 "parent_type": "global-system-config",
7 "fq_name": [
8 "default-global-system-config",
9 "keypair-4e77005b-b7ba-489b-9891-8472cee8ghts"
10 ],
11 "ssh_public_key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQD0AcaBPDy0pUYCzYt8MZTwItANNZv6PnzS2vrdyd0V7Gg3TGwVeNq2Gy8DErLGSd3b10ztuIy8KaYjMAVlh0znQgUwJajIPc/3ENtZ3vmtJbiuFpSv6lWhc0shLmju1Q8/rxSdjMYQKaur0Hg2fi9P7L1t67NJpAO+a0unCfmiOdmMJr/sWBacn9OuyH3ZK0EkJJJ6hDbnNlTEed19hBz33jaK9lJnsOggbVd/zEPzhpDb3WlWrUu98bc6TKc3Kj6Wk10tJjKGmG3L/og4RBBfBKpHYOykIOmjlLCi2dDnBzRFXLNoV1OaETVpLeu9Q5+nIM/o2PaywH6WbuAhYqeL root@vin-command"
12 },
13 "kind": "keypair",
14 "operation": "CREATE"
15 },
16 {
17 "data": {
18 "name": "credential-9d0fffff-3fd8-439c-bdb2-ff5800497579",
19 "uuid": "9d0fffff-3fd8-439c-bdb2-ff5800497579",
20 "parent_type": "global-system-config",
21 "fq_name": [
22 "default-global-system-config",
23 "credential-9d0fffff-3fd8-439c-bdb2-ff5800497579"
24 ],
25 "ssh_user": "ec2-user",
26 "keypair_refs": [
27 {
28 "uuid": "4e77005b-b7ba-489b-9891-8472cee8ghts"
29 }
30 ]
31 },
32 "kind": "credential",
33 "operation": "CREATE"
34 },
35 {
36 "data": {
37 "uuid": "4e77005b-b7ba-489b-9891-8472cee9eadf",
38 "name": "account_user",
39 "fq_name": [
40 "account_user"
41 ],
42 "display_name": "account_user",
43 "perms2": {
44 "owner": "admin"
45 },
46 "credential_refs": [
47 {
48 "uuid": "9d0fffff-3fd8-439c-bdb2-ff5800497579"
49 }
50 ],
51 "aws_credential": {
52 "AWSCredential": {
53 "access_key": "",
54 "secret_key": ""
55 }
56 }
57 },
58 "kind": "cloud_user",
59 "operation": "CREATE"
60 },
61 {
62 "data": {
63 "provisioning_state": "NOSTATE",
64 "uuid": "dfb40e0d-c9f4-47cd-bd5c-1efdd28fd4fc",
65 "name": "cloud_test",
66 "fq_name": [
67 "cloud_test"
68 ],
69 "display_name": "cloud_test",
70 "perms2": {
71 "owner": "admin"
72 },
73 "organization": "test",
74 "project": "5.0.3",
75 "cloud_user_refs": [
76 {
77 "uuid": "4e77005b-b7ba-489b-9891-8472cee9eadf"
78 }
79 ]
80 },
81 "kind": "cloud",
82 "operation": "CREATE"
83 },
84 {
85 "data": {
86 "name": "cloud_provider_test",
87 "parent_type": "cloud",
88 "fq_name": [
89 "cloud_test",
90 "cloud_provider_test"
91 ],
92 "display_name": "cloud_provider_test",
93 "perms2": {
94 "owner": "admin"
95 },
96 "type": "aws"
97 },
98 "kind": "cloud_provider",
99 "operation": "CREATE"
100 },
101 {
102 "data": {
103 "name": "us-west-1",
104 "parent_type": "cloud-provider",
105 "fq_name": [
106 "cloud_test",
107 "cloud_provider_test",
108 "cloud_region_test"
109 ],
110 "display_name": "cloud_region_test",
111 "perms2": {
112 "owner": "admin"
113 }
114 },
115 "kind": "cloud_region",
116 "operation": "CREATE"
117 },
118 {
119 "data": {
120 "name": "virtual_cloud_test",
121 "parent_type": "cloud-region",
122 "fq_name": [
123 "cloud_test",
124 "cloud_provider_test",
125 "cloud_region_test",
126 "virtual_cloud_test"
127 ],
128 "display_name": "virtual_cloud_test",
129 "perms2": {
130 "owner": "admin"
131 },
132 "cidr_block": "192.168.0.0/16"
133 },
134 "kind": "virtual_cloud",
135 "operation": "CREATE"
136 },
137 {
138 "data": {
139 "uuid": "4bd887b1-3f65-59c1-bc2f-dfbaeac5798d",
140 "name": "pvt_subnet_test",
141 "parent_type": "virtual-cloud",
142 "fq_name": [
143 "virtual_cloud_test",
144 "pvt_subnet_test"
145 ],
146 "display_name": "pvt_subnet_test",
147 "perms2": {
148 "owner": "admin"
149 },
150 "cidr_block": "192.168.100.0/24",
151 "availability_zone": "a"
152 },
153 "kind": "cloud_private_subnet",
154 "operation": "CREATE"
155 },
156 {
157 "data": {
158 "uuid": "4bd887b1-3f65-59c1-bc2f-dfbaeac57123",
159 "name": "cloud_security_group_test",
160 "parent_type": "virtual-cloud",
161 "fq_name": [
162 "virtual_cloud_test",
163 "cloud_security_group_test"
164 ],
165 "display_name": "cloud_security_group_test",
166 "perms2": {
167 "owner": "admin"
168 }
169 },
170 "kind": "cloud_security_group",
171 "operation": "CREATE"
172 },
173 {
174 "data": {
175 "name": "pvt_sg_rule_test",
176 "parent_type": "cloud-security-group",
177 "fq_name": [
178 "virtual_cloud_test",
179 "cloud_security_group_test",
180 "pvt_sg_rule_test"
181 ],
182 "display_name": "pvt_sg_rule_test",
183 "perms2": {
184 "owner": "admin"
185 },
186 "direction": "ingress",
187 "protocol": "tcp"
188 },
189 "kind": "cloud_security_group_rule",
190 "operation": "CREATE"
191 },
192 {
193 "data": {
194 "name": "pvt_sg_rule_test_egress",
195 "parent_type": "cloud-security-group",
196 "fq_name": [
197 "virtual_cloud_test",
198 "cloud_security_group_test",
199 "pvt_sg_rule_test_egress"
200 ],
201 "display_name": "pvt_sg_rule_test_egress",
202 "perms2": {
203 "owner": "admin"
204 },
205 "direction": "egress",
206 "protocol": "tcp"
207 },
208 "kind": "cloud_security_group_rule",
209 "operation": "CREATE"
210 },
211 {
212 "data": {
213 "uuid": "4bd887b1-3f65-59c1-bc2f-dfbaenew43526",
214 "name": "instance_gw_test",
215 "parent_type": "virtual-cloud",
216 "fq_name": [
217 "cloud_test",
218 "cloud_provider_test",
219 "cloud_region_test",
220 "virtual_cloud_test",
221 "instance_gw_test"
222 ],
223 "display_name": "instance_gw_test",
224 "perms2": {
225 "owner": "admin"
226 },
227 "hostname": "gateway",
228 "interface_name": "eth1",
229 "type": "private",
230 "cloud_info": {
231 "availability_zone": "a",
232 "machine_id": "ami-6871a115",
233 "instance_type": "t2.xlarge",
234 "roles": [
235 "gateway"
236 ]
237 },
238 "cloud_private_subnet_refs": [
239 {
240 "uuid": "4bd887b1-3f65-59c1-bc2f-dfbaeac5798d"
241 }
242 ],
243 "credential_refs": [
244 {
245 "uuid": "9d0fffff-3fd8-439c-bdb2-ff5800497579"
246 }
247 ]
248 },
249 "kind": "node",
250 "operation": "CREATE"
251 },
252 {
253 "data": {
254 "uuid": "4bd887b1-3f65-59c1-bc2f-dfbaenew43634",
255 "name": "instance_compute_test",
256 "parent_type": "virtual-cloud",
257 "fq_name": [
258 "cloud_test",
259 "cloud_provider_test",
260 "cloud_region_test",
261 "virtual_cloud_test",
262 "instance_compute_test"
263 ],
264 "display_name": "instance_compute_test",
265 "perms2": {
266 "owner": "admin"
267 },
268 "hostname": "compute",
269 "interface_name": "eth0",
270 "type": "private",
271 "cloud_info": {
272 "availability_zone": "a",
273 "machine_id": "ami-6871a115",
274 "instance_type": "t2.xlarge",
275 "volume_size": 24,
276 "roles": [
277 "compute"
278 ]
279 },
280 "cloud_private_subnet_refs": [
281 {
282 "uuid": "4bd887b1-3f65-59c1-bc2f-dfbaeac5798d"
283 }
284 ],
285 "credential_refs": [
286 {
287 "uuid": "9d0fffff-3fd8-439c-bdb2-ff5800497579"
288 }
289 ]
290 },
291 "kind": "node",
292 "operation": "CREATE"
293 },
294 {
295 "data": {
296 "uuid": "4bd887b1-3f65-59c1-bc2f-dfbaenew43598",
297 "name": "instance_k8s_master_test",
298 "parent_type": "virtual-cloud",
299 "fq_name": [
300 "cloud_test",
301 "cloud_provider_test",
302 "cloud_region_test",
303 "virtual_cloud_test",
304 "instance_k8s_master_test"
305 ],
306 "display_name": "instance_k8s_master_test",
307 "perms2": {
308 "owner": "admin"
309 },
310 "hostname": "k8s-master",
311 "interface_name": "eth1",
312 "type": "private",
313 "cloud_info": {
314 "availability_zone": "a",
315 "machine_id": "ami-6871a115",
316 "instance_type": "t2.xlarge",
317 "volume_size": 24,
318 "roles": [
319 "k8s_master"
320 ]
321 },
322 "cloud_private_subnet_refs": [
323 {
324 "uuid": "4bd887b1-3f65-59c1-bc2f-dfbaeac5798d"
325 }
326 ],
327 "credential_refs": [
328 {
329 "uuid": "9d0fffff-3fd8-439c-bdb2-ff5800497579"
330 }
331 ]
332 },
333 "kind": "node",
334 "operation": "CREATE"
335 }
336 ]
337}