Date: Tue, 3 Jul 2018 17:58:28 +0200 From: Stefano Duo <duostefano93@gmail.com> To: soc-status@freebsd.org Subject: Extensions to the netmap framework - Week 7 Message-ID: <CALkzoBvMDF8ao_zeQRNFG4VrtHaiM-CyN5vNSG0iS7Hz4dBpVQ@mail.gmail.com>
index | next in thread | raw e-mail
Hi, during the seventh week i focused on writing a bash library to ease the work (and lines of code) needed to write a test case. The following utilities are provided: - wrappers to start, stop and restart fd_server. - wrappers to check if a command has been executed successfully and take action if it has not. - register multiple commands that will be executed at the end of the script (it seems that bash only allows 1 per-signal). - create VALE persistent ports, and veth interfaces, that will be destroyed when the script ends. - attach an interface to a VALE bridge, that interface will be detached at the end of the script. - a function to generate random MAC addresses. - a function to parse arguments common to all test scripts. While i was writing the library i started to write some test case to check if everything worked correctly. Project wiki: https://wiki.freebsd.org/SummerOfCode2018Projects/ExtensionsToNetmap SVN repository: https://svnweb.freebsd.org/socsvn/soc2018/sduo/ Stefano.help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALkzoBvMDF8ao_zeQRNFG4VrtHaiM-CyN5vNSG0iS7Hz4dBpVQ>
