Autogenerate augeas test case from default config files
When adding new config file parameters, the corresponding
additions to the augeas lens' are constantly forgotten.
Also there are augeas test cases, these don't catch the
error, since they too are never updated.
To address this, the augeas test cases need to be auto-generated
from the example config files.
* build-aux/augeas-gentest.pl: Helper to generate an
augeas test file, substituting in elements from the
example config files
* src/Makefile.am, daemon/Makefile.am: Switch to
auto-generated augeas test cases
* daemon/test_libvirtd.aug, daemon/test_libvirtd.aug.in,
src/locking/test_libvirt_sanlock.aug,
src/locking/test_libvirt_sanlock.aug.in,
src/lxc/test_libvirtd_lxc.aug,
src/lxc/test_libvirtd_lxc.aug.in,
src/qemu/test_libvirtd_qemu.aug,
src/qemu/test_libvirtd_qemu.aug.in: Remove example
config file data, replacing with a ::CONFIG:: placeholder
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
2012-05-25 10:14:15 +00:00
|
|
|
module Test_libvirtd =
|
|
|
|
::CONFIG::
|
|
|
|
|
|
|
|
test Libvirtd.lns get conf =
|
|
|
|
{ "listen_tls" = "0" }
|
|
|
|
{ "listen_tcp" = "1" }
|
|
|
|
{ "tls_port" = "16514" }
|
|
|
|
{ "tcp_port" = "16509" }
|
|
|
|
{ "listen_addr" = "192.168.0.1" }
|
|
|
|
{ "mdns_adv" = "1" }
|
|
|
|
{ "mdns_name" = "Virtualization Host Joe Demo" }
|
|
|
|
{ "unix_sock_group" = "libvirt" }
|
|
|
|
{ "unix_sock_ro_perms" = "0777" }
|
|
|
|
{ "unix_sock_rw_perms" = "0770" }
|
2015-04-13 14:05:46 +00:00
|
|
|
{ "unix_sock_admin_perms" = "0700" }
|
Autogenerate augeas test case from default config files
When adding new config file parameters, the corresponding
additions to the augeas lens' are constantly forgotten.
Also there are augeas test cases, these don't catch the
error, since they too are never updated.
To address this, the augeas test cases need to be auto-generated
from the example config files.
* build-aux/augeas-gentest.pl: Helper to generate an
augeas test file, substituting in elements from the
example config files
* src/Makefile.am, daemon/Makefile.am: Switch to
auto-generated augeas test cases
* daemon/test_libvirtd.aug, daemon/test_libvirtd.aug.in,
src/locking/test_libvirt_sanlock.aug,
src/locking/test_libvirt_sanlock.aug.in,
src/lxc/test_libvirtd_lxc.aug,
src/lxc/test_libvirtd_lxc.aug.in,
src/qemu/test_libvirtd_qemu.aug,
src/qemu/test_libvirtd_qemu.aug.in: Remove example
config file data, replacing with a ::CONFIG:: placeholder
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
2012-05-25 10:14:15 +00:00
|
|
|
{ "unix_sock_dir" = "/var/run/libvirt" }
|
|
|
|
{ "auth_unix_ro" = "none" }
|
|
|
|
{ "auth_unix_rw" = "none" }
|
|
|
|
{ "auth_tcp" = "sasl" }
|
|
|
|
{ "auth_tls" = "none" }
|
2013-04-17 11:01:24 +00:00
|
|
|
{ "access_drivers"
|
2012-01-23 15:12:57 +00:00
|
|
|
{ "1" = "polkit" }
|
2013-04-17 11:01:24 +00:00
|
|
|
}
|
Autogenerate augeas test case from default config files
When adding new config file parameters, the corresponding
additions to the augeas lens' are constantly forgotten.
Also there are augeas test cases, these don't catch the
error, since they too are never updated.
To address this, the augeas test cases need to be auto-generated
from the example config files.
* build-aux/augeas-gentest.pl: Helper to generate an
augeas test file, substituting in elements from the
example config files
* src/Makefile.am, daemon/Makefile.am: Switch to
auto-generated augeas test cases
* daemon/test_libvirtd.aug, daemon/test_libvirtd.aug.in,
src/locking/test_libvirt_sanlock.aug,
src/locking/test_libvirt_sanlock.aug.in,
src/lxc/test_libvirtd_lxc.aug,
src/lxc/test_libvirtd_lxc.aug.in,
src/qemu/test_libvirtd_qemu.aug,
src/qemu/test_libvirtd_qemu.aug.in: Remove example
config file data, replacing with a ::CONFIG:: placeholder
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
2012-05-25 10:14:15 +00:00
|
|
|
{ "key_file" = "/etc/pki/libvirt/private/serverkey.pem" }
|
|
|
|
{ "cert_file" = "/etc/pki/libvirt/servercert.pem" }
|
|
|
|
{ "ca_file" = "/etc/pki/CA/cacert.pem" }
|
|
|
|
{ "crl_file" = "/etc/pki/CA/crl.pem" }
|
|
|
|
{ "tls_no_sanity_certificate" = "1" }
|
|
|
|
{ "tls_no_verify_certificate" = "1" }
|
|
|
|
{ "tls_allowed_dn_list"
|
|
|
|
{ "1" = "DN1"}
|
|
|
|
{ "2" = "DN2"}
|
|
|
|
}
|
|
|
|
{ "sasl_allowed_username_list"
|
|
|
|
{ "1" = "joe@EXAMPLE.COM" }
|
|
|
|
{ "2" = "fred@EXAMPLE.COM" }
|
|
|
|
}
|
2014-03-04 17:55:24 +00:00
|
|
|
{ "max_clients" = "5000" }
|
2013-08-05 19:09:52 +00:00
|
|
|
{ "max_queued_clients" = "1000" }
|
2014-03-04 17:55:24 +00:00
|
|
|
{ "max_anonymous_clients" = "20" }
|
Autogenerate augeas test case from default config files
When adding new config file parameters, the corresponding
additions to the augeas lens' are constantly forgotten.
Also there are augeas test cases, these don't catch the
error, since they too are never updated.
To address this, the augeas test cases need to be auto-generated
from the example config files.
* build-aux/augeas-gentest.pl: Helper to generate an
augeas test file, substituting in elements from the
example config files
* src/Makefile.am, daemon/Makefile.am: Switch to
auto-generated augeas test cases
* daemon/test_libvirtd.aug, daemon/test_libvirtd.aug.in,
src/locking/test_libvirt_sanlock.aug,
src/locking/test_libvirt_sanlock.aug.in,
src/lxc/test_libvirtd_lxc.aug,
src/lxc/test_libvirtd_lxc.aug.in,
src/qemu/test_libvirtd_qemu.aug,
src/qemu/test_libvirtd_qemu.aug.in: Remove example
config file data, replacing with a ::CONFIG:: placeholder
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
2012-05-25 10:14:15 +00:00
|
|
|
{ "min_workers" = "5" }
|
|
|
|
{ "max_workers" = "20" }
|
|
|
|
{ "prio_workers" = "5" }
|
|
|
|
{ "max_requests" = "20" }
|
|
|
|
{ "max_client_requests" = "5" }
|
2015-04-13 14:05:46 +00:00
|
|
|
{ "admin_min_workers" = "1" }
|
|
|
|
{ "admin_max_workers" = "5" }
|
|
|
|
{ "admin_max_clients" = "5" }
|
|
|
|
{ "admin_max_queued_clients" = "5" }
|
|
|
|
{ "admin_max_client_requests" = "5" }
|
Autogenerate augeas test case from default config files
When adding new config file parameters, the corresponding
additions to the augeas lens' are constantly forgotten.
Also there are augeas test cases, these don't catch the
error, since they too are never updated.
To address this, the augeas test cases need to be auto-generated
from the example config files.
* build-aux/augeas-gentest.pl: Helper to generate an
augeas test file, substituting in elements from the
example config files
* src/Makefile.am, daemon/Makefile.am: Switch to
auto-generated augeas test cases
* daemon/test_libvirtd.aug, daemon/test_libvirtd.aug.in,
src/locking/test_libvirt_sanlock.aug,
src/locking/test_libvirt_sanlock.aug.in,
src/lxc/test_libvirtd_lxc.aug,
src/lxc/test_libvirtd_lxc.aug.in,
src/qemu/test_libvirtd_qemu.aug,
src/qemu/test_libvirtd_qemu.aug.in: Remove example
config file data, replacing with a ::CONFIG:: placeholder
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
2012-05-25 10:14:15 +00:00
|
|
|
{ "log_level" = "3" }
|
|
|
|
{ "log_filters" = "3:remote 4:event" }
|
|
|
|
{ "log_outputs" = "3:syslog:libvirtd" }
|
|
|
|
{ "log_buffer_size" = "64" }
|
|
|
|
{ "audit_level" = "2" }
|
|
|
|
{ "audit_logging" = "1" }
|
|
|
|
{ "host_uuid" = "00000000-0000-0000-0000-000000000000" }
|
|
|
|
{ "keepalive_interval" = "5" }
|
|
|
|
{ "keepalive_count" = "5" }
|
|
|
|
{ "keepalive_required" = "1" }
|
2015-07-20 12:51:24 +00:00
|
|
|
{ "admin_keepalive_required" = "1" }
|
2015-04-13 14:05:46 +00:00
|
|
|
{ "admin_keepalive_interval" = "5" }
|
|
|
|
{ "admin_keepalive_count" = "5" }
|