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 # # #