
21 Mar
2017
21 Mar
'17
11:21 a.m.
On 03/17/2017 03:40 PM, Michal Privoznik wrote:
As discussed on IRC, I can write the code to save/parse the JSON here. You've done your part. However, I'm not sure I will manage to make it happen today, but maybe beginning of the next week if that is okay with you.
And as promised, here's my code: https://github.com/zippy2/libvirt/commit/4e0538298f91ce62153a9e11f9eb6b198f3... Caution: I haven't tested it and frankly found it quite difficult to get right. The parsing that was there too big for my small brain. So perhaps in the parser I've exchanged adminMAC and MAC? You'll see when you test it. Michal