----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/68054/ -----------------------------------------------------------
(Updated Aug. 15, 2018, 7:03 p.m.) Review request for mesos, Jie Yu and Qian Zhang. Changes ------- Fixed compilation error on centos6. Bugs: MESOS-5647 https://issues.apache.org/jira/browse/MESOS-5647 Repository: mesos Description ------- On receiving a request for getting `usage` for a given container the `network/cni` isolator uses getifaddrs(3) glibc function. The function returns basic networking metrics for each networking interface in the container networking namespace. It should work right out of the box on all modern Linux-based systems. To get more networking metrics please use Netlink Protocol Library. However, you will have to open NETLINK sockets in each networking namespace and manage them from the `network/cni` isolator. JIRA: https://issues.apache.org/jira/browse/MESOS-5647 Diffs (updated) ----- src/slave/containerizer/mesos/isolators/network/cni/cni.hpp 31ec4ddb1049b7259b0784e5e40b002e29f6a8da src/slave/containerizer/mesos/isolators/network/cni/cni.cpp f46c962d8f044092aaa113fafc536c6b25bab45c src/slave/flags.hpp 88c35da5fd754abbd4bd316e1fa9efa4a70a6b8c src/slave/flags.cpp 54d9acc8693f53294bdc2a88183cac84a8dfbfd9 Diff: https://reviews.apache.org/r/68054/diff/8/ Changes: https://reviews.apache.org/r/68054/diff/7-8/ Testing ------- https://reviews.apache.org/r/68355 Thanks, Sergey Urbanovich