Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EAM: allow for fractional vcpus #254

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 15 additions & 3 deletions code/API_definitions/Edge-Application-Management.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1035,9 +1035,7 @@ components:
- storage
properties:
numCPU:
type: integer
description: Number of virtual CPUs
example: 1
$ref: '#/components/schemas/Vcpu'
memory:
type: integer
example: 10
Expand Down Expand Up @@ -1067,6 +1065,20 @@ components:
identifies the endpoint within an Edge Cloud Zone where the user
equipment may connect to the selected application instance

Vcpu:
type: string
pattern: ^\d+((\.\d{1,3})|(m))?$
description: |
Number of vcpus in whole, decimal up to millivcpu,
or millivcpu format.
example:
whole:
value: 2
decimal:
value: 0.500
millivcpu:
value: 500m

responses:
'400':
description: Bad request
Expand Down