|
|
51d9a2 |
From fb11f9d6a33f656481044a35c2fd76d479442593 Mon Sep 17 00:00:00 2001
|
|
|
51d9a2 |
Message-Id: <fb11f9d6a33f656481044a35c2fd76d479442593@dist-git>
|
|
|
51d9a2 |
From: Han Han <hhan@redhat.com>
|
|
|
51d9a2 |
Date: Thu, 19 Jul 2018 16:23:39 -0400
|
|
|
51d9a2 |
Subject: [PATCH] virt-xml-validate: Add schema for nwfilterbinding
|
|
|
51d9a2 |
|
|
|
51d9a2 |
https://bugzilla.redhat.com/show_bug.cgi?id=1600330
|
|
|
51d9a2 |
|
|
|
51d9a2 |
Add nwfilterbinding schema in virt-xml-validate for autoprobing.
|
|
|
51d9a2 |
Add document of nwfilterbinding schema in tools/virt-xml-validate.pod.
|
|
|
51d9a2 |
|
|
|
51d9a2 |
Signed-off-by: Han Han <hhan@redhat.com>
|
|
|
51d9a2 |
Reviewed-by: John Ferlan <jferlan@redhat.com>
|
|
|
51d9a2 |
(cherry picked from commit a47d053720f3b4965184bc9a5a87a86d301957ea)
|
|
|
51d9a2 |
Signed-off-by: John Ferlan <jferlan@redhat.com>
|
|
|
51d9a2 |
Reviewed-by: Andrea Bolognani <abologna@redhat.com>
|
|
|
51d9a2 |
---
|
|
|
51d9a2 |
tools/virt-xml-validate.in | 3 +++
|
|
|
51d9a2 |
tools/virt-xml-validate.pod | 4 ++++
|
|
|
51d9a2 |
2 files changed, 7 insertions(+)
|
|
|
51d9a2 |
|
|
|
51d9a2 |
diff --git a/tools/virt-xml-validate.in b/tools/virt-xml-validate.in
|
|
|
51d9a2 |
index 81fde4d832..7513413189 100644
|
|
|
51d9a2 |
--- a/tools/virt-xml-validate.in
|
|
|
51d9a2 |
+++ b/tools/virt-xml-validate.in
|
|
|
51d9a2 |
@@ -77,6 +77,9 @@ if [ -z "$TYPE" ]; then
|
|
|
51d9a2 |
*device*)
|
|
|
51d9a2 |
TYPE="nodedev"
|
|
|
51d9a2 |
;;
|
|
|
51d9a2 |
+ *filterbinding*)
|
|
|
51d9a2 |
+ TYPE="nwfilterbinding"
|
|
|
51d9a2 |
+ ;;
|
|
|
51d9a2 |
*filter*)
|
|
|
51d9a2 |
TYPE="nwfilter"
|
|
|
51d9a2 |
;;
|
|
|
51d9a2 |
diff --git a/tools/virt-xml-validate.pod b/tools/virt-xml-validate.pod
|
|
|
51d9a2 |
index f8e67503fd..a51a57002a 100644
|
|
|
51d9a2 |
--- a/tools/virt-xml-validate.pod
|
|
|
51d9a2 |
+++ b/tools/virt-xml-validate.pod
|
|
|
51d9a2 |
@@ -52,6 +52,10 @@ The schema for the XML format used to declare driver capabilities
|
|
|
51d9a2 |
|
|
|
51d9a2 |
The schema for the XML format used by network traffic filters
|
|
|
51d9a2 |
|
|
|
51d9a2 |
+=item C<nwfilterbinding>
|
|
|
51d9a2 |
+
|
|
|
51d9a2 |
+The schema for XML format used by network filter bindings.
|
|
|
51d9a2 |
+
|
|
|
51d9a2 |
=item C<secret>
|
|
|
51d9a2 |
|
|
|
51d9a2 |
The schema for the XML format used by secrets descriptions
|
|
|
51d9a2 |
--
|
|
|
51d9a2 |
2.18.0
|
|
|
51d9a2 |
|