From owner-soc-status@freebsd.org Tue Jul 3 15:58:38 2018 Return-Path: Delivered-To: soc-status@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BFC98102C7F4 for ; Tue, 3 Jul 2018 15:58:38 +0000 (UTC) (envelope-from duostefano93@gmail.com) Received: from mail-it0-x232.google.com (mail-it0-x232.google.com [IPv6:2607:f8b0:4001:c0b::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CA3988EA1 for ; Tue, 3 Jul 2018 15:58:38 +0000 (UTC) (envelope-from duostefano93@gmail.com) Received: by mail-it0-x232.google.com with SMTP id j185-v6so3570011ite.1 for ; Tue, 03 Jul 2018 08:58:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=T7ZOob+UVNJmV+4LyQXsyq6STByfNtpBm296ubb85jo=; b=Og9R4hn8ODnnupVyc2Dmcy4qDxk+14IzdD2T6N5vjb/S3nvdioSwQ4t56IKFH6uA1M 3/hB17TZVUYvKEQT9Gpx/fc20H4xYB/ANY1lYMOM1LYcqqM/e8akA3CwKwdGmnEgh7YY uw6AzZs7Xk/ehNpr3kvQvYZ6f9EhhbgjHrXo45dxMlWwyRqwTE2wekVs2CDtABJ+vP10 eLxkbdS8ppmrLYnCv7+C3qMJ+trdtRvZJw4SNX2dFQwI0ogSwHwPSCc0uez+a9HoTFKs aUl+gEtgVHEJxDYfd7WMySF6KrqK2WBviBd7ZEEo3KUTn8jewFF6GRhvDr3/SlyV2743 krMQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=T7ZOob+UVNJmV+4LyQXsyq6STByfNtpBm296ubb85jo=; b=PwLmwmnRUb8RAnn6zBAjb6nZopgKzQf4KrRoANs4+Lk2UGq2JmjjnPdpJxxUPAijof 9rIVEqfNx5DriBbsS2mRZKiQm8pkjyAbwSIfu3KL761IdYr5DztMWu5hz6HuUJWm0c1D fAJ17qXIudSijP837CwDTzIe963EqsF/yDNrog5B7v0+fz2AB6XyDufvw/znifaLdJYq 3Gv5paeKr8jfzpBS+zBMS7TyVrbzyWWbi56RlOH9Iev3mTOyxoV6U4hKHqMUCg7fxIgS h4nbt3ZNvER38vdOkHfA3CugttVKeHPLjXpMhlS20jfhd8zfhD5ZS2PJXyddVi/pFyys THDA== X-Gm-Message-State: APt69E3FvdbFJIBiaZKfl4JkXT7jLGwvXSEjDO8uIzvfz+aWVlKCKvQK o+u2ic5KyH5zxA1yQKPFWFBD+BR5n9fJi9htDKpMWy7y X-Google-Smtp-Source: AAOMgpeCOliJEPd6Hq+fYAOywo6sAp2JYb+1cn/RZS5o8A6zRU8qJ8ZWnCDZUimCCRgp2JABguBzZyaebJSxHBQ0ScM= X-Received: by 2002:a02:9936:: with SMTP id r51-v6mr8058540jaj.46.1530633516993; Tue, 03 Jul 2018 08:58:36 -0700 (PDT) MIME-Version: 1.0 From: Stefano Duo Date: Tue, 3 Jul 2018 17:58:28 +0200 Message-ID: Subject: Extensions to the netmap framework - Week 7 To: soc-status@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: soc-status@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Summer of Code Status Reports and Discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Jul 2018 15:58:39 -0000 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.