blob: c293d278bc11feb2c089afb96aa70173efbf48f2 [file] [log] [blame] [raw]
/*
* Copyright (C) 2000-2007 SWsoft. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef _VZCTL_PARAM_H_
#define _VZCTL_PARAM_H_
/* UB */
#define PARAM_KMEMSIZE 'k'
#define PARAM_LOCKEDPAGES 'l'
#define PARAM_PRIVVMPAGES 1
#define PARAM_SHMPAGES 2
#define PARAM_NUMPROC 'p'
#define PARAM_PHYSPAGES 3
#define PARAM_VMGUARPAGES 4
#define PARAM_OOMGUARPAGES 5
#define PARAM_NUMTCPSOCK 6
#define PARAM_NUMFLOCK 'f'
#define PARAM_NUMPTY 't'
#define PARAM_NUMSIGINFO 'i'
#define PARAM_TCPSNDBUF 7
#define PARAM_TCPRCVBUF 'b'
#define PARAM_OTHERSOCKBUF 8
#define PARAM_DGRAMRCVBUF 9
#define PARAM_NUMOTHERSOCK 10
#define PARAM_NUMIPTENT 'e'
#define PARAM_NUMFILE 'n'
#define PARAM_DCACHESIZE 'x'
#define PARAM_PKGVER 11
#define PARAM_PKGSET 12
#define PARAM_OSTEMPLATE 13
#define PARAM_CPUWEIGHT 14
#define PARAM_CPULIMIT 15
#define PARAM_CPUUNITS 16
#define PARAM_VCPUS 17
#define PARAM_IP_ADD 18
#define PARAM_IP_DEL 19
#define PARAM_HOSTNAME 20
#define PARAM_SEARCHDOMAIN 22
#define PARAM_NAMESERVER 23
#define PARAM_USERPW 24
#define PARAM_TEMPLATE 25
#define PARAM_IP 28
#define PARAM_BASH 30
#define PARAM_SAVE 31
#define PARAM_ROOT 32
#define PARAM_PRIVATE 33
#define PARAM_ONBOOT 34
#define PARAM_IPHOST 35
#define PARAM_DISKSPACE 36
#define PARAM_DISKINODES 37
#define PARAM_QUOTATIME 38
#define PARAM_QUOTAUGIDLIMIT 39
#define PARAM_DISK_QUOTA 40
#define PARAM_NOATIME 43
#define PARAM_SAFE 44
#define PARAM_CAP 45
#define PARAM_CONFIG 47
#define PARAM_SHARED 48
#define PARAM_CFGVER 50
#define PARAM_DEVICES 51
#define PARAM_AVNUMPROC 52
#define PARAM_TEMPLATES 93
#define PARAM_DEVNODES 94
#define PARAM_SKIPQUOTACHECK 95
#define PARAM_MEMINFO 97
#define PARAM_FAST 310
#define PARAM_APPLYCONFIG 311
#define PARAM_IPTABLES 316
#define PARAM_NETDEV_ADD 317
#define PARAM_NETDEV_DEL 318
#define PARAM_DISABLED 319
#define PARAM_FORCE 320
#define PARAM_SKIP_VE_SETUP 321
#define PARAM_CONFIG_SAMPLE 322
#define PARAM_CONFIG_CUSTOMIZE 323
#define PARAM_SETMODE 324
#define PARAM_LOGFILE 325
#define PARAM_LOGGING 326
#define PARAM_LOGLEVEL 327
#define PARAM_DEF_OSTEMPLATE 328
#define PARAM_LOCKDIR 329
#define PARAM_DUMPFILE 330
#define PARAM_CPTCONTEXT 331
#define PARAM_CPU_FLAGS 332
#define PARAM_KILL 333
#define PARAM_RESUME 334
#define PARAM_DUMP 335
#define PARAM_SUSPEND 336
#define PARAM_UNDUMP 337
#define PARAM_DUMPDIR 338
#define PARAM_SKIPARPDETECT 339
#define PARAM_RESET_UB 340
#define PARAM_VETH_ADD_CMD 341
#define PARAM_VETH_DEL_CMD 342
#define PARAM_VEID 343
#define PARAM_NAME 344
#define PARAM_APPLYCONFIG_MAP 345
#define PARAM_WAIT 346
#define PARAM_IPV6NET 347
#define PARAM_VETH_ADD 348
#define PARAM_FEATURES 350
#define PARAM_NETIF_ADD 351
#define PARAM_NETIF_ADD_CMD 352
#define PARAM_NETIF_DEL_CMD 353
#define PARAM_NETIF_MAC 354
#define PARAM_NETIF_IFNAME 355
#define PARAM_NETIF_HOST_MAC 356
#define PARAM_NETIF_HOST_IFNAME 357
#define PARAM_VERBOSE 358
#define PARAM_LINE "e:p:f:t:i:l:k:a:b:n:x:h"
#endif