]>
Commit | Line | Data |
---|---|---|
df3415e0 SH |
1 | <!-- |
2 | ||
3 | lxc: linux Container library | |
4 | ||
5 | (C) Copyright Canonical Ltd. 2013 | |
6 | ||
7 | Authors: | |
8 | Serge Hallyn <serge.hallyn@ubuntu.com> | |
9 | ||
10 | This library is free software; you can redistribute it and/or | |
11 | modify it under the terms of the GNU Lesser General Public | |
12 | License as published by the Free Software Foundation; either | |
13 | version 2.1 of the License, or (at your option) any later version. | |
14 | ||
15 | This library is distributed in the hope that it will be useful, | |
16 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
17 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
18 | Lesser General Public License for more details. | |
19 | ||
20 | You should have received a copy of the GNU Lesser General Public | |
21 | License along with this library; if not, write to the Free Software | |
22 | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |
23 | ||
24 | --> | |
25 | ||
26 | <!DOCTYPE refentry PUBLIC @docdtd@ [ | |
27 | ||
28 | <!ENTITY seealso SYSTEM "@builddir@/see_also.sgml"> | |
29 | ]> | |
30 | ||
31 | <refentry> | |
32 | ||
33 | <docinfo><date>@LXC_GENERATE_DATE@</date></docinfo> | |
34 | ||
35 | <refmeta> | |
36 | <refentrytitle>lxc-usernet</refentrytitle> | |
37 | <manvolnum>5</manvolnum> | |
38 | </refmeta> | |
39 | ||
40 | <refnamediv> | |
41 | <refname>lxc-usernet</refname> | |
42 | ||
43 | <refpurpose> | |
44 | unprivileged user network administration file. | |
45 | </refpurpose> | |
46 | </refnamediv> | |
47 | ||
48 | <refsect1> | |
49 | <title>Description</title> | |
50 | ||
51 | <para> | |
52 | <filename>@LXC_USERNIC_CONF@</filename> controls the limits which the | |
53 | program <command>lxc-user-nic</command> places on network interfaces | |
54 | which an unprivileged user may create. | |
55 | </para> | |
56 | ||
57 | <refsect2> | |
58 | <title>Configuration</title> | |
59 | <para> | |
60 | This file consists of multiple entries, one per line, of the form: | |
61 | </para> | |
62 | ||
63 | <para> | |
64 | <command>user</command> <command>type</command> <command>bridge</command> <command>number</command> | |
65 | </para> | |
66 | <para> | |
67 | Where | |
68 | </para> | |
69 | ||
70 | <variablelist> | |
71 | ||
72 | <varlistentry> | |
73 | <term> | |
74 | <option>user</option> | |
75 | </term> | |
76 | <listitem> | |
77 | <para> | |
78 | is the username to whom this entry applies. | |
79 | </para> | |
80 | </listitem> | |
81 | </varlistentry> | |
82 | ||
83 | <varlistentry> | |
84 | <term> | |
85 | <option>type</option> | |
86 | </term> | |
87 | <listitem> | |
88 | <para> | |
89 | is the type of network interface being allowed. Only veth | |
90 | is currently supported. | |
91 | </para> | |
92 | </listitem> | |
93 | </varlistentry> | |
94 | ||
95 | <varlistentry> | |
96 | <term> | |
97 | <option>bridge</option> | |
98 | </term> | |
99 | <listitem> | |
100 | <para> | |
101 | is the bridge to which the network interfaces may be attached, for | |
102 | instance <filename>lxcbr0</filename>. | |
103 | </para> | |
104 | </listitem> | |
105 | </varlistentry> | |
106 | ||
107 | <varlistentry> | |
108 | <term> | |
109 | <option>number</option> | |
110 | </term> | |
111 | <listitem> | |
112 | <para> | |
113 | is the number of network interfaces of the given type which the | |
114 | given user may attach to the given bridge, for instance <filename>2</filename>. | |
115 | </para> | |
116 | </listitem> | |
117 | </varlistentry> | |
118 | </variablelist> | |
119 | </refsect2> | |
120 | ||
121 | </refsect1> | |
122 | ||
123 | <refsect1> | |
124 | <title>See Also</title> | |
125 | <simpara> | |
126 | <citerefentry> | |
127 | <refentrytitle><command>lxc</command></refentrytitle> | |
128 | <manvolnum>1</manvolnum> | |
129 | </citerefentry>, | |
130 | <citerefentry> | |
131 | <refentrytitle><command>lxc-user-nic</command></refentrytitle> | |
132 | <manvolnum>1</manvolnum> | |
133 | </citerefentry> | |
134 | </simpara> | |
135 | </refsect1> | |
136 | ||
137 | <refsect1> | |
138 | <title>Author</title> | |
139 | <para>Daniel Lezcano <email>daniel.lezcano@free.fr</email></para> | |
140 | </refsect1> | |
141 | ||
142 | </refentry> | |
143 | ||
144 | <!-- Keep this comment at the end of the file | |
145 | Local variables: | |
146 | mode: sgml | |
147 | sgml-omittag:t | |
148 | sgml-shorttag:t | |
149 | sgml-minimize-attributes:nil | |
150 | sgml-always-quote-attributes:t | |
151 | sgml-indent-step:2 | |
152 | sgml-indent-data:t | |
153 | sgml-parent-document:nil | |
154 | sgml-default-dtd-file:nil | |
155 | sgml-exposed-tags:nil | |
156 | sgml-local-catalogs:nil | |
157 | sgml-local-ecat-files:nil | |
158 | End: | |
159 | --> |