YYifan Zhaotemplate: add mutable names for boot indexes
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
conf: simplify runtime configuration Conch exposes only deployment-level paths and sandbox policy. The server owns the runtime and persistent roots, while sandbox owns the selected backend, VMM binaries, timeout policy, and default spec. The default layout is: /var/run/conch/ ├── conchd.sock ├── conchd.pid ├── containerd/ # containerd state: sockets and transient files └── sandboxes/ /var/lib/conch/ ├── containerd/ # containerd root: durable content and metadata └── state.db The two containerd directories map to its separate root and state locations. State can be discarded on reboot, while root retains images, snapshots, and container metadata. sandbox.default_spec supplies template_id, vcpu_num, vcpu_max, and ram_mb when a create request omits them. An empty requested and default template ID remains invalid. sandbox.backend supplies the default VMM. Fix the CNI configuration directory at /etc/conch/cni/net.d, reject removed YAML fields, and align the SDK, CLI help, and documentation. Tests: python3 -m py_compile sdk/sandbox.py Tests: GO111MODULE=on go test ./... Assisted-by: Codex:GPT-5 Signed-off-by: jingrui <jingrui@huawei.com> | 20 天前 | |
template: add mutable names for boot indexes Store Templates under reserved containerd image-record names so a logical name can be retargeted without changing immutable Boot Index IDs. Update the Template, Sandbox, CLI, and SDK interfaces for Name or ID selection. Keep registry pulls on containerd Client.Fetch while containing its temporary record and lease lifecycle inside the image package. Assisted-by: Codex:GPT-5.6-sol Signed-off-by: Yifan Zhao <stopire@gmail.com> | 5 天前 | |
!178 fix(network): enable pool refill on empty pool, bound CNI operations with timeout, and enforce IPv4-only networking From: @ytluo Reviewed-by: @zhaoyifan28 | 17 小时前 | |
docs: improve project documentation Documentation mixed user and developer guidance and still described outdated dependencies, commands, and runtime behavior. Organize documentation by audience, remove obsolete pages and assets, and align setup, template, network, and VMM guidance with the current implementation. Assisted-by: Codex:GPT-5.6-sol Signed-off-by: Yifan Zhao <stopire@gmail.com> | 25 天前 | |
template: add mutable names for boot indexes Store Templates under reserved containerd image-record names so a logical name can be retargeted without changing immutable Boot Index IDs. Update the Template, Sandbox, CLI, and SDK interfaces for Name or ID selection. Keep registry pulls on containerd Client.Fetch while containing its temporary record and lease lifecycle inside the image package. Assisted-by: Codex:GPT-5.6-sol Signed-off-by: Yifan Zhao <stopire@gmail.com> | 5 天前 | |
docs: document guest-to-host VSOCK communication Sandbox workloads can use the attached virtio-vsock device, but this capability and its network-policy boundary were not documented. Add a concise StratoVirt example that maps a guest connection to a host listener. Record the host CID, reserved initialization port, policy scope, and unsupported Cloud Hypervisor backend. Assisted-by: Codex:GPT-5.6-sol Signed-off-by: Yifan Zhao <stopire@gmail.com> | 9 天前 | |
feat(webhook): add sandbox lifecycle notifications Add in-memory Webhook management and asynchronous lifecycle delivery for sandbox creation, requested deletion, and unexpected runtime exits. Keep sandbox records as UNKNOWN after unexpected exits and publish orphaned lifecycle events. Assisted-by: Codex:GPT-5.6-sol Signed-off-by: hu-zhangying <huzhangying@huawei.com> | 12 天前 |