mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-07-27 14:30:32 +00:00
doc: update Japanese lxc-user-nic manpage
Update for commit db74bbd
Signed-off-by: KATOH Yasufumi <karma@jazz.email.ne.jp>
This commit is contained in:
parent
4f34c6f95d
commit
a1c4b8380d
@ -46,19 +46,33 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp>
|
|||||||
|
|
||||||
<refpurpose>
|
<refpurpose>
|
||||||
<!--
|
<!--
|
||||||
Create and attach a nic to another network namespace.
|
Manage nics in another namespace
|
||||||
-->
|
-->
|
||||||
NIC を作成し、他のネットワーク名前空間に割り当てる
|
現在と異なるネットワーク名前空間の NIC を管理する
|
||||||
</refpurpose>
|
</refpurpose>
|
||||||
</refnamediv>
|
</refnamediv>
|
||||||
|
|
||||||
<refsynopsisdiv>
|
<refsynopsisdiv>
|
||||||
<cmdsynopsis>
|
<cmdsynopsis>
|
||||||
<command>lxc-user-nic</command>
|
<command>lxc-user-nic</command>
|
||||||
|
<command>create</command>
|
||||||
|
<arg choice="req"><replaceable>lxcpath</replaceable></arg>
|
||||||
|
<arg choice="req"><replaceable>name</replaceable></arg>
|
||||||
<arg choice="req"><replaceable>pid</replaceable></arg>
|
<arg choice="req"><replaceable>pid</replaceable></arg>
|
||||||
<arg choice="req"><replaceable>type</replaceable></arg>
|
<arg choice="req"><replaceable>type</replaceable></arg>
|
||||||
<arg choice="req"><replaceable>bridge</replaceable></arg>
|
<arg choice="req"><replaceable>bridge</replaceable></arg>
|
||||||
<arg choice="opt"><replaceable>nicname</replaceable></arg>
|
<arg choice="opt"><replaceable>container nicname</replaceable></arg>
|
||||||
|
</cmdsynopsis>
|
||||||
|
|
||||||
|
<cmdsynopsis>
|
||||||
|
<command>lxc-user-nic</command>
|
||||||
|
<command>delete</command>
|
||||||
|
<arg choice="req"><replaceable>lxcpath</replaceable></arg>
|
||||||
|
<arg choice="req"><replaceable>name</replaceable></arg>
|
||||||
|
<arg choice="req"><replaceable>path to network namespace</replaceable></arg>
|
||||||
|
<arg choice="req"><replaceable>type</replaceable></arg>
|
||||||
|
<arg choice="req"><replaceable>bridge</replaceable></arg>
|
||||||
|
<arg choice="req"><replaceable>container nicname</replaceable></arg>
|
||||||
</cmdsynopsis>
|
</cmdsynopsis>
|
||||||
</refsynopsisdiv>
|
</refsynopsisdiv>
|
||||||
|
|
||||||
@ -68,7 +82,8 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp>
|
|||||||
<para>
|
<para>
|
||||||
<!--
|
<!--
|
||||||
<command>lxc-user-nic</command> is a setuid-root program with which
|
<command>lxc-user-nic</command> is a setuid-root program with which
|
||||||
unprivileged users may create network interfaces for use by a lxc container.
|
unprivileged users may create network interfaces for use by a
|
||||||
|
lxc container.
|
||||||
-->
|
-->
|
||||||
<command>lxc-user-nic</command> は root に setuid されたプログラムで、lxc コンテナが使うネットワークインターフェースを、特権を持たないユーザが作成できます。
|
<command>lxc-user-nic</command> は root に setuid されたプログラムで、lxc コンテナが使うネットワークインターフェースを、特権を持たないユーザが作成できます。
|
||||||
</para>
|
</para>
|
||||||
@ -81,10 +96,14 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp>
|
|||||||
<filename>@LXC_USERNIC_DB@</filename>. It ensures that the calling
|
<filename>@LXC_USERNIC_DB@</filename>. It ensures that the calling
|
||||||
user is privileged over the network namespace to which the interface
|
user is privileged over the network namespace to which the interface
|
||||||
will be attached.
|
will be attached.
|
||||||
|
<command>lxc-user-nic</command> also allows to delete network devices.
|
||||||
|
Currently only ovs ports can be deleted.
|
||||||
-->
|
-->
|
||||||
このプログラムは、<filename>@LXC_USERNIC_CONF@</filename> という設定ファイルを参照して、呼び出したユーザが作成することができるインターフェースの数と、どのブリッジに接続するかを決定します。
|
このプログラムは、<filename>@LXC_USERNIC_CONF@</filename> という設定ファイルを参照して、呼び出したユーザが作成することができるインターフェースの数と、どのブリッジに接続するかを決定します。
|
||||||
また、ユーザが作成したインターフェースの数を <filename>@LXC_USERNIC_DB@</filename> を使ってチェックします。
|
また、ユーザが作成したインターフェースの数を <filename>@LXC_USERNIC_DB@</filename> を使ってチェックします。
|
||||||
これにより、呼び出したユーザが、インターフェースを割り当てるネットワーク名前空間上で特権を持つことが保証されます。
|
これにより、呼び出したユーザが、インターフェースを割り当てるネットワーク名前空間上で特権を持つことが保証されます。
|
||||||
|
<command>lxc-user-nic</command> はネットワークデバイスを削除することもできます。
|
||||||
|
現時点では ovs ポートの削除のみ可能です。
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
</refsect1>
|
</refsect1>
|
||||||
@ -94,6 +113,33 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp>
|
|||||||
<title><!-- Options -->オプション</title>
|
<title><!-- Options -->オプション</title>
|
||||||
|
|
||||||
<variablelist>
|
<variablelist>
|
||||||
|
<varlistentry>
|
||||||
|
<term>
|
||||||
|
<option><replaceable>lxcpath</replaceable></option>
|
||||||
|
</term>
|
||||||
|
<listitem>
|
||||||
|
<para>
|
||||||
|
<!--
|
||||||
|
The path of the container. This is currently not used.
|
||||||
|
-->
|
||||||
|
すべてのコンテナが保存されるパス。これは現在使われていません。
|
||||||
|
</para>
|
||||||
|
</listitem>
|
||||||
|
</varlistentry>
|
||||||
|
|
||||||
|
<varlistentry>
|
||||||
|
<term>
|
||||||
|
<option><replaceable>name</replaceable></option>
|
||||||
|
</term>
|
||||||
|
<listitem>
|
||||||
|
<para>
|
||||||
|
<!--
|
||||||
|
The name of the container. This is currently not used.
|
||||||
|
-->
|
||||||
|
コンテナ名。これは現在使われていません。
|
||||||
|
</para>
|
||||||
|
</listitem>
|
||||||
|
</varlistentry>
|
||||||
|
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term>
|
<term>
|
||||||
@ -117,7 +163,7 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp>
|
|||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
<!--
|
<!--
|
||||||
The network interface type to attach. Currently only veth is
|
The network interface type to attach. Currently only veth is
|
||||||
supported. With this type, two interfaces representing each
|
supported. With this type, two interfaces representing each
|
||||||
tunnel endpoint are created. One endpoint will be attached
|
tunnel endpoint are created. One endpoint will be attached
|
||||||
to the specified bridge, while the other will be passed into
|
to the specified bridge, while the other will be passed into
|
||||||
@ -148,12 +194,12 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp>
|
|||||||
|
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term>
|
<term>
|
||||||
<option><replaceable>nicname</replaceable></option>
|
<option><replaceable>container nicname</replaceable></option>
|
||||||
</term>
|
</term>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
<!--
|
<!--
|
||||||
The desired interface name in the container. This will be
|
The desired interface name in the container. This will be
|
||||||
<filename>eth0</filename> if unspecified.
|
<filename>eth0</filename> if unspecified.
|
||||||
-->
|
-->
|
||||||
コンテナ内に作られるインターフェースの名前。
|
コンテナ内に作られるインターフェースの名前。
|
||||||
@ -162,6 +208,23 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp>
|
|||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
|
<varlistentry>
|
||||||
|
<term>
|
||||||
|
<option><replaceable>path to network namespace</replaceable></option>
|
||||||
|
</term>
|
||||||
|
<listitem>
|
||||||
|
<para>
|
||||||
|
<!--
|
||||||
|
A path to open to get a file descriptor for the target
|
||||||
|
network namespace.
|
||||||
|
This is only relevant when an veth device is deleted.
|
||||||
|
-->
|
||||||
|
対象のネットワーク名前空間のファイルディスクリプタを取得するために open するためのパス。
|
||||||
|
これは veth デバイスを削除するときのみ関係します。
|
||||||
|
</para>
|
||||||
|
</listitem>
|
||||||
|
</varlistentry>
|
||||||
|
|
||||||
</variablelist>
|
</variablelist>
|
||||||
|
|
||||||
</refsect1>
|
</refsect1>
|
||||||
@ -189,6 +252,8 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp>
|
|||||||
|
|
||||||
<refsect1>
|
<refsect1>
|
||||||
<title><!-- Author -->作者</title>
|
<title><!-- Author -->作者</title>
|
||||||
|
<para>Christian Brauner <email>christian@brauner.io</email></para>
|
||||||
|
<para>Serge Hallyn <email>serge@hallyn.com</email></para>
|
||||||
<para>Daniel Lezcano <email>daniel.lezcano@free.fr</email></para>
|
<para>Daniel Lezcano <email>daniel.lezcano@free.fr</email></para>
|
||||||
</refsect1>
|
</refsect1>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user