[libvirt] [PATCH] Allow custom metadata in network configuration XML

Laine Stump laine at laine.org
Thu Jun 23 19:37:57 UTC 2016


On 06/23/2016 02:31 PM, Vasiliy Tolstov wrote:
> 2016-06-23 1:05 GMT+03:00 Brnadon Bennett <bbennett at fb.com>:
>> From: Brandon Bennett <bbennett at 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).




More information about the libvir-list mailing list