Thread (10 messages) flat view 10 messages, 4 authors, 2014-12-11

Re: [PATCH iproute2] ip: Simplify executing ip cmd within namespace

From: Nicolas Dichtel <hidden>
Date: 2014-12-11 10:58:25

Le 10/12/2014 23:56, Vadim Kochan a écrit :
From: Vadim Kochan <redacted>

Added new '-ns' option to simplify executing following cmd:

     ip netns exec NETNS ip OPTIONS COMMAND OBJECT

     to

     ip -ns NETNS OPTIONS COMMAND OBJECT

e.g.:

     ip -ns vnet0 link add br0 type bridge

Signed-off-by: Vadim Kochan <redacted>
---
May be new option should have better name than '-ns' ?
What about 'ip -netns' to be explicit like other options?
user may still use 'ip -n' at the end.


Regards,
Nicolas
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help