Closed vista- closed 4 months ago
I did format the code with ruff
(this is the default formatter for this repo) and left a single comment about the crypt module alternative
we are keeping this open till the issue with loop0 is solved (discussed in discord)
The loop issue fix is commited, this PR is ready for review again. I also increased the config disk size to a comfortable 32 MB.
lgtm, lets ship it
This PR contains "slim" Dockerfiles,
virtio
disks for all non-EOL Juniper models, and XHCI-based config disks for vJunos models.Slim Dockerfiles
All vJunos-based models now have the same Dockerfile, which now contains the
--no-install-recommends
option for apt. This reduces the container image sizes by ~650 MB for every vJunos image.virtio
disksAll non-EOL Juniper devices now run off of virtio-mounted disks, which both increases boot speed and performance, and decreases virtualisation overhead.
I ran a benchmark launching all 4 VM models at the same time, and got the following results:
virtio
boot timeXHCI-based boot disks
All vJunos-based vrnet node types now use the same mechanism for loading a startup configuration, USB storage mounted through an XHCI controller. XHCI has lower virtualisation overhead[1] compared to EHCI/UHCI, and is supported by all vJunos models, it's an easy win for standardisation.
All changes have been tested with:
vJunosEvolved 23.2R2.21-EVO
[1] https://qemu-project.gitlab.io/qemu/system/devices/usb.html#xhci-controller-support