qemu-devel
[Top][All Lists]
Advanced

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

RFC: extending QGA guest-network-get-interfaces


From: Marc-André Lureau
Subject: RFC: extending QGA guest-network-get-interfaces
Date: Wed, 24 Nov 2021 18:00:21 +0400

Hi

Or Shoval filed two RFE for guest-network-get-interfaces:
- "Guest agent should report the interface Permanent address" https://bugzilla.redhat.com/show_bug.cgi?id=2025303
- "Guest agent should report interfaces from non root network namespaces"  https://bugzilla.redhat.com/show_bug.cgi?id=2025296

They have in common that the implementation requires a bit more system-specific calls than what is currently being done afaik, and may be specific to Linux using a netlink socket.

Rather than extending guest-network-get-interfaces with system-specific and more complex code (and re-implementing "ip" as we add more features), I am wondering if it wouldn't make more sense to add some kind of "guest-exec-linux-ip" command. Since "ip" can output its result as JSON with -j, the response could be embedded, or let the client parse it from an escaped "output" string.

Any opinion or idea?

--
Marc-André Lureau

reply via email to

[Prev in Thread] Current Thread [Next in Thread]