843 B
843 B
Introduction
This document describes how to create, modify or delete a product and use it.
A product (like a VMSnapshotproduct) creates an order when ordered. The "order" is used to combine products together.
Sub-products or related products link to the same order. Each product has one (?) orderrecord
How to delete a product (logic 1)
If a user want so delete (=cancel) a product, the following steps should be taken:
- the associated order is set to cancelled
- the product itself is deleted
[above steps to be reviewed]
How to delete a product (rest api)
http -a nicoschottelius:$(pass ungleich.ch/nico.schottelius@ungleich.ch) http://localhost:8000/net/vpn/43c83088-f4d6-49b9-86c7-40251ac07ada/
-> does not delete the reservation.
Deleting a VPN
When the product is deleted, the network must be marked as free.