[pve-devel] [PATCH pve-manager 1/2] pvestatd : broadcast sdn transportzone status

Thomas Lamprecht t.lamprecht at proxmox.com
Wed Jun 26 09:00:06 CEST 2019


On 6/26/19 5:36 AM, Alexandre DERUMIER wrote:
> If I'm using kvstore for broadcast, with columnlist, I think I'll have 1key by transportzone,
> not sure it'll really clean. (I also don't known how to cleany remove a key if a transportzone is removed from config)
> 

you would need to save them by a it's own ID independent key?

'sdn/zones'

Then a simple "broadcast_node_kv('sdn/zones')" will delete all.

Or do you think a zone state can get to big? We currently can
save 32kb in a kv entry.


> I don't known what is the better/fastest way to store this kind status ? (kv ? rrd ?)

I think faster is not to important here, for simple state maybe use kv.

> 
> Also,I don't known if user would like to have network stats ? Maybe for vnets ?

Highly probably, and for that RRD would then be great too.




More information about the pve-devel mailing list