Project

General

Profile

Actions

Task #6909

closed

Task #6869: Challenge OpenStack and OpenNebula with ucloud

Task #6908: ucloud v2 features

Accept units in ucloud-api, but store in non-unit format

Added by Nico Schottelius over 5 years ago. Updated about 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
-
Start date:
07/01/2019
Due date:
% Done:

0%

Estimated time:
PM Check date:

Description

I suggest that ucloud-api parses MB/GB/TB/EB/PB/etc. but stores without a modifier - i.e. in bytes

Actions #1

Updated by Ahmed Bilal over 5 years ago

  • Status changed from New to Feedback

Done.

Actions #2

Updated by Ahmed Bilal over 5 years ago

  • Status changed from Feedback to In Progress
Actions #3

Updated by Ahmed Bilal about 5 years ago

  • Status changed from In Progress to Closed

nico: Hmm. I am sure the client and probably the API both should understand units, because people will post weird json to it and don't want / should not need to talk in bytes / cents
It might even be easier for us, if we store units in etcd, so we can easily debug it

https://chat.ungleich.ch/ungleich/pl/cjgth5n9xpnrdj6tod4whkebfe

So, now ucloud-api accept units and we also store units in etcd.

Actions

Also available in: Atom PDF