提交 f3a89d7c 编写于 作者: J Jiri Denemark

qemumigparamstest: Add test data for TLS parameters

Signed-off-by: NJiri Denemark <jdenemar@redhat.com>
Reviewed-by: NJán Tomko <jtomko@redhat.com>
上级 b60a1185
{
"compress-level": 1,
"compress-threads": 8,
"decompress-threads": 2,
"cpu-throttle-initial": 20,
"cpu-throttle-increment": 10,
"tls-creds": "objlibvirt_migrate_tls0",
"tls-hostname": "",
"max-bandwidth": 33554432,
"downtime-limit": 300
}
{
"id": "libvirt-1",
"return": {
"decompress-threads": 2,
"cpu-throttle-increment": 10,
"compress-threads": 8,
"tls-hostname": "",
"compress-level": 1,
"cpu-throttle-initial": 20,
"tls-creds": "objlibvirt_migrate_tls0",
"max-bandwidth": 33554432,
"downtime-limit": 300
}
}
<test>
<migParams>
<param name='compress-level' value='1'/>
<param name='compress-threads' value='8'/>
<param name='decompress-threads' value='2'/>
<param name='cpu-throttle-initial' value='20'/>
<param name='cpu-throttle-increment' value='10'/>
<param name='tls-creds' value='objlibvirt_migrate_tls0'/>
<param name='tls-hostname' value=''/>
<param name='max-bandwidth' value='33554432'/>
<param name='downtime-limit' value='300'/>
</migParams>
</test>
{
"compress-level": 1,
"compress-threads": 8,
"decompress-threads": 2,
"cpu-throttle-initial": 20,
"cpu-throttle-increment": 10,
"tls-creds": "objlibvirt_migrate_tls0",
"tls-hostname": "f27-1.virt",
"max-bandwidth": 33554432,
"downtime-limit": 300
}
{
"id": "libvirt-1",
"return": {
"decompress-threads": 2,
"cpu-throttle-increment": 10,
"compress-threads": 8,
"tls-hostname": "f27-1.virt",
"compress-level": 1,
"cpu-throttle-initial": 20,
"tls-creds": "objlibvirt_migrate_tls0",
"max-bandwidth": 33554432,
"downtime-limit": 300
}
}
<test>
<migParams>
<param name='compress-level' value='1'/>
<param name='compress-threads' value='8'/>
<param name='decompress-threads' value='2'/>
<param name='cpu-throttle-initial' value='20'/>
<param name='cpu-throttle-increment' value='10'/>
<param name='tls-creds' value='objlibvirt_migrate_tls0'/>
<param name='tls-hostname' value='f27-1.virt'/>
<param name='max-bandwidth' value='33554432'/>
<param name='downtime-limit' value='300'/>
</migParams>
</test>
{
"compress-level": 1,
"compress-threads": 8,
"decompress-threads": 2,
"cpu-throttle-initial": 20,
"cpu-throttle-increment": 10,
"tls-creds": "",
"tls-hostname": "",
"max-bandwidth": 33554432,
"downtime-limit": 300
}
{
"id": "libvirt-1",
"return": {
"decompress-threads": 2,
"cpu-throttle-increment": 10,
"compress-threads": 8,
"tls-hostname": "",
"compress-level": 1,
"cpu-throttle-initial": 20,
"tls-creds": "",
"max-bandwidth": 33554432,
"downtime-limit": 300
}
}
<test>
<migParams>
<param name='compress-level' value='1'/>
<param name='compress-threads' value='8'/>
<param name='decompress-threads' value='2'/>
<param name='cpu-throttle-initial' value='20'/>
<param name='cpu-throttle-increment' value='10'/>
<param name='tls-creds' value=''/>
<param name='tls-hostname' value=''/>
<param name='max-bandwidth' value='33554432'/>
<param name='downtime-limit' value='300'/>
</migParams>
</test>
......@@ -230,6 +230,9 @@ mymain(void)
DO_TEST("unsupported");
DO_TEST("empty");
DO_TEST("basic");
DO_TEST("tls");
DO_TEST("tls-enabled");
DO_TEST("tls-hostname");
qemuTestDriverFree(&driver);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册