Mailing List Archive

[patch] Multiple context support for ACE/CSS
Hi,

We have developed a patch for rancid that adds support for multiple
contexts on a Cisco ACE.
This has been asked for before[1], and i have implemented the syntax
in the routers.db file according to the discussion regarding contextes
in Cisco ASA [2].
Example:
foo3-ace.bar.net:css:up
foo3-ace.bar.net[baz]:css:up
foo3-ace.bar.net[quux]:css:up
foo3-ace.bar.net[corge]:css:up

This will create 4 separate files. The one without context sepecified
will dump the default context on that IP. The other ones will dump
both the default context and the context specified inside the
brackets. It is also possible to specify multiple contexts inside the
brackets:
foo3-ace.bar.net[baz,quux,corge]:css:up

This will create one (1) file containing the default context and the
specified contexts.

[1] http://www.shrubbery.net/pipermail/rancid-discuss/2008-December/003533.html
[2] http://www.shrubbery.net/pipermail/rancid-discuss/2007-July/002359.html


--
Olle Lundberg
Software Developer
Basefarm AB <http://www.basefarm.se>
- Une signature manuscrite révèle souvent le caractère de son auteur.