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

_______________________________________________
augeas-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/augeas-devel

Reply via email to