]> xenbits.xensource.com Git - libvirt.git/commitdiff
virt-xml-validate: Add schema for nwfilterbinding
authorHan Han <hhan@redhat.com>
Fri, 13 Jul 2018 01:39:29 +0000 (09:39 +0800)
committerJohn Ferlan <jferlan@redhat.com>
Thu, 19 Jul 2018 20:16:57 +0000 (16:16 -0400)
https://bugzilla.redhat.com/show_bug.cgi?id=1600330

Add nwfilterbinding schema in virt-xml-validate for autoprobing.
Add document of nwfilterbinding schema in tools/virt-xml-validate.pod.

Signed-off-by: Han Han <hhan@redhat.com>
Reviewed-by: John Ferlan <jferlan@redhat.com>
tools/virt-xml-validate.in
tools/virt-xml-validate.pod

index 81fde4d832923fb2c153bcdc009d89871fbcfb11..751341318958798a8d2109dd31c9373428e05aa2 100644 (file)
@@ -77,6 +77,9 @@ if [ -z "$TYPE" ]; then
      *device*)
         TYPE="nodedev"
         ;;
+     *filterbinding*)
+        TYPE="nwfilterbinding"
+        ;;
      *filter*)
         TYPE="nwfilter"
         ;;
index f8e67503fd9aa9ca0223ba121a927e225be65bb3..a51a57002a6e322f7cf0e2c9afa3c54ddcf5b0fb 100644 (file)
@@ -52,6 +52,10 @@ The schema for the XML format used to declare driver capabilities
 
 The schema for the XML format used by network traffic filters
 
+=item C<nwfilterbinding>
+
+The schema for XML format used by network filter bindings.
+
 =item C<secret>
 
 The schema for the XML format used by secrets descriptions