No Description

Fabian Peter Hammerle 125f8da326 main.cpp: adapt includes 7 years ago
Makefile 719c318160 implement Link in link.cpp 7 years ago
README.md a41a908406 readme: added links to libmnl source & documentation 7 years ago
hardware_address.h 5c8654b358 move definition of HardwareAddress to hardware_address.h 7 years ago
link.cpp 22560a58b0 added attr 'mtu' 7 years ago
link.h 22560a58b0 added attr 'mtu' 7 years ago
main.cpp 125f8da326 main.cpp: adapt includes 7 years ago
operstate.h 56a232026a added attr 'operstate' 7 years ago
vector.h 6a549b5f4d move definition of vector to vector.h 7 years ago
yaml.h ede9844a6e move definition of YamlObject to yaml.h 7 years ago

README.md

ipyml

Show network device configuration in YAML format.

Build Dependencies

apt install libmnl-dev linux-libc-dev g++

Example

$ ipyml

- ifname: lo
  address: 00:00:00:00:00:00
  broadcast: 00:00:00:00:00:00
  mtu: 65536
  operstate: unknown
- ifname: eth0
  address: 11:22:33:44:55:66
  broadcast: ff:ff:ff:ff:ff:ff
  mtu: 1500
  operstate: down
- ifname: wlan0
  address: 77:88:99:00:aa:bb
  broadcast: ff:ff:ff:ff:ff:ff
  mtu: 1500
  operstate: up

Links

libmnl source

libmnl documentation