- 30/8/2017 - Added support for VyOS network operating system. Now VNX supports the creation of virtual scenarios including VyOS based virtual machines (either KVN or LXC).
[VyOS] is an open source network operating system that is based on Debian GNU/Linux and that joins multiple applications such as Quagga, ISC DHCPD, OpenVPN, StrongS/WAN and others under a single management interface. It can be installed on physical hardware or on virtual machines and it is a community fork of [Vyatta].
To test the LXC based VyOS images you can use the "tutorial_lxc_vyos.xml" tutorial escenario:
vnx_update # Latest version of VNX needed cd /usr/share/vnx/filesystems vnx_download_rootfs -r vnx_rootfs_lxc_vyos64-1.1.7-v025.tgz cd ../examples vnx -f tutorial_lxc_vyos.xml -v -t
Access the VyOS routers with vnx/xxxx or vyos/vyos users/passwds.
<net name="Net1" mode="openvswitch" stp="on"/>
will activate STP on Open vSwitch of Net1.
Additionally, STP can be activated globally using the <netconfig> tag. For example:
... <vm_defaults/> <netconfig stp="off"/> ...
will activate STP on all virtual_bridge or openvswitch networks.
- Update VNX with vnx_update command
- Update the autoconfiguration daemon of your root filesystems with:
vnx --modify-rootfs your-rootfs.qcow2 --update-aced
[libvirt] ... virtio = yes
Note that in the case of FreeBSD images, you additionally need to edit the /etc/fstab to change the name of the devices /dev/ada0pX by /dev/vtbd0pX. For that reason, new rootfs images with a name extension "novirtio" have been added to be used with no virtio drivers.
vnx_download_rootfs -p lxc
vnx -f scenario.xml -x cmd1 -M vm1,vm2,host
will execute al, the <exec> tags defined in vm1, vm2 and the host.
<exec seq="createfiles" type="verbatim"> touch \ /tmp/file1 \ /tmp/file2 </exec>