Commit Graph

9 Commits

Author SHA1 Message Date
Jimmi Dyson
d1fce20304 Regexp tidy up 2015-11-26 09:14:26 +00:00
Victor Marmol
b923eff11c Expose multiple network interfaces in API.
Part of #686
2015-06-07 17:01:53 -07:00
Federico Simoncelli
02a3e46996 Add system uuid and machine id information
Signed-off-by: Federico Simoncelli <fsimonce@redhat.com>
2015-03-01 15:06:19 -05:00
Rohit Jnagal
872546ba3a Bulk move current info api to info/v1. Making room for info/v2. 2015-03-04 00:47:28 +00:00
Victor Marmol
8f0f2299ab Make network fields signed integers.
The kernel reports -1 in case of errors so it should be an allowable
returned value.

Fixes #454.
2015-01-20 22:34:10 -08:00
Rohit Jnagal
aa398c800a Add scheduler type to disk info.
Type can be one of "none", "noop", "deadline", "cfq".
For block devices that don't use scheduler (like dm), the type will be "none".
We'll also report "none" for partitions when we start reporting those.
2015-01-17 00:09:07 +00:00
Rohit Jnagal
3780075bad Handle root network device names other than eth.
New logic ignores veth, docker, and loopback devices.
2015-01-14 22:28:59 +00:00
Rohit Jnagal
45334c6f71 Add network stats to root container. Provides machine-level networking stats. 2014-12-30 17:12:42 +00:00
Rohit Jnagal
3836d1e2ec Refactor common methods out of sysfs package and add tests. 2014-12-29 17:09:27 +00:00