[systemd-devel] [PATCH] networkd: Introduce tun/tap device

Moviuro moviuro at gmail.com
Thu Jul 3 15:21:35 PDT 2014


On Thursday 03 July 2014 23:59:03 you wrote:
> On Monday 30 June 2014 22:23:30 Susant Sahani wrote:
> > This patch introduces TUN/TAP device creation support
> > to networkd.
> > 
> > Example conf to create a tap device:
> > 
> > file: tap.netdev
> > ------------------
> > [NetDev]
> > Name=tap-test
> > Kind=tap
> > 
> > [Tap]
> > OneQueue=true
> > MultiQueue=true
> > PacketInfo=true
> > ------------------
> 
> The man page at :
> http://www.freedesktop.org/software/systemd/man/systemd.netdev.html
> Does not mention tun and tap as netdev kinds:
> 'The netdev kind. Currently, "bridge", "bond", "vlan", "macvlan", "vxlan",
> "ipip", "gre", "sit", "vti", "veth", and "dummy" are supported. This option
> is compulsory.'
The according patch would be (correct me if I'm wrong, first time asking to 
patch on a ML) (git clone-d systemd, did the little modification, asked for 
git diff):

diff --git a/man/systemd.netdev.xml b/man/systemd.netdev.xml
index c90bd8f..4755262 100644
--- a/man/systemd.netdev.xml
+++ b/man/systemd.netdev.xml
@@ -162,7 +162,8 @@
                                                 <literal>bond</literal>, 
<literal>vlan</literal>,
                                                 <literal>macvlan</literal>, 
<literal>vxlan</literal>,
                                                 <literal>ipip</literal>, 
<literal>gre</literal>,
-                                                <literal>sit</literal>, 
<literal>vti</literal>,
+                                                <literal>sit</literal>, 
<literal>tap</literal>,
+                                                <literal>tun</literal>, 
<literal>vti</literal>,
                                                 <literal>veth</literal>, and 
<literal>dummy</literal>
                                                 are supported. This option is 
compulsory.</para>
                                         </listitem>

Regards,
-- 
Moviuro
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20140704/924a82b3/attachment.sig>


More information about the systemd-devel mailing list