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_qemu =
|
|
|
|
::CONFIG::
|
|
|
|
|
|
|
|
test Libvirtd_qemu.lns get conf =
|
|
|
|
{ "vnc_listen" = "0.0.0.0" }
|
|
|
|
{ "vnc_auto_unix_socket" = "1" }
|
|
|
|
{ "vnc_tls" = "1" }
|
|
|
|
{ "vnc_tls_x509_cert_dir" = "/etc/pki/libvirt-vnc" }
|
|
|
|
{ "vnc_tls_x509_verify" = "1" }
|
|
|
|
{ "vnc_password" = "XYZ12345" }
|
|
|
|
{ "vnc_sasl" = "1" }
|
|
|
|
{ "vnc_sasl_dir" = "/some/directory/sasl2" }
|
|
|
|
{ "vnc_allow_host_audio" = "0" }
|
|
|
|
{ "spice_listen" = "0.0.0.0" }
|
|
|
|
{ "spice_tls" = "1" }
|
|
|
|
{ "spice_tls_x509_cert_dir" = "/etc/pki/libvirt-spice" }
|
|
|
|
{ "spice_password" = "XYZ12345" }
|
2012-02-24 14:13:06 +00:00
|
|
|
{ "spice_sasl" = "1" }
|
|
|
|
{ "spice_sasl_dir" = "/some/directory/sasl2" }
|
2013-08-17 19:30:47 +00:00
|
|
|
{ "nographics_allow_host_audio" = "1" }
|
2012-06-18 08:22:07 +00:00
|
|
|
{ "remote_display_port_min" = "5900" }
|
|
|
|
{ "remote_display_port_max" = "65535" }
|
2013-04-30 14:26:43 +00:00
|
|
|
{ "remote_websocket_port_min" = "5700" }
|
|
|
|
{ "remote_websocket_port_max" = "65535" }
|
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
|
|
|
{ "security_driver" = "selinux" }
|
|
|
|
{ "security_default_confined" = "1" }
|
|
|
|
{ "security_require_confined" = "1" }
|
|
|
|
{ "user" = "root" }
|
|
|
|
{ "group" = "root" }
|
|
|
|
{ "dynamic_ownership" = "1" }
|
|
|
|
{ "cgroup_controllers"
|
|
|
|
{ "1" = "cpu" }
|
|
|
|
{ "2" = "devices" }
|
|
|
|
{ "3" = "memory" }
|
|
|
|
{ "4" = "blkio" }
|
|
|
|
{ "5" = "cpuset" }
|
|
|
|
{ "6" = "cpuacct" }
|
|
|
|
}
|
|
|
|
{ "cgroup_device_acl"
|
|
|
|
{ "1" = "/dev/null" }
|
|
|
|
{ "2" = "/dev/full" }
|
|
|
|
{ "3" = "/dev/zero" }
|
|
|
|
{ "4" = "/dev/random" }
|
|
|
|
{ "5" = "/dev/urandom" }
|
|
|
|
{ "6" = "/dev/ptmx" }
|
|
|
|
{ "7" = "/dev/kvm" }
|
|
|
|
{ "8" = "/dev/kqemu" }
|
|
|
|
{ "9" = "/dev/rtc" }
|
|
|
|
{ "10" = "/dev/hpet" }
|
2013-04-29 17:15:26 +00:00
|
|
|
{ "11" = "/dev/vfio/vfio" }
|
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
|
|
|
}
|
|
|
|
{ "save_image_format" = "raw" }
|
|
|
|
{ "dump_image_format" = "raw" }
|
2013-10-09 16:05:43 +00:00
|
|
|
{ "snapshot_image_format" = "raw" }
|
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
|
|
|
{ "auto_dump_path" = "/var/lib/libvirt/qemu/dump" }
|
|
|
|
{ "auto_dump_bypass_cache" = "0" }
|
|
|
|
{ "auto_start_bypass_cache" = "0" }
|
|
|
|
{ "hugetlbfs_mount" = "/dev/hugepages" }
|
2013-03-25 14:25:30 +00:00
|
|
|
{ "bridge_helper" = "/usr/libexec/qemu-bridge-helper" }
|
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
|
|
|
{ "clear_emulator_capabilities" = "1" }
|
|
|
|
{ "set_process_name" = "1" }
|
|
|
|
{ "max_processes" = "0" }
|
|
|
|
{ "max_files" = "0" }
|
|
|
|
{ "mac_filter" = "1" }
|
|
|
|
{ "relaxed_acs_check" = "1" }
|
|
|
|
{ "allow_disk_format_probing" = "1" }
|
2014-03-12 07:53:37 +00:00
|
|
|
{ "lock_manager" = "lockd" }
|
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
|
|
|
{ "max_queued" = "0" }
|
|
|
|
{ "keepalive_interval" = "5" }
|
|
|
|
{ "keepalive_count" = "5" }
|
2012-09-18 08:28:43 +00:00
|
|
|
{ "seccomp_sandbox" = "1" }
|
2013-10-09 09:32:55 +00:00
|
|
|
{ "migration_address" = "127.0.0.1" }
|
2014-05-20 06:08:05 +00:00
|
|
|
{ "migration_host" = "host.example.com" }
|
2013-10-18 16:28:14 +00:00
|
|
|
{ "migration_port_min" = "49152" }
|
|
|
|
{ "migration_port_max" = "49215" }
|
2014-04-09 13:23:45 +00:00
|
|
|
{ "log_timestamp" = "0" }
|