[PATCH] NEWS: Announcing Network Metadata APIs

K Shiva Kiran shiva_kr at riseup.net
Fri Aug 25 15:39:27 UTC 2023


Ref to patchset implementing the above:
https://listman.redhat.com/archives/libvir-list/2023-August/241250.html

Signed-off-by: K Shiva Kiran <shiva_kr at riseup.net>
---
 NEWS.rst | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/NEWS.rst b/NEWS.rst
index 73571f0019..01df22ef03 100644
--- a/NEWS.rst
+++ b/NEWS.rst
@@ -17,6 +17,32 @@ v9.7.0 (unreleased)
 
 * **New features**
 
+  * network: Support for `<title>` and `<metadata>` fields in Network XML
+
+    The `<title>` attribute can hold a short title defined by the user
+    and cannot contain newlines.
+    The `<description>` attribute holds any documentation that the user
+    wants to store.
+
+  * network: Support to view and modify User defined metadata
+
+    Two new APIs `virNetworkGetMetadata()` and `virNetworkSetMetadata()`
+    have been introduced. These allow users to view and modify the
+    contents of `<title>`, `<description>` and `<metadata>`.
+
+  * virsh: Introduces new commands `net-desc` and `net-metadata`
+
+    `net-desc` can be used to view and modify the Network's title and
+    description attributes.
+    `net-metadata` can be used to define or modify the custom metadata
+    attribute of the Network object.
+
+  * virsh: Adds `--title` option to the `net-list` command
+
+    This option prints the <title> attribute of the network in
+    an extra column. This option is usable only with the default
+    `--table` output.
+
 * **Improvements**
 
 * **Bug fixes**
-- 
2.42.0



More information about the libvir-list mailing list