[augeas-devel] Layout of IPRoute2 augeas tree
Dominic Cleal
dcleal at redhat.com
Wed Feb 12 10:18:39 UTC 2014
Hi Davide,
I'm working on a bug (RHBZ#1063968 from Pat) concerning parse errors in
/etc/iproute2/rt_protos which now contains some protocols with "/" in
the name, e.g.
254 gated/aggr
253 gated/bgp
The IPRoute2 lens you contributed to Augeas last year maps the protocol
name to the ID in the tree, i.e.
{ "unspec" = "0" }
{ "redirect" = "1" }
We can't use "/" in a key name, so I was considering flipping this
around and mapping the protocol ID to the name, i.e.
{ "0" = "unspec" }
{ "254" = "gated/aggr" }
Clearly this is an incompatible change, but from my (very limited)
understanding of the configuration file, it seems reasonable. Do you agree?
Thanks,
--
Dominic Cleal
Red Hat Engineering
More information about the augeas-devel
mailing list