Commit graph

155 commits

Author SHA1 Message Date
Nico Schottelius
08fe3e689e Add debug to opennebula, create VM disks from opennebula correctly 2020-03-22 17:30:55 +01:00
Nico Schottelius
10c5257f90 Introduce "extra_data" jsonfield 2020-03-21 11:59:04 +01:00
Nico Schottelius
a32f7522b5 Relate VM to disks and snapshots 2020-03-18 15:43:01 +01:00
Nico Schottelius
4b4cbbf009 Also list snapshots for a VM 2020-03-18 15:19:06 +01:00
Nico Schottelius
c6a9bd4363 Make balance a user attribute + decimalfield 2020-03-18 14:53:26 +01:00
Nico Schottelius
cd01f62fde Move user view to uncloud_auth 2020-03-18 14:36:40 +01:00
Nico Schottelius
2f1aee8181 Can create a VMSnapshot w/ order (bugs to be removed) 2020-03-17 19:53:14 +01:00
Nico Schottelius
6a382fab23 [vmhost] add used_ram_in_gb 2020-03-17 19:07:00 +01:00
Nico Schottelius
b9473c1803 ++ fix opennebula migration 2020-03-17 16:03:41 +01:00
Nico Schottelius
cc2efa5c14 Remove old opennebula view, remove vmid field 2020-03-17 15:40:08 +01:00
Nico Schottelius
5d840de55c [opennebula] refresh formula, cleanup vm import/migration to uncloud 2020-03-17 15:39:24 +01:00
Nico Schottelius
9f4b927c74 Introduce mirations to ungleich_service to make tests work 2020-03-17 14:50:28 +01:00
Nico Schottelius
55bd42fe64 List all VMs for admins 2020-03-17 14:50:14 +01:00
Nico Schottelius
8634d667d5 update requirements for graphing 2020-03-17 14:49:59 +01:00
Nico Schottelius
ac7ea86668 rename opennebula commands 2020-03-17 14:49:49 +01:00
Nico Schottelius
8356404fe4 ++ product readme 2020-03-17 14:49:36 +01:00
Nico Schottelius
723d2a99cc add django…extensions to support "graph_models" 2020-03-17 13:30:48 +01:00
Nico Schottelius
8f4e7cca1b add migrations to ungleich_service so tests don't fail
Signed-off-by: Nico Schottelius <nico@nico-notebook.schottelius.org>
2020-03-17 12:46:02 +01:00
b15a12dc71 Missing import for DCLVMProductSerializer 2020-03-13 14:22:49 +05:00
Nico Schottelius
47148454f6 s/_/-/ for bill id 2020-03-06 11:11:16 +01:00
Nico Schottelius
0032c272e7 Merge branch 'bill-id' of code.ungleich.ch:nico/meow-pay 2020-03-06 11:10:47 +01:00
Nico Schottelius
263125048d Begin to introduce a DCL alike view for VMs 2020-03-06 11:10:20 +01:00
658262c599 Add human readable reference to bills 2020-03-06 09:39:41 +01:00
c41b55573a Fix order link in BillRecordSerializer 2020-03-06 09:32:25 +01:00
4016c28c5f Fix generate-bills 2020-03-06 09:17:31 +01:00
Nico Schottelius
aa8336b7e4 VM: def __str__ 2020-03-05 23:55:33 +01:00
Nico Schottelius
0e6a6afd88 [opennebula] Fix fields/serializers 2020-03-05 23:18:07 +01:00
Nico Schottelius
efbe1c0596 Merge commands into the "vm" command 2020-03-05 17:52:01 +01:00
Nico Schottelius
b8c2f80e45 [vmhost] add available_ram_in_gb and available_cores 2020-03-05 15:06:34 +01:00
Nico Schottelius
139aca6a61 Remove vms field from vmhost
Signed-off-by: Nico Schottelius <nico@nico-notebook.schottelius.org>
2020-03-05 14:58:45 +01:00
Nico Schottelius
2a73f0e767 [migration] make vm name optional, use storage class choices
Signed-off-by: Nico Schottelius <nico@nico-notebook.schottelius.org>
2020-03-05 14:22:56 +01:00
Nico Schottelius
66e224e926 [storage] move choices to uncloud_storage 2020-03-05 14:21:10 +01:00
Nico Schottelius
ec7a2a3c3a Correct pricing for VMProduct 2020-03-05 14:00:14 +01:00
Nico Schottelius
cf17373b3f Fix ahmed introduced migrations
Signed-off-by: Nico Schottelius <nico@nico-notebook.schottelius.org>
2020-03-05 11:35:00 +01:00
Nico Schottelius
14a4fa8cc1 Merge remote-tracking branch 'ahmed/migrate-one-to-regular-vm' 2020-03-05 11:34:15 +01:00
Nico Schottelius
4fc1c36ae9 fix incorrect migrations from fnux-stable branch
Signed-off-by: Nico Schottelius <nico@nico-notebook.schottelius.org>
2020-03-05 11:17:30 +01:00
371c5ccf00 Merge remote-tracking branch 'origin/fnux-hacks' 2020-03-04 12:12:22 +01:00
faca104459 Fix stripe import in uncloud_pay.models 2020-03-04 11:05:21 +01:00
9e8149135b Move bill generation logic to Bill class, initial work for prepaid 2020-03-04 10:55:12 +01:00
02b287eff8 small cleaning 2020-03-04 14:44:41 +05:00
9aabc66e57 Pay: move some model-related methods from helpers to models
Otherwise we end up in circular dependency hell
2020-03-04 09:39:18 +01:00
a662b1fe29 Make migrate-one-vm-to-regular command idempotent 2020-03-04 13:25:46 +05:00
88c10e2e4a improve readability 2020-03-03 23:53:45 +05:00
fea0568bb9 init commit 2020-03-03 23:46:39 +05:00
e0cb6ac670 Allow for charging customers 2020-03-03 18:16:25 +01:00
Nico Schottelius
ebc9238845 recreate all migrations
Signed-off-by: Nico Schottelius <nico@nico-notebook.schottelius.org>
2020-03-03 17:50:52 +01:00
94a39ed81d Properly wire stripe card to payment methods 2020-03-03 16:56:42 +01:00
5c2d2a5b94 Document relations for Orders and Managed Services 2020-03-03 13:14:51 +01:00
Nico Schottelius
e9ef2acb06 Add readme for objects 2020-03-03 12:15:05 +01:00
3846e49395 Fix migration issue introduced in previous merge 2020-03-03 11:40:37 +01:00