@@ -134,7 +134,7 @@ definitions:
134
134
example : ap-northeast-2
135
135
type : string
136
136
onpremiseInfraModel :
137
- $ref : ' #/definitions/onprem.OnPremInfra '
137
+ $ref : ' #/definitions/inframodel.OnpremInfra '
138
138
required :
139
139
- onpremiseInfraModel
140
140
type : object
@@ -165,122 +165,7 @@ definitions:
165
165
name :
166
166
type : string
167
167
type : object
168
- model.MyUser :
169
- properties :
170
- email :
171
- type : string
172
- id :
173
- type : integer
174
- name :
175
- type : string
176
- type : object
177
- model.Response :
178
- properties :
179
- details :
180
- example : Any details
181
- type : string
182
- list :
183
- items : {}
184
- type : array
185
- object :
186
- additionalProperties : true
187
- type : object
188
- success :
189
- example : true
190
- type : boolean
191
- text :
192
- example : Any text
193
- type : string
194
- type : object
195
- model.TbMciDynamicReq :
196
- properties :
197
- description :
198
- example : Made in CB-TB
199
- type : string
200
- installMonAgent :
201
- default : " no"
202
- description : InstallMonAgent Option for CB-Dragonfly agent installation ([yes/no]
203
- default:yes)
204
- enum :
205
- - " yes"
206
- - " no"
207
- example : " no"
208
- type : string
209
- label :
210
- additionalProperties :
211
- type : string
212
- description : Label is for describing the object by keywords
213
- type : object
214
- name :
215
- example : mci01
216
- type : string
217
- systemLabel :
218
- description : SystemLabel is for describing the mci in a keyword (any string
219
- can be used) for special System purpose
220
- example : " "
221
- type : string
222
- vm :
223
- items :
224
- $ref : ' #/definitions/model.TbVmDynamicReq'
225
- type : array
226
- required :
227
- - name
228
- - vm
229
- type : object
230
- model.TbVmDynamicReq :
231
- properties :
232
- commonImage :
233
- description : CommonImage is field for id of a image in common namespace
234
- example : ubuntu18.04
235
- type : string
236
- commonSpec :
237
- description : CommonSpec is field for id of a spec in common namespace
238
- example : aws+ap-northeast-2+t2.small
239
- type : string
240
- connectionName :
241
- description : |-
242
- if ConnectionName is given, the VM tries to use associtated credential.
243
- if not, it will use predefined ConnectionName in Spec objects
244
- type : string
245
- description :
246
- example : Description
247
- type : string
248
- label :
249
- additionalProperties :
250
- type : string
251
- description : Label is for describing the object by keywords
252
- type : object
253
- name :
254
- description : VM name or subGroup name if is (not empty) && (> 0). If it is
255
- a group, actual VM name will be generated with -N postfix.
256
- example : g1-1
257
- type : string
258
- rootDiskSize :
259
- default : default
260
- description : ' "default", Integer (GB): ["50", ..., "1000"]'
261
- example : default, 30, 42, ...
262
- type : string
263
- rootDiskType :
264
- default : default
265
- description : ' "", "default", "TYPE1", AWS: ["standard", "gp2", "gp3"], Azure:
266
- ["PremiumSSD", "StandardSSD", "StandardHDD"], GCP: ["pd-standard", "pd-balanced",
267
- "pd-ssd", "pd-extreme"], ALIBABA: ["cloud_efficiency", "cloud", "cloud_essd"],
268
- TENCENT: ["CLOUD_PREMIUM", "CLOUD_SSD"]'
269
- example : default, TYPE1, ...
270
- type : string
271
- subGroupSize :
272
- default : " 1"
273
- description : if subGroupSize is (not empty) && (> 0), subGroup will be generated.
274
- VMs will be created accordingly.
275
- example : " 3"
276
- type : string
277
- vmUserPassword :
278
- type : string
279
- required :
280
- - commonImage
281
- - commonSpec
282
- type : object
283
- onprem.CpuProperty :
168
+ inframodel.CpuProperty :
284
169
properties :
285
170
architecture :
286
171
example : x86_64
@@ -313,7 +198,7 @@ definitions:
313
198
- cpus
314
199
- threads
315
200
type : object
316
- onprem .DiskProperty :
201
+ inframodel .DiskProperty :
317
202
properties :
318
203
available :
319
204
description : Unit GiB
@@ -336,7 +221,7 @@ definitions:
336
221
- totalSize
337
222
- type
338
223
type : object
339
- onprem .MemoryProperty :
224
+ inframodel .MemoryProperty :
340
225
properties :
341
226
available :
342
227
description : Unit GiB
@@ -355,7 +240,7 @@ definitions:
355
240
- totalSize
356
241
- type
357
242
type : object
358
- onprem .NetworkInterfaceProperty :
243
+ inframodel .NetworkInterfaceProperty :
359
244
properties :
360
245
ipv4CidrBlocks :
361
246
description : IPv4 address with prefix length (e.g., 192.168.0.21/24), instead
@@ -383,7 +268,7 @@ definitions:
383
268
required :
384
269
- name
385
270
type : object
386
- onprem .NetworkProperty :
271
+ inframodel .NetworkProperty :
387
272
properties :
388
273
ipv4Networks :
389
274
example :
@@ -397,18 +282,18 @@ definitions:
397
282
type : string
398
283
type : array
399
284
type : object
400
- onprem.OnPremInfra :
285
+ inframodel.OnpremInfra :
401
286
properties :
402
287
network :
403
- $ref : ' #/definitions/onprem .NetworkProperty'
288
+ $ref : ' #/definitions/inframodel .NetworkProperty'
404
289
servers :
405
290
items :
406
- $ref : ' #/definitions/onprem .ServerProperty'
291
+ $ref : ' #/definitions/inframodel .ServerProperty'
407
292
type : array
408
293
required :
409
294
- servers
410
295
type : object
411
- onprem .OsProperty :
296
+ inframodel .OsProperty :
412
297
properties :
413
298
id :
414
299
example : ubuntu
@@ -436,7 +321,7 @@ definitions:
436
321
required :
437
322
- prettyName
438
323
type : object
439
- onprem .RouteProperty :
324
+ inframodel .RouteProperty :
440
325
properties :
441
326
destination :
442
327
description : Destination network, expressed in CIDR format
@@ -463,31 +348,146 @@ definitions:
463
348
description : Optionally stores the source address (used for policy-based routing)
464
349
type : string
465
350
type : object
466
- onprem .ServerProperty :
351
+ inframodel .ServerProperty :
467
352
properties :
468
353
cpu :
469
- $ref : ' #/definitions/onprem .CpuProperty'
354
+ $ref : ' #/definitions/inframodel .CpuProperty'
470
355
dataDisks :
471
356
items :
472
- $ref : ' #/definitions/onprem .DiskProperty'
357
+ $ref : ' #/definitions/inframodel .DiskProperty'
473
358
type : array
474
359
hostname :
475
360
type : string
476
361
interfaces :
477
362
items :
478
- $ref : ' #/definitions/onprem .NetworkInterfaceProperty'
363
+ $ref : ' #/definitions/inframodel .NetworkInterfaceProperty'
479
364
type : array
480
365
memory :
481
- $ref : ' #/definitions/onprem .MemoryProperty'
366
+ $ref : ' #/definitions/inframodel .MemoryProperty'
482
367
os :
483
- $ref : ' #/definitions/onprem .OsProperty'
368
+ $ref : ' #/definitions/inframodel .OsProperty'
484
369
rootDisk :
485
- $ref : ' #/definitions/onprem .DiskProperty'
370
+ $ref : ' #/definitions/inframodel .DiskProperty'
486
371
routingTable :
487
372
items :
488
- $ref : ' #/definitions/onprem .RouteProperty'
373
+ $ref : ' #/definitions/inframodel .RouteProperty'
489
374
type : array
490
375
type : object
376
+ model.MyUser :
377
+ properties :
378
+ email :
379
+ type : string
380
+ id :
381
+ type : integer
382
+ name :
383
+ type : string
384
+ type : object
385
+ model.Response :
386
+ properties :
387
+ details :
388
+ example : Any details
389
+ type : string
390
+ list :
391
+ items : {}
392
+ type : array
393
+ object :
394
+ additionalProperties : true
395
+ type : object
396
+ success :
397
+ example : true
398
+ type : boolean
399
+ text :
400
+ example : Any text
401
+ type : string
402
+ type : object
403
+ model.TbMciDynamicReq :
404
+ properties :
405
+ description :
406
+ example : Made in CB-TB
407
+ type : string
408
+ installMonAgent :
409
+ default : " no"
410
+ description : InstallMonAgent Option for CB-Dragonfly agent installation ([yes/no]
411
+ default:yes)
412
+ enum :
413
+ - " yes"
414
+ - " no"
415
+ example : " no"
416
+ type : string
417
+ label :
418
+ additionalProperties :
419
+ type : string
420
+ description : Label is for describing the object by keywords
421
+ type : object
422
+ name :
423
+ example : mci01
424
+ type : string
425
+ systemLabel :
426
+ description : SystemLabel is for describing the mci in a keyword (any string
427
+ can be used) for special System purpose
428
+ example : " "
429
+ type : string
430
+ vm :
431
+ items :
432
+ $ref : ' #/definitions/model.TbVmDynamicReq'
433
+ type : array
434
+ required :
435
+ - name
436
+ - vm
437
+ type : object
438
+ model.TbVmDynamicReq :
439
+ properties :
440
+ commonImage :
441
+ description : CommonImage is field for id of a image in common namespace
442
+ example : ubuntu18.04
443
+ type : string
444
+ commonSpec :
445
+ description : CommonSpec is field for id of a spec in common namespace
446
+ example : aws+ap-northeast-2+t2.small
447
+ type : string
448
+ connectionName :
449
+ description : |-
450
+ if ConnectionName is given, the VM tries to use associtated credential.
451
+ if not, it will use predefined ConnectionName in Spec objects
452
+ type : string
453
+ description :
454
+ example : Description
455
+ type : string
456
+ label :
457
+ additionalProperties :
458
+ type : string
459
+ description : Label is for describing the object by keywords
460
+ type : object
461
+ name :
462
+ description : VM name or subGroup name if is (not empty) && (> 0). If it is
463
+ a group, actual VM name will be generated with -N postfix.
464
+ example : g1-1
465
+ type : string
466
+ rootDiskSize :
467
+ default : default
468
+ description : ' "default", Integer (GB): ["50", ..., "1000"]'
469
+ example : default, 30, 42, ...
470
+ type : string
471
+ rootDiskType :
472
+ default : default
473
+ description : ' "", "default", "TYPE1", AWS: ["standard", "gp2", "gp3"], Azure:
474
+ ["PremiumSSD", "StandardSSD", "StandardHDD"], GCP: ["pd-standard", "pd-balanced",
475
+ "pd-ssd", "pd-extreme"], ALIBABA: ["cloud_efficiency", "cloud", "cloud_essd"],
476
+ TENCENT: ["CLOUD_PREMIUM", "CLOUD_SSD"]'
477
+ example : default, TYPE1, ...
478
+ type : string
479
+ subGroupSize :
480
+ default : " 1"
481
+ description : if subGroupSize is (not empty) && (> 0), subGroup will be generated.
482
+ VMs will be created accordingly.
483
+ example : " 3"
484
+ type : string
485
+ vmUserPassword :
486
+ type : string
487
+ required :
488
+ - commonImage
489
+ - commonSpec
490
+ type : object
491
491
externalDocs :
492
492
description : ▶▶▶ CB-Tumblebug REST API (access via Beetle's reverse proxy)
493
493
url : http://localhost:8056/tumblebug/api/index.html
0 commit comments