/usr/share/augeas/lenses/dist/tests/test_iproute2.aug is in augeas-lenses 1.10.1-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 | module Test_IPRoute2 =
let conf = "
# /etc/iproute2/rt_tables
#
# reserved values
#
255 local
254 main
253 default
0 unspec
#
# local
#
#1 inr.ruhep
200 h3g0
201 adsl1
202 adsl2
203 adsl3
204 adsl4
205 wifi0
#
# From rt_dsfield
#
0x00 default
0x80 flash-override
# From rt_protos
#
254 gated/aggr
253 gated/bgp
"
test IPRoute2.lns get conf =
{ }
{ "#comment" = "/etc/iproute2/rt_tables" }
{ }
{ "#comment" = "reserved values" }
{ }
{ "255" = "local" }
{ "254" = "main" }
{ "253" = "default" }
{ "0" = "unspec" }
{ }
{ "#comment" = "local" }
{ }
{ "#comment" = "1 inr.ruhep" }
{ "200" = "h3g0" }
{ "201" = "adsl1" }
{ "202" = "adsl2" }
{ "203" = "adsl3" }
{ "204" = "adsl4" }
{ "205" = "wifi0" }
{ }
{ "#comment" = "From rt_dsfield" }
{ }
{ "0x00" = "default" }
{ "0x80" = "flash-override" }
{ }
{ "#comment" = "From rt_protos" }
{ }
{ "254" = "gated/aggr" }
{ "253" = "gated/bgp" }
|