You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@mesos.apache.org by Jeff Coffler <je...@taltos.com> on 2017/05/11 20:12:46 UTC

Review Request 59200: Ported the net::links routine to Windows platform.

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/59200/
-----------------------------------------------------------

Review request for mesos, Andrew Schwartzmeyer, John Kordich, and Joseph Wu.


Bugs: MESOS-5938
    https://issues.apache.org/jira/browse/MESOS-5938


Repository: mesos


Description
-------

Note that, rather than returning an interface name, the Windows
version will return the MAC address. The actual interface name,
on Windows, is a GUID (since there can be multiple wireless
interfaces, for example). However, it's not possible to get the
MAC access from the command line.

As a result, the MAC address of the interface (also unique) is
used to uniquely identify a particular interface on the system.


Diffs
-----

  3rdparty/stout/include/stout/net.hpp b7cef53d3df8688f88211d7107927b7c8ccaed7f 
  3rdparty/stout/include/stout/posix/net.hpp 39b89828d350d83bf1d4b0badcd3e63eb9d1a630 
  3rdparty/stout/include/stout/windows/net.hpp 1bed115cb848332bf9c31e455b2d001c173face9 


Diff: https://reviews.apache.org/r/59200/diff/1/


Testing
-------

See final commit for tests performed.


Thanks,

Jeff Coffler