A slice is the top-level resource you manage in Cloud Repositorio. You create it first, build its topology by adding VMs and creating links between them, then deploy everything to the cluster in a single operation. All resources within a slice share an isolated VLAN pool and are owned by a single user.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/markitobonito/cloud_repositorio/llms.txt
Use this file to discover all available pages before exploring further.
Slice lifecycle
Create a slice
Select 2. Create Slice from the main menu and enter a name for your slice.The orchestrator assigns a unique For example, a slice with ID
slice_id and a VLAN pool based on the formula:1000 receives the pool 100–119 (20 VLANs).The slice is stored in the database with status design and the slice_id is returned:Add VMs
Select 3. Add VM to Slice and repeat for each VM you want in the slice. Provide the slice ID, a VM name, a flavor, the number of data interfaces, and whether to enable internet access.Each VM is registered with a worker assignment (assigned round-robin across
10.0.10.1, 10.0.10.2, 10.0.10.3 by default) and a QCOW2 backing image path on that worker. VMs remain in design status.See Add, configure, and remove VMs for full details.Create links
Select 4. Create Link between VMs to connect data interfaces between VMs. Each link consumes one VLAN from the slice’s pool.You can create up to 20 links per slice (limited by the 20-VLAN pool). Interfaces involved in a link are updated with the assigned
vlan_id and a link_id.Review topology
Select 5. View my Slices to inspect the current topology before deploying.Output format:Each VM line shows its ID, name, VNC port, assigned worker, and disk size. Each interface line shows its MAC, VLAN assignment (if any), and link connection status.
Deploy the slice
Select 6. Deploy Slice and enter the slice ID. The orchestrator performs these steps in order:
- If any VM has internet enabled, configures VLAN 400 (
10.60.7.0/24, gateway10.60.7.1, DHCP) on the network node. - For each link, configures a VLAN with a
/24subnet and gateway derived from the VLAN ID (e.g., VLAN 101 →192.168.101.0/24, gateway192.168.101.1) with DHCP enabled. - Launches all VMs via QEMU on their assigned workers. Each running VM receives a PID.
running:Delete the slice
Select 7. Delete Slice and enter the slice ID.If the slice is
running, the orchestrator first stops all QEMU processes on the workers and removes the OVS VLAN configuration for each link. Regardless of status, QCOW2 images for all VMs are deleted from the workers, the slice is removed from the database, and the user’s used_vms count is decremented.Slice status reference
| Status | Meaning |
|---|---|
design | Slice created; VMs and links registered but no QEMU processes running |
running | Slice fully deployed; all VMs started and VLANs configured on the network node |
The CLI tracks a
current_slice context (ID and owner) for the most recently created slice. This is used by the SIGINT handler to clean up the in-progress slice if the orchestrator process is interrupted during design. Only one slice occupies this context at a time; creating a new slice replaces the previous entry.