설명 없음

Fabian Peter Hammerle 8aefc9ac02 gitignore executable 7 년 전
.gitignore 8aefc9ac02 gitignore executable 7 년 전
Makefile 719c318160 implement Link in link.cpp 7 년 전
README.md 9d3c7a6018 adapt yaml indent 7 년 전
address.h e250b43753 show addresses as items of associated link 7 년 전
hardware_address.h 9d3c7a6018 adapt yaml indent 7 년 전
inet6_address.h e250b43753 show addresses as items of associated link 7 년 전
inet_address.h e250b43753 show addresses as items of associated link 7 년 전
link.cpp 9d3c7a6018 adapt yaml indent 7 년 전
link.h 9d3c7a6018 adapt yaml indent 7 년 전
list.h 9d3c7a6018 adapt yaml indent 7 년 전
main.cpp e250b43753 show addresses as items of associated link 7 년 전
operstate.h 3c9d6dbf40 use mnl_attr_validate 7 년 전
vector.h 9d3c7a6018 adapt yaml indent 7 년 전
yaml.h 9d3c7a6018 adapt yaml indent 7 년 전

README.md

ipyml

Show network device configuration in YAML format.

Build Dependencies

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

Example

$ ipyml
links:
- ifname: lo
  mtu: 65536
  operstate: unknown
  addresses:
  - 127.0.0.1
- ifname: eth0
  address: 11:22:33:44:55:66
  broadcast: ff:ff:ff:ff:ff:ff
  mtu: 1500
  operstate: up
  addresses:
  - 192.168.2.101
  - fe80::1322:33ff:fe44:5566
- ifname: wlan0
  address: 77:88:99:00:aa:bb
  broadcast: ff:ff:ff:ff:ff:ff
  mtu: 1500
  operstate: up
  addresses:
  - 192.168.20.11
  - fe80::7588:99ff:fe00:aabb

Links

libmnl source

libmnl documentation

iproute2 src