mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-09-13 19:25:13 +00:00
rpc: avoid duplicating config in virtlockd/virtlogd augeas tests
Most of the augeas test files use ::CONFIG:: to pull in the master config file for testing. This ensures that entries added to the config file are actually tested by augeas. This identified the missing admin_max_clients example in the virtlogd config file, which in turn prompted a change in description of the max_clients parameter, since these daemons don't have separate readonly & readwrite sockets. Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
parent
65824a7e45
commit
76e1720c4f
@ -1,14 +1,9 @@
|
|||||||
module Test_virtlockd =
|
module Test_virtlockd =
|
||||||
let conf = "log_level = 3
|
::CONFIG::
|
||||||
log_filters=\"3:remote 4:event\"
|
|
||||||
log_outputs=\"3:syslog:libvirtd\"
|
|
||||||
max_clients = 10
|
|
||||||
admin_max_clients = 10
|
|
||||||
"
|
|
||||||
|
|
||||||
test Virtlockd.lns get conf =
|
test Virtlockd.lns get conf =
|
||||||
{ "log_level" = "3" }
|
{ "log_level" = "3" }
|
||||||
{ "log_filters" = "3:remote 4:event" }
|
{ "log_filters" = "3:remote 4:event" }
|
||||||
{ "log_outputs" = "3:syslog:libvirtd" }
|
{ "log_outputs" = "3:syslog:virtlockd" }
|
||||||
{ "max_clients" = "10" }
|
{ "max_clients" = "1024" }
|
||||||
{ "admin_max_clients" = "10" }
|
{ "admin_max_clients" = "5" }
|
||||||
|
@ -53,14 +53,12 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
# The maximum number of concurrent client connections to allow
|
# 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
|
# Each running virtual machine will require one open connection
|
||||||
# to virtlockd. So 'max_clients' will affect how many VMs can
|
# to virtlockd. So 'max_clients' will affect how many VMs can
|
||||||
# be run on a host
|
# be run on a host
|
||||||
#max_clients = 1024
|
#max_clients = 1024
|
||||||
|
|
||||||
# Same processing controls, but this time for the admin interface.
|
# The maximum number of concurrent client connections to allow
|
||||||
# For description of each option, be so kind to scroll few lines
|
# on administrative socket
|
||||||
# upwards.
|
|
||||||
|
|
||||||
#admin_max_clients = 5
|
#admin_max_clients = 5
|
||||||
|
@ -1,18 +1,11 @@
|
|||||||
module Test_virtlogd =
|
module Test_virtlogd =
|
||||||
let conf = "log_level = 3
|
::CONFIG::
|
||||||
log_filters=\"3:remote 4:event\"
|
|
||||||
log_outputs=\"3:syslog:virtlogd\"
|
|
||||||
max_clients = 10
|
|
||||||
admin_max_clients = 10
|
|
||||||
max_size = 131072
|
|
||||||
max_backups = 3
|
|
||||||
"
|
|
||||||
|
|
||||||
test Virtlogd.lns get conf =
|
test Virtlogd.lns get conf =
|
||||||
{ "log_level" = "3" }
|
{ "log_level" = "3" }
|
||||||
{ "log_filters" = "3:remote 4:event" }
|
{ "log_filters" = "3:remote 4:event" }
|
||||||
{ "log_outputs" = "3:syslog:virtlogd" }
|
{ "log_outputs" = "3:syslog:virtlogd" }
|
||||||
{ "max_clients" = "10" }
|
{ "max_clients" = "1024" }
|
||||||
{ "admin_max_clients" = "10" }
|
{ "admin_max_clients" = "5" }
|
||||||
{ "max_size" = "131072" }
|
{ "max_size" = "2097152" }
|
||||||
{ "max_backups" = "3" }
|
{ "max_backups" = "3" }
|
||||||
|
@ -55,9 +55,12 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
# The maximum number of concurrent client connections to allow
|
# The maximum number of concurrent client connections to allow
|
||||||
# over all sockets combined.
|
# on primary socket
|
||||||
#max_clients = 1024
|
#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
|
# Maximum file size before rolling over. Defaults to 2 MB
|
||||||
#max_size = 2097152
|
#max_size = 2097152
|
||||||
|
Loading…
Reference in New Issue
Block a user