Re: [PATCH 11/19] util: new functions virNetDev(Save|Read|Set)NetConfig()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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/4e0538298f91ce62153a9e11f9eb6b198f318864

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

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]
  Powered by Linux