
On 06/23/2016 02:31 PM, Vasiliy Tolstov wrote:
2016-06-23 1:05 GMT+03:00 Brnadon Bennett <bbennett@fb.com>:
From: Brandon Bennett <bbennett@fb.com>
This replicates the metadata field found in the domain configuration and adds it to the network configuration XML.
Why not use domain metadata? WHy you create metadata for network and not want to use domain metadata?
I talked with him about it on IRC yesterday. He wants to do [something] in a network hook script, and presumably wants some bit of local configuration that is the same for all domains connected to a network, but can change depending on the network. It makes sense to me that any toplevel persistent piece of libvirt config should allow a <metadata> element with user-defined contents (so pools and volumes might have it too, if somebody had the need).