From c92dd706322f3faf5f68b2f448230a64d162ca95 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Sun, 20 Jan 2019 17:32:48 +0100 Subject: [PATCH] ++ changes --- vm-create | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/vm-create b/vm-create index 8baced4..a492e0e 100644 --- a/vm-create +++ b/vm-create @@ -25,9 +25,15 @@ # - infra.ungleich.ch checks that user has >= 1 ssh keys registered, otherwise gives error message # - infra.ungleich.ch then connects to pay.ungleich.ch verifying that the user can "afford" the VM / books it # infra passes (user, product, productvariant) -# --> infra needs to be able to derive a product from the parameters! +# --> infra needs to be able to derive a product from the parameters to pass to pay.ungleich.ch # --> if user is not able to afford, return error to the user -# - +# - pay.ungleich.ch stores the order / subscription (depending on the type) +# - Variant a) +# - infra.ungleich.ch returns { OK + ticket number } +# - client can poll / get the status of the VM on infra.ungleich.ch +# - Meanwhile infra.ungleich.ch then creates the VM/configures the VM/ensures the ssh key(s) are added +# - Variant b) +# - infra.ungleich.ch then creates the VM/configures the VM/ensures the ssh key(s) are added # # #