Re: Checking libnm/NM version mismatch



st 27. 11. 2019 v 11:25 odesílatel Edward Haas via networkmanager-list
<networkmanager-list gnome org> napsal:



On Wed, Nov 27, 2019 at 12:06 PM Till Maas <till redhat com> wrote:

Hi,

Am Mi., 27. Nov. 2019 um 11:02 Uhr schrieb Edward Haas <edwardh redhat com>:


+1 for a warning.
knmstate is using libnm in a container and contacting the host NM service though a mounted socker.
So in their case, the versions may be different indeed.

I would also like to see it added to the "capabilities" report:

https://github.com/nmstate/nmstate/blob/e90fd3e07c482ec8e2038c6c65b86809ffaba6ce/libnmstate/netinfo.py#L67

How do you think it should look like? Should the capabilities report
the libnm version?


Yes, it will be nice to report the NM and libnm versions.
It can even report Nmstate version and an optional schema version.
Any metadata that can help the client make better decisions.
Is there any progress in this discussion? Is the effort tracked somewhere?


Kind regards
Till




This way the client may decide what to do with the information (like knmstate).

--
Till Maas
He/His/Him
Ansible RHEL Networking System Role Maintainer

Red Hat GmbH, http://www.de.redhat.com/, Registered seat: Grasbrunn,
Commercial register: Amtsgericht Muenchen, HRB 153243,
Managing Directors: Charles Cachera, Laurie Krebs, Michael O'Neill,
Thomas Savage

_______________________________________________
networkmanager-list mailing list
networkmanager-list gnome org
https://mail.gnome.org/mailman/listinfo/networkmanager-list



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