module Test_virtlockd =
- let conf = "log_level = 3
-log_filters=\"3:remote 4:event\"
-log_outputs=\"3:syslog:libvirtd\"
-max_clients = 10
-admin_max_clients = 10
-"
+ ::CONFIG::
test Virtlockd.lns get conf =
{ "log_level" = "3" }
{ "log_filters" = "3:remote 4:event" }
- { "log_outputs" = "3:syslog:libvirtd" }
- { "max_clients" = "10" }
- { "admin_max_clients" = "10" }
+ { "log_outputs" = "3:syslog:virtlockd" }
+ { "max_clients" = "1024" }
+ { "admin_max_clients" = "5" }
#
# The maximum number of concurrent client connections to allow
-# over all sockets combined.
+# on primary socket
# Each running virtual machine will require one open connection
# to virtlockd. So 'max_clients' will affect how many VMs can
# be run on a host
#max_clients = 1024
-# Same processing controls, but this time for the admin interface.
-# For description of each option, be so kind to scroll few lines
-# upwards.
-
+# The maximum number of concurrent client connections to allow
+# on administrative socket
#admin_max_clients = 5
module Test_virtlogd =
- let conf = "log_level = 3
-log_filters=\"3:remote 4:event\"
-log_outputs=\"3:syslog:virtlogd\"
-max_clients = 10
-admin_max_clients = 10
-max_size = 131072
-max_backups = 3
-"
+ ::CONFIG::
test Virtlogd.lns get conf =
{ "log_level" = "3" }
{ "log_filters" = "3:remote 4:event" }
{ "log_outputs" = "3:syslog:virtlogd" }
- { "max_clients" = "10" }
- { "admin_max_clients" = "10" }
- { "max_size" = "131072" }
+ { "max_clients" = "1024" }
+ { "admin_max_clients" = "5" }
+ { "max_size" = "2097152" }
{ "max_backups" = "3" }
#
# The maximum number of concurrent client connections to allow
-# over all sockets combined.
+# on primary socket
#max_clients = 1024
+# The maximum number of concurrent client connections to allow
+# on administrative socket
+#admin_max_clients = 5
# Maximum file size before rolling over. Defaults to 2 MB
#max_size = 2097152