
In some cases, the netifaces does not properly detect the default gateway for the node and returns an empty dict. However, there is a default gateway actually set. This adds a fallback path to parse the contents of the /proc/net/route table and determine which interface to use based on which flags are set on the routes. Closes-Bug: #2030497 Change-Id: I1cf358ad42f0cec4733e3afc9b60f5ddfade2bfe