aboutsummaryrefslogtreecommitdiff
path: root/param.ccl
blob: 444cdd31535731247513203c2345b7b66805b38c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
# Parameter definitions for thorn httpd
# $Header$

private:

# Probably the most useful parameter

INT port "HTTP port number"
{
    1:65535 :: "Any valid port"
} 5555

# This allows you to control the number of times all procs need to synchronise parameters
INT steering_frequency "How many iterations between steering events" STEERABLE = ALWAYS
{
 0:  :: "Any number, 0 means don't steer"
} 1

# Switching this off means all pages must be provided by other thorns.
BOOLEAN provide_pages "Should the server provide any pages ?"
{
} "yes"

# Setting this to true in the parameter file will start the simulation paused.
BOOLEAN pause "Pause ?" STEERABLE = ALWAYS
{
} "no"

# Username and password for controlling cactus
STRING user "The username for Cactus Control "
{
  ".+" :: "Any name of one or more characters"
} "anon"

STRING password "The password for Cactus Control"
{
  ".*" :: "Any password"
} "anon"

KEYWORD encryption_scheme "How the password is encrypted"
{
  "none"  :: "Not encrypted"
  "crypt" :: "crypt(3) (standard UNIX passwd format)"
} "none"

##################################################################
# Tuning parameters

INT timeout_seconds "Polling timeout seconds" STEERABLE = ALWAYS
{
    0:      :: "Any whole number"
} 0

INT timeout_useconds "Polling timeout micro-seconds" STEERABLE = ALWAYS
{
    0:      :: "Any whole number"
} 0

INT queue_length "Listen queue length"
{
    1:      :: "Any positive number"
}  4

###################################################################
# You probably don't want to set this in a parameter file 

BOOLEAN terminate "Kill the simulation ?" STEERABLE = ALWAYS
{
} "no"