Difference between revisions of "Vnx-latest-features"
(14 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
<ul> | <ul> | ||
+ | |||
+ | <li>'''30/8/2017 - Added support for VyOS network operating system'''. Now VNX supports the creation of virtual scenarios including VyOS based virtual machines (either KVM or LXC).</li> | ||
+ | |||
+ | [https://vyos.io/en/ 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 [https://en.wikipedia.org/wiki/Vyatta 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 [https://wiki.vyos.net/wiki/User_Guide VyOS User Guide] for more details about VyOS configuration. | ||
<li>'''22/10/2016 - New attribute 'stp' added to <net> tags'''. Now VNX allows to individually control the activation of Spanning Tree (STP) protocol on virtual_bridge and openvswitch networks. For example:</li> | <li>'''22/10/2016 - New attribute 'stp' added to <net> tags'''. Now VNX allows to individually control the activation of Spanning Tree (STP) protocol on virtual_bridge and openvswitch networks. For example:</li> | ||
Line 12: | Line 34: | ||
<netconfig stp="off"/> | <netconfig stp="off"/> | ||
... | ... | ||
− | will activate STP | + | will activate STP on all virtual_bridge or openvswitch networks. |
− | + | </li> | |
<li>'''16/5/2016 - Support for virtio drivers in KVM implemented'''. A new option has been added to /etc/vnx.conf to activate the use of virtio drivers in KVM to improve performance. To use this new feature:</li> | <li>'''16/5/2016 - Support for virtio drivers in KVM implemented'''. A new option has been added to /etc/vnx.conf to activate the use of virtio drivers in KVM to improve performance. To use this new feature:</li> | ||
<ul> | <ul> |
Revision as of 02:01, 3 September 2017
VNX latest features implemented
- 30/8/2017 - Added support for VyOS network operating system. Now VNX supports the creation of virtual scenarios including VyOS based virtual machines (either KVM 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 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>