Re: [patch 0/1] [RFC][net namespace] veth ioctl management

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Daniel Lezcano <dlezcano@xxxxxxxxxx> writes:

> The following patch is an upgrade proposition for the veth pass-through driver.
> The temporary proc interface has been replaced by an ioctl. The device is
> a misc device. The major number is 10 and the minor number is dynamically
> allocated.
> The minor number should to be retrieved from the /dev/misc

Ugh.

I don't think it's perfect but please take a look at the sysfs
interface to my etun device.  I think it is a little easier to
work with.

> The veth configuration is no more done in one shot and does not unshare anymore.
> The veth creation is done after the network namespace has been unshared and
> binded with the bind ns.
> The ioctl takes the parent dev name, the child dev name and the child namespace
> identifier.
> The veth creation will fails if the namespaces relationship is not
> parent->child.

Although with a lot of what you describe veth sounds decidedly less flexible
than etun.

> The set_mac_address callback is set, so the usual commands ip/ifconfig can be
> used to
> assign a mac address to the pair device.
>
> The patch header contains the source code for the userspace tool, vethctl.
> The patch needs the lxc patchset for the bind namespace syscall.

Eric
_______________________________________________
Containers mailing list
Containers@xxxxxxxxxxxxxx
https://lists.osdl.org/mailman/listinfo/containers


[Index of Archives]     [Cgroups]     [Netdev]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux