[lxc-devel] [PATCH 3/3] allow lxc.network.pair to specify host-side name for veth interface
Michael Tokarev
mjt at tls.msk.ru
Thu Nov 19 12:57:29 UTC 2009
Michael Tokarev wrote:
> Daniel Lezcano wrote:
>> Michael Tokarev wrote:
>>> Michael Tokarev wrote:
>>>
>>>> Currently we allocate veth device with random name on host side,
>>>> so that things like firewall rules or accounting does not work
>>>> at all. Fix this by recognizing yet anothe keyword to specify
>>>> the host-side device name: lxc.network.pair, and use it instead
>>>> of random name if specified.
[]
> So I think the original way is valid.
I mean the original way I proposed, with lxc.network.pair config
option (which is only valid for veth device type) and letting
lxc.network.link to be omitted.
Btw, for macvlan lxc.network.link is also used without checking
for NULL. I'll send a separate patch for it.
/mjt
More information about the lxc-devel
mailing list