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