provisioning-code/.ncl-cache/273d8051952194d7aff14214db0de3304925147fe594fcd8657ff0b8cb8e2dbb.json

124 lines
2.7 KiB
JSON

{
"config": {
"api_version": "10.0.0",
"audit_logging": false,
"dynamic_ownership": true,
"enforced_security": true,
"listen_tcp": false,
"listen_unix": true,
"max_connections": 512,
"mem_limit_mb": 512,
"name": "libvirt",
"socket_activation": true,
"tls_enabled": false,
"unix_sock_group": "libvirt",
"version": "latest"
},
"dependencies": {
"arch_support": [
"x86_64",
"aarch64"
],
"conflicts": [
"virtualbox",
"xen",
"docker-vm"
],
"health_checks": [
{
"command": "systemctl is-active libvirtd",
"interval": 60,
"name": "libvirtd_running",
"timeout": 5
},
{
"command": "test -S /var/run/libvirt/libvirt-sock",
"interval": 60,
"name": "libvirt_socket",
"timeout": 5
},
{
"command": "virsh version --quiet",
"interval": 60,
"name": "virsh_connectivity",
"timeout": 10
}
],
"name": "libvirt",
"notes": [
"Depends on KVM for hardware-accelerated virtualization",
"Provides unified API for VM management via virsh/libvirt-client",
"Creates libvirt daemon (libvirtd) for VM lifecycle management",
"Manages virtual networks, storage pools, and other resources",
"Supports remote management via TCP/Unix sockets"
],
"optional": [
"qemu"
],
"os_support": [
"linux"
],
"phases": [
{
"critical": true,
"name": "pre-install",
"script": "prepare",
"timeout": 60
},
{
"critical": true,
"name": "install",
"script": "install-libvirt.sh install",
"timeout": 300
},
{
"critical": true,
"name": "post-install",
"script": "_postrun",
"timeout": 120
},
{
"checks": [
{
"name": "libvirtd",
"timeout": 10,
"type": "service"
},
{
"path": "/var/run/libvirt/libvirt-sock",
"timeout": 5,
"type": "socket"
}
],
"name": "validate"
}
],
"provides": [
"virtualization-management",
"vm-api",
"hypervisor-api"
],
"release": "2024-01-15",
"requires": [
"kvm"
],
"resources": {
"cpu": {
"recommended": 2000,
"required": 1000
},
"disk": {
"recommended": 200,
"required": 50
},
"memory": {
"recommended": 2048,
"required": 1024
},
"network": false,
"privileged": true
},
"timeout": 600,
"version": "10.0.0"
}
}