blob: 29e98c64045da0dd47dacf6e17d0dccecfc984fc [file] [log] [blame] [raw]
OpenVZ teamc685a072005-08-14 18:00:00 +04001/*
Igor Sukhih76827082006-04-10 14:18:42 +04002 * Copyright (C) 2000-2006 SWsoft. All rights reserved.
OpenVZ teamc685a072005-08-14 18:00:00 +04003 *
Igor Sukhih76827082006-04-10 14:18:42 +04004 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
OpenVZ teamc685a072005-08-14 18:00:00 +04008 *
Igor Sukhih76827082006-04-10 14:18:42 +04009 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write to the Free Software
16 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
OpenVZ teamc685a072005-08-14 18:00:00 +040017 */
18#ifndef _VZCTL_PARAM_H_
19#define _VZCTL_PARAM_H_
20
21/* UB */
22#define PARAM_KMEMSIZE 'k'
23#define PARAM_LOCKEDPAGES 'l'
24#define PARAM_PRIVVMPAGES 1
25#define PARAM_SHMPAGES 2
26#define PARAM_NUMPROC 'p'
27#define PARAM_PHYSPAGES 3
28#define PARAM_VMGUARPAGES 4
29#define PARAM_OOMGUARPAGES 5
30#define PARAM_NUMTCPSOCK 6
31#define PARAM_NUMFLOCK 'f'
32#define PARAM_NUMPTY 't'
33#define PARAM_NUMSIGINFO 'i'
34#define PARAM_TCPSNDBUF 7
35#define PARAM_TCPRCVBUF 'b'
36#define PARAM_OTHERSOCKBUF 8
37#define PARAM_DGRAMRCVBUF 9
38#define PARAM_NUMOTHERSOCK 10
39#define PARAM_NUMIPTENT 'e'
40#define PARAM_NUMFILE 'n'
Igor Sukhih609fae52006-04-27 18:54:51 +040041#define PARAM_DCACHESIZE 'x'
OpenVZ teamc685a072005-08-14 18:00:00 +040042
43#define PARAM_PKGVER 11
44#define PARAM_PKGSET 12
45#define PARAM_OSTEMPLATE 13
46
47#define PARAM_CPUWEIGHT 14
48#define PARAM_CPULIMIT 15
49#define PARAM_CPUUNITS 16
Igor Sukhih01424212006-07-06 15:47:37 +040050#define PARAM_VCPUS 17
OpenVZ teamc685a072005-08-14 18:00:00 +040051
52#define PARAM_IP_ADD 18
53#define PARAM_IP_DEL 19
54#define PARAM_HOSTNAME 20
55#define PARAM_SEARCHDOMAIN 22
56#define PARAM_NAMESERVER 23
57#define PARAM_USERPW 24
58#define PARAM_TEMPLATE 25
59#define PARAM_IP 28
60#define PARAM_BASH 30
61#define PARAM_SAVE 31
62#define PARAM_ROOT 32
63#define PARAM_PRIVATE 33
64#define PARAM_ONBOOT 34
65#define PARAM_IPHOST 35
66
67#define PARAM_DISKSPACE 36
68#define PARAM_DISKINODES 37
69#define PARAM_QUOTATIME 38
70#define PARAM_QUOTAUGIDLIMIT 39
71#define PARAM_DISK_QUOTA 40
72
73#define PARAM_NOATIME 43
74#define PARAM_SAFE 44
75#define PARAM_CAP 45
76#define PARAM_CONFIG 47
77#define PARAM_SHARED 48
78#define PARAM_CFGVER 50
79#define PARAM_DEVICES 51
80#define PARAM_AVNUMPROC 52
81#define PARAM_TEMPLATES 93
82#define PARAM_DEVNODES 94
83#define PARAM_SKIPQUOTACHECK 95
Igor Sukhihdfcc93e2006-05-31 17:58:00 +040084#define PARAM_MEMINFO 97
OpenVZ teamc685a072005-08-14 18:00:00 +040085
86#define PARAM_FAST 310
87#define PARAM_APPLYCONFIG 311
88#define PARAM_IPTABLES 316
89#define PARAM_NETDEV_ADD 317
90#define PARAM_NETDEV_DEL 318
91#define PARAM_DISABLED 319
92#define PARAM_FORCE 320
93#define PARAM_SKIP_VE_SETUP 321
94#define PARAM_CONFIG_SAMPLE 322
95#define PARAM_CONFIG_CUSTOMIZE 323
96#define PARAM_SETMODE 324
97
98#define PARAM_LOGFILE 325
99#define PARAM_LOGGING 326
100#define PARAM_LOGLEVEL 327
101#define PARAM_DEF_OSTEMPLATE 328
102#define PARAM_LOCKDIR 329
103
Igor Sukhih579dbe32006-04-10 16:37:17 +0400104#define PARAM_DUMPFILE 330
105#define PARAM_CPTCONTEXT 331
106#define PARAM_CPU_FLAGS 332
107#define PARAM_KILL 333
108#define PARAM_RESUME 334
109#define PARAM_DUMP 335
110#define PARAM_SUSPEND 336
111#define PARAM_UNDUMP 337
112#define PARAM_DUMPDIR 338
Igor Sukhihd0e79a62006-04-17 15:25:46 +0400113#define PARAM_SKIPARPDETECT 339
Igor Sukhih5543be32006-05-30 15:51:55 +0400114#define PARAM_RESET_UB 340
Igor Sukhiheb303952006-06-07 12:58:01 +0400115#define PARAM_VETH_ADD 341
116#define PARAM_VETH_DEL 342
Igor Sukhih2ee63842006-07-04 15:51:55 +0400117#define PARAM_VEID 343
118#define PARAM_NAME 344
Igor Sukhih579dbe32006-04-10 16:37:17 +0400119
OpenVZ teamc685a072005-08-14 18:00:00 +0400120#define PARAM_LINE "e:p:f:t:i:l:k:a:b:n:x:h"
121#endif