]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Add <title> and <description> for Network Objects
authorK Shiva Kiran <shiva_kr@riseup.net>
Wed, 16 Aug 2023 18:47:09 +0000 (00:17 +0530)
committerMichal Privoznik <mprivozn@redhat.com>
Fri, 25 Aug 2023 10:36:37 +0000 (12:36 +0200)
commit742c87d45363028d3bde5bf9a873fc0e35b37afc
tree1e08329791d699b2410568d984a398e12b94a18e
parentab26247f46332d3031f0fd7bf851e8b135c5aac6
Add <title> and <description> for Network Objects

This patch adds new elements <title> and <description> to the Network XML.
- The <title> attribute holds a short title defined by the user and
  cannot contain newlines.
- The <description> attribute holds any documentation that the user
  wants to store.
- Schema definitions of <title> and <description> have been moved from
  domaincommon.rng to basictypes.rng for use by network and future objects.
- Added Network XML parser logic for the above.

Signed-off-by: K Shiva Kiran <shiva_kr@riseup.net>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
docs/formatnetwork.rst
src/conf/network_conf.c
src/conf/network_conf.h
src/conf/schemas/basictypes.rng
src/conf/schemas/domaincommon.rng
src/conf/schemas/network.rng