Add documentation for creating development VMs using virsh command from provided vm Cyborg xml file for testing and driver development. This provides a foundation for contributors who don't have access to physical hardware. New documentation: - vm-setup.rst: Step-by-step guide for creating VMs with virsh command, including host prerequisites, VM creation, Ubuntu installation, and post-installation configuration - devstack/cyborg_vm.xml: Basic reference VM XML definition for users to recreate the environment. The VM is configured with Q35 machine type and host-passthrough CPU for nested virtualization support. Driver-specific device configuration (NVMe, GPU, FPGA) can be added after following this guide. Generated-By: Claude Sonnet 4.6 Change-Id: Ic067ac0792c5e9598cebf70ea6fa35463136bfb6 Signed-off-by: Chandan Kumar (raukadah) <chkumar@redhat.com>
46 lines
1.2 KiB
Plaintext
46 lines
1.2 KiB
Plaintext
# Sample ``local.conf`` for cyborg development
|
|
# NOTE: Copy this file to the root DevStack directory for it to work properly.
|
|
|
|
[[local|localrc]]
|
|
|
|
# Passwords
|
|
# ---------
|
|
ADMIN_PASSWORD=password
|
|
DATABASE_PASSWORD=$ADMIN_PASSWORD
|
|
RABBIT_PASSWORD=$ADMIN_PASSWORD
|
|
SERVICE_PASSWORD=$ADMIN_PASSWORD
|
|
|
|
# Host
|
|
# ----
|
|
HOST_IP=$(hostname -I | awk '{print $1}')
|
|
|
|
# Logging
|
|
# -------
|
|
LOGFILE=$DEST/logs/stack.sh.log
|
|
LOGDAYS=2
|
|
|
|
# Disable services not needed for Cyborg development
|
|
# ---------------------------------------------------
|
|
# Swift is unused by Cyborg
|
|
disable_service swift
|
|
# etcd is only needed by cinder backup
|
|
disable_service etcd
|
|
# Cinder is not required for basic Cyborg testing.
|
|
disable_service cinder
|
|
# Horizon is not required for Cyborg
|
|
disable_service horizon
|
|
|
|
# Enable Cyborg
|
|
# -------------
|
|
enable_plugin cyborg https://opendev.org/openstack/cyborg
|
|
|
|
# Enable fake driver (enabled by default by cyborg plugin)
|
|
# --------------------------------------------------------
|
|
# CYBORG_ENABLED_DRIVERS=fake_driver
|
|
|
|
# Host tuning (optional, helps on memory-constrained VMs)
|
|
# -------------------------------------------------------
|
|
ENABLE_SYSCTL_MEM_TUNING="True"
|
|
ENABLE_SYSCTL_NET_TUNING="True"
|
|
ENABLE_ZSWAP="True"
|