virt-xml-validate: Add schema for nwfilterbinding

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>
This commit is contained in:
Han Han 2018-07-13 09:39:29 +08:00 committed by John Ferlan
parent 09c67432f3
commit a47d053720
2 changed files with 7 additions and 0 deletions

View File

@ -77,6 +77,9 @@ if [ -z "$TYPE" ]; then
*device*) *device*)
TYPE="nodedev" TYPE="nodedev"
;; ;;
*filterbinding*)
TYPE="nwfilterbinding"
;;
*filter*) *filter*)
TYPE="nwfilter" TYPE="nwfilter"
;; ;;

View 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 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> =item C<secret>
The schema for the XML format used by secrets descriptions The schema for the XML format used by secrets descriptions