[libvirt PATCH v2 3/4] Add virNetworkObj Get and Set Methods for Metadata
K Shiva Kiran
shiva_kr at riseup.net
Wed Jul 19 16:47:51 UTC 2023
On 19/07/23 21:47, K Shiva Kiran wrote:
> - Introduces virNetworkObjGetMetadata() and
> virNetworkObjSetMetadata().
> - These functions implement common behaviour that can be reused by
> network drivers that use the virNetworkObj struct.
> - Introduces virNetworkObjUpdateModificationImpact() among other
> helper functions that resolve the live/persistent state of
> the network before setting metadata.
> - Replace redundant flag resolving code with the forementioned
> function in bridge_driver.c and test_driver.c
> - Eliminates redundant call of virNetworkObjSetDefTransient() in
> virNetworkConfigChangeSetup().
>
> Signed-off-by: K Shiva Kiran<shiva_kr at riseup.net>
> ---
This patch is a v2 of:
https://listman.redhat.com/archives/libvir-list/2023-July/240662.html
Diff to v1:
- Replace redundant call of virNetworkObjSetDefTransient() in
virNetworkConfigChangeSetup()
- Replace redundant virNetworkFlags setting code with
virNetworkObjUpdateModificationImpact() in bridge_driver.c
and test_driver.c
- Eliminated newlines in message strings that followed the
80 character limit.
Shiva
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20230719/512b78df/attachment.htm>
More information about the libvir-list
mailing list