Signed-off-by: Jiri Denemark
---
tests/qemumigparamsdata/tls-enabled.json | 11 +++
tests/qemumigparamsdata/tls-enabled.reply | 14 ++
tests/qemumigparamsdata/tls-enabled.xml| 13 +
tests/qemumigparamsdata/tls-hostname.json | 11 +++
tests/qemumigparamsdata/tls-hostname.reply | 14 ++
tests/qemumigparamsdata/tls-hostname.xml | 13 +
tests/qemumigparamsdata/tls.json | 11 +++
tests/qemumigparamsdata/tls.reply | 14 ++
tests/qemumigparamsdata/tls.xml| 13 +
tests/qemumigparamstest.c | 3 +++
10 files changed, 117 insertions(+)
create mode 100644 tests/qemumigparamsdata/tls-enabled.json
create mode 100644 tests/qemumigparamsdata/tls-enabled.reply
create mode 100644 tests/qemumigparamsdata/tls-enabled.xml
create mode 100644 tests/qemumigparamsdata/tls-hostname.json
create mode 100644 tests/qemumigparamsdata/tls-hostname.reply
create mode 100644 tests/qemumigparamsdata/tls-hostname.xml
create mode 100644 tests/qemumigparamsdata/tls.json
create mode 100644 tests/qemumigparamsdata/tls.reply
create mode 100644 tests/qemumigparamsdata/tls.xml
diff --git a/tests/qemumigparamsdata/tls-enabled.json
b/tests/qemumigparamsdata/tls-enabled.json
new file mode 100644
index 00..d42684a9de
--- /dev/null
+++ b/tests/qemumigparamsdata/tls-enabled.json
@@ -0,0 +1,11 @@
+{
+ "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
+}
diff --git a/tests/qemumigparamsdata/tls-enabled.reply
b/tests/qemumigparamsdata/tls-enabled.reply
new file mode 100644
index 00..001241b075
--- /dev/null
+++ b/tests/qemumigparamsdata/tls-enabled.reply
@@ -0,0 +1,14 @@
+{
+ "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
+ }
+}
diff --git a/tests/qemumigparamsdata/tls-enabled.xml
b/tests/qemumigparamsdata/tls-enabled.xml
new file mode 100644
index 00..3e60c4dec3
--- /dev/null
+++ b/tests/qemumigparamsdata/tls-enabled.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/tests/qemumigparamsdata/tls-hostname.json
b/tests/qemumigparamsdata/tls-hostname.json
new file mode 100644
index 00..abbd9f124b
--- /dev/null
+++ b/tests/qemumigparamsdata/tls-hostname.json
@@ -0,0 +1,11 @@
+{
+ "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
+}
diff --git a/tests/qemumigparamsdata/tls-hostname.reply
b/tests/qemumigparamsdata/tls-hostname.reply
new file mode 100644
index 00..74f069f780
--- /dev/null
+++ b/tests/qemumigparamsdata/tls-hostname.reply
@@ -0,0 +1,14 @@
+{
+ "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
+ }
+}
diff --git a/tests/qemumigparamsdata/tls-hostname.xml
b/tests/qemumigparamsdata/tls-hostname.xml
new file mode 100644
index 00..4310e789a0
--- /dev/null
+++ b/tests/qemumigparamsdata/tls-hostname.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/tests/qemumigparamsdata/tls.json b/tests/qemumigparamsdata/tls.json
new file mode 100644
index 00..02e90c60ea
--- /dev/null
+++ b/tests/qemumigparamsdata/tls.json
@@ -0,0 +1,11 @@
+{
+ "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
+}
diff --git a/tests/qemumigparamsdata/tls.reply
b/tests/qemumigparamsdata/tls.reply
new file mode 100644
index 00..591eca6926
--- /dev/null
+++ b/tests/qemumigparamsdata/tls.reply
@@ -0,0 +1,14 @@
+{
+ "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
+ }
+}
diff --git a/tests/qemumigparamsdata/tls.xml b/tests/qemumigparamsdata/tls.xml
new file