From owner-freebsd-virtualization@freebsd.org Mon Oct 12 15:51:12 2015 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EDC5DA113CD for ; Mon, 12 Oct 2015 15:51:12 +0000 (UTC) (envelope-from wjw@digiware.nl) Received: from smtp.digiware.nl (smtp.digiware.nl [31.223.170.169]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 498D519FF; Mon, 12 Oct 2015 15:51:12 +0000 (UTC) (envelope-from wjw@digiware.nl) Received: from rack1.digiware.nl (unknown [127.0.0.1]) by smtp.digiware.nl (Postfix) with ESMTP id 01411153431; Mon, 12 Oct 2015 17:51:03 +0200 (CEST) X-Virus-Scanned: amavisd-new at digiware.nl Received: from smtp.digiware.nl ([127.0.0.1]) by rack1.digiware.nl (rack1.digiware.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TBT2yH1X0CN2; Mon, 12 Oct 2015 17:50:53 +0200 (CEST) Received: from [192.168.101.176] (vpn.ecoracks.nl [31.223.170.173]) by smtp.digiware.nl (Postfix) with ESMTPA id 44C4115340D; Mon, 12 Oct 2015 17:50:53 +0200 (CEST) Subject: Re: Program for dynamically making taps/bridge topologies. To: Alfred Perlstein , freebsd-virtualization@freebsd.org References: <561A9FDC.40808@freebsd.org> From: Willem Jan Withagen Message-ID: <561BD6DF.5080404@digiware.nl> Date: Mon, 12 Oct 2015 17:50:55 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <561A9FDC.40808@freebsd.org> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Oct 2015 15:51:13 -0000 On 11-10-2015 19:43, Alfred Perlstein wrote: > Hello, > > Here at Norse we are using bhyve to run our appliance in a test > environment. > > We have a need for a test network to be made on demand, so this weekend > I took some time and wrote a tool that allows you to specify a topology > of bridges and taps that you can then use to create your virtual network. > > In our case our test servers have a bridge0 that is static and bridges > to our private test network. However we also need a bridge to be > dynamically that we will generate traffic over in isolation. We then > need taps created and "assigned" or labeled properly for our QA suite to > attach to our VMs properly. > > We then also need the ability to query the topology and emit the correct > taps to assign to each vm. > > Finally we need the ability to tear down the virtual network once it's > no longer needed. > > This tool provides all three functions. > > The tool is available here: > https://github.com/splbio/netmanager > > Comments, pull requests and questions are welcome. Sounds like cool stuff.... This should fit nicely into what is now fashionably called SDN... Now I got to figure out a way to glue this to my home-grown vmrun.sh stuff. And the ultimate step could be to see if it matches the things that openstack trieds to do for networking. Looking at it right away. But seems that it is getting harder and harder not to want to understand/write python. --WjW