Skip to content

Commit

Permalink
Flavors as object with flavor information
Browse files Browse the repository at this point in the history
Signed-off-by: Felipe Vicens <[email protected]>
  • Loading branch information
felipevicens committed Aug 5, 2024
1 parent d6fbf60 commit bc455b1
Showing 1 changed file with 27 additions and 3 deletions.
30 changes: 27 additions & 3 deletions code/API_definitions/Edge-Application-Management.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -935,9 +935,33 @@ components:
description: List of unique Name IDs of Infrastructure Flavors
type: array
items:
type: string
description: Flavor ID
example: A1.2C2M.GPU8G
type: object
description: Flavor
required:
- id
- numCpu
- memory
- gpuMemory
properties:
id:
type: string
example: A1.8C10M.GPU8G
description:
type: string
description: Additional information about the flavor
example: "x86 flavor"
numCPU:
type: integer
example: 8
description: Number of virtual Cores
memory:
type: integer
example: 10
description: Amount of memory in giga bytes
gpuMemory:
type: integer
example: 16
description: GPU memory in giga bytes

ErrorInfo:
type: object
Expand Down

0 comments on commit bc455b1

Please sign in to comment.