Vnx-latest-features
VNX latest features implemented
- 9/5/2018 - Added support to configure multiple controllers in Open vSwitches. Just provide a comma separated list of controller tcp:host:port tuplas in the <net> tag. For example:
<net name="Net0" mode="openvswitch" controller="tcp:10.1.4.2:6633,tcp:10.1.4.3:6633" of_version="OpenFlow13" />
That will be translated by VNX into the execution of the following command:
/usr/bin/ovs-vsctl set-controller Net0 tcp:10.1.4.2:6633 tcp:10.1.4.3:6633
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 scenario:
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 vnx_download_rootfs -r vnx_rootfs_lxc_ubuntu64-16.04-v025.tgz cd ../examples vnx -f tutorial_lxc_vyos.xml -v -t
To test the KVM based VyOS images you can use the "tutorial_vyos.xml" tutorial scenario:
vnx_update # Latest version of VNX needed cd /usr/share/vnx/filesystems vnx_download_rootfs -r vnx_rootfs_kvm_vyos64-1.1.7-v025.qcow2 vnx_download_rootfs -r vnx_rootfs_lxc_ubuntu64-16.04-v025.tgz cd ../examples vnx -f tutorial_vyos.xml -v -t
Access the VyOS routers with vnx/xxxx or vyos/vyos users/passwds. See the VyOS User Guide for more details about VyOS configuration.
<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>