[PATCH] NEWS: Document new '--validate' option for virsh define commands

Kristina Hanicova posted 1 patch 2 years, 8 months ago
Test syntax-check failed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/7752b942d3024f1679dda3177f58ff15381fc423.1629993793.git.khanicov@redhat.com
NEWS.rst | 14 ++++++++++++++
1 file changed, 14 insertions(+)
[PATCH] NEWS: Document new '--validate' option for virsh define commands
Posted by Kristina Hanicova 2 years, 8 months ago
Signed-off-by: Kristina Hanicova <khanicov@redhat.com>
---
 NEWS.rst | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/NEWS.rst b/NEWS.rst
index 21df0e1602..b9edb7dc68 100644
--- a/NEWS.rst
+++ b/NEWS.rst
@@ -19,6 +19,20 @@ v7.7.0 (unreleased)
 
 * **Improvements**
 
+  * virsh: Allow XML validation for define of: storage pool, network, secret,
+    nwfilter, interface
+
+    * Add flag ``VIR_STORAGE_POOL_DEFINE_VALIDATE`` to validate storage pool
+      input xml. For virsh, users can use it as ``virsh pool-define --validate``.
+    * Add flag ``VIR_NETWORK_DEFINE_VALIDATE`` to validate network input xml. For
+      virsh, users can use it as ``net-define --validate``.
+    * Add flag ``VIR_SECRET_DEFINE_VALIDATE`` to validate secret input xml. For
+      virsh, users can use it as ``secret-define --validate``.
+    * Add flag ``VIR_NWFILTER_DEFINE_VALIDATE`` to validate nwfilter input xml.
+      For virsh, users can use it as ``nwfilter-define --validate``.
+    * Add flag ``VIR_INTERFACE_DEFINE_VALIDATE`` to validate interface input xml.
+      For virsh, users can use it as ``iface-define --validate``.
+
 * **Bug fixes**
 
 
-- 
2.31.1

Re: [PATCH] NEWS: Document new '--validate' option for virsh define commands
Posted by Andrea Bolognani 2 years, 8 months ago
On Thu, Aug 26, 2021 at 06:03:40PM +0200, Kristina Hanicova wrote:
> Signed-off-by: Kristina Hanicova <khanicov@redhat.com>
> ---
>  NEWS.rst | 14 ++++++++++++++
>  1 file changed, 14 insertions(+)

  Reviewed-by: Andrea Bolognani <abologna@redhat.com>

and pushed.

-- 
Andrea Bolognani / Red Hat / Virtualization