ip-link-add supports netns argument just like ip-link-set. This commit
documents the existence of netns in help text and man page.
Signed-off-by: Daniel Xu <dxu@dxuuu.xyz>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
" [ mtu MTU ] [index IDX ]\n"
" [ numtxqueues QUEUE_COUNT ]\n"
" [ numrxqueues QUEUE_COUNT ]\n"
+ " [ netns { PID | NAME } ]\n"
" type TYPE [ ARGS ]\n"
"\n"
" ip link delete { DEVICE | dev DEVICE | group DEVGROUP } type TYPE [ ARGS ]\n"
.br
.RB "[ " gro_max_size
.IR BYTES " ]"
+.RB "[ " netns " {"
+.IR PID " | " NETNSNAME " } ]"
.br
.BI type " TYPE"
.RI "[ " ARGS " ]"
specifies the desired index of the new virtual device. The link
creation fails, if the index is busy.
+.TP
+.BI netns " { PID | NAME } "
+specifies the desired network namespace to create interface in.
+
.TP
VLAN Type Support
For a link of type