The clownix switch is a single process (without any thread) where all sockets are in non-block mode. This process reads the file "config_simu_net" that defines all the machines with all their interfaces. This process creates a server socket listening on an unix socket file name for each interface of each virtual machine that will be run. The start_uml_clownix script also reads the file "config_simu_net" and prepares all the directories for the virtual machines (cow directory ...) and start the machines with the command line indicating the socket server names. When the machines start, the clownix switch gets the connections for each interface. Then when packets arrive on the traffic sockets, it is switched according to the topology. The clownix switch is also server for a control socket that can modify the switching topology. The example of use is the start_uml_clownix script. For the documentation, it is no yet done, but I know it is necessary.
David Fernández wrote: > Hi Vincent, > > > -----Mensaje original----- > > De: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] En nombre de clowncoder > > Enviado el: lunes, 11 de febrero de 2008 21:47 > > Para: David Fernández > > CC: user-mode-linux-user@lists.sourceforge.net > > Asunto: Re: [uml-user] Easy to use uml-based network > > > Open-source competition, I love this, VNUML should also try to use > > my new clownix networking switch, it is a more optimized way to > > transfer packets from one interface to others. > > Yes, I have a line in my (interesting) things-to-do list to have a look at > your work and specially to your modified switch. I've just downloaded the > latest version of uml_clownix_net to test it in the next days. > > Could you summarize the new features of your switch? Is the interface > compatible with uml_switch? Any doc or example of use? > > Best regards, > David > > > > > > ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ User-mode-linux-user mailing list User-mode-linux-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user