ikvswitch (1.0.7) unstable; urgency=medium * Cleanup the mounted switch partition and the loop device when ikvswitch-setup fails or gets interrupted, as the leaked mounts and busy loop devices were making every subsequent run fail with kpartx errors. Comes with a unit test simulating a mount failure. -- Thomas Goirand Sun, 01 Nov 2026 17:29:58 +0100 ikvswitch (1.0.6) unstable; urgency=medium * Add DHCP_SERVER_DAEMON option, so that dnsmasq can be used as the DHCP server of the odd leaf switches, instead of isc-dhcp which isn't maintained upstream anymore (dnsmasq is the new default). * Also add DHCP_* options (lease times, pool bounds, domain name, DNS servers, PXE bootfiles and iPXE boot URL), as the DHCP configuration of the leaf switches is now generated from ikvswitch.conf, without any hardcoded value. * Add DHCP_HTTP_BOOT_URL option, so that native UEFI HTTP Boot clients (client-arch 16) are handed a real EFI loader to fetch over HTTP, with no PXE nor iPXE involved, defaulting to the shim EFI binary of the openstack-cluster-installer PXE server, so that Secure Boot is supported. * Guard the dnsmasq client-arch boot entries with tag:!ipxe, as an iPXE client also sends a value in option 93, and dnsmasq matches dhcp-boot entries in the reverse order of the config file: without this, iPXE clients could be handed a TFTP bootfile instead of the iPXE boot URL. * Add a shell script unit test suite under tests/, run at build time through run_tests, which runs the real ikvswitch-setup against mock binaries, and checks the DHCP configuration generated for both daemons, the HTTP Boot matching, and the configuration file validation. * Route to the internet VM using the configured prefix, instead of the hardcoded 192.168.96.2, so that overriding HOST_VIRTUAL_SUBNET_START_PREFIX in ikvswitch.conf keeps working. * Make ikvswitch-host-networking re-entrant: running start on an already or partially configured host now skips existing bridges, TAPs and dummies, and replaces the route and the IPMI bridge address, instead of failing. * Add a unit test suite for ikvswitch-host-networking: it checks the full creation inventory of start, the create/teardown symmetry of stop, that repeated start/stop cycles are re-entrant and never crash (including on a partially configured host), and that a customized HOST_VIRTUAL_SUBNET_START_PREFIX propagates everywhere. It runs against stateful mock binaries, deriving the kernel state from a shared log, with a sandboxed copy of the script. * Use pkgos-run-tests from openstack-pkg-tools (>= 157~) to run the unit tests in parallel, instead of the in-tree run_tests script, so that the test runner is shared between packages. * Fix the lintian bash-term-in-posix-shell tags on ikvswitch-setup: rename the HOSTNAME local variable of ikvswitch_customize_images to NAME, as HOSTNAME is a bash-only variable which isn't set under a POSIX shell. The "source /etc/network/interfaces.d/*" strings appended to the /etc/network/interfaces of the generated switch VM images are ifupdown directives, not shell code, and must stay verbatim, as the order in which the sourced files matters: they are covered by a package wide lintian override. * Added man pages for ikvswitch-setup and ikvswitch-host-networking, documenting the start and stop commands, the layout and networking variables they consume from /etc/ikvswitch/ikvswitch.conf, and the files they read and write, which also fixes the lintian no-manual-page warnings. * Standards-Version: 4.7.4. -- Thomas Goirand Sun, 01 Nov 2026 12:16:39 +0100 ikvswitch (1.0.5) unstable; urgency=medium * Write in /etc/sysctl.d/00-forward-internet.conf as sysctl.conf is gone in Trixie. * Use Trixie as default distro for the setup. * Add || true when doing "ip link set down dev" if ipmi bridge. -- Thomas Goirand Sun, 03 Aug 2025 22:54:49 +0200 ikvswitch (1.0.4) unstable; urgency=medium * Allow cl1-network-2 to adverize BGP. -- Thomas Goirand Fri, 11 Apr 2025 14:07:58 +0200 ikvswitch (1.0.3) unstable; urgency=medium * Use --vlan-setup for leaf2 virtual switch, not leaf1. -- Thomas Goirand Tue, 25 Mar 2025 14:15:10 +0100 ikvswitch (1.0.2) unstable; urgency=medium * Also do ip link set down dev ${HOST_IPMI_BRIDGE_NAME} when teardown. -- Thomas Goirand Wed, 12 Feb 2025 11:08:55 +0100 ikvswitch (1.0.1) unstable; urgency=medium * Add ip link set up dev ${HOST_IPMI_BRIDGE_NAME}, otherwise the IPMI bridge cannot forward traffic to the host. -- Thomas Goirand Thu, 06 Feb 2025 11:06:14 +0100 ikvswitch (1.0.0) unstable; urgency=medium * Switch default from 22 to 23u rack. * Release as 1.0, as it proves very stable. -- Thomas Goirand Fri, 15 Nov 2024 14:48:40 +0100 ikvswitch (0.0.8) unstable; urgency=medium * Depends on qemu-kvm | qemu-system-any, not just qemu-system which installs qemu for all archs. -- Thomas Goirand Thu, 27 Jun 2024 11:45:51 +0200 ikvswitch (0.0.7) unstable; urgency=medium * [a6235d2] Fancier prints. * [97860bf] Increase VNC port num from 50 to 80 to avoid conflict with oci-poc. * [ce38315] Increase default NUM_U to 19. * [16c01f3] Allow BGP advertizing from leaf1 switch VLANs. * [1a7aaff] Add IPMI bridge. * [a78f3e3] Create tuntap NIC and plug it to IPMI bridge. -- Thomas Goirand Tue, 19 Mar 2024 14:50:30 +0100 ikvswitch (0.0.6) unstable; urgency=medium * [c450c4e] ikvswitch-setup: fix BGP accept list interface in leafs with arbitrary number of U. -- Thomas Goirand Wed, 28 Feb 2024 14:39:26 +0100 ikvswitch (0.0.5) unstable; urgency=medium * [26a17e6] Make the list of iface in the dhcp0 bridge, be dynamic and depend on the number of U. -- Thomas Goirand Wed, 28 Feb 2024 11:54:00 +0100 ikvswitch (0.0.4) unstable; urgency=medium * Increase the default number of ports from 13 to 16 per rack. * Update d/copyright. -- Thomas Goirand Wed, 28 Feb 2024 11:21:07 +0100 ikvswitch (0.0.3) unstable; urgency=medium * [1963b5b] and [bc9e7cc] More docs. * [93f8ec6] Add 6x connected VLANs from 192.168.113/24 to 168.168.118.0/24, and accept annoucements from network nodes. -- Thomas Goirand Tue, 16 Jan 2024 15:58:10 +0100 ikvswitch (0.0.2) unstable; urgency=medium * Add another "internet" virtual switch, and setup DHCPd on odd switches. -- Thomas Goirand Tue, 09 Jan 2024 20:02:50 +0100 ikvswitch (0.0.1) unstable; urgency=medium * Initial release. (Closes: #1059614) -- Thomas Goirand Fri, 29 Dec 2023 11:14:49 +0100