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