[irrtoolset]RtConfig template error in import/export Group
Peter Hudec phudec at postel.sk
Sun May 16 12:03:08 CEST 2004
hi
at first - I'm newbie with IRRToolsSet, so be patient with me :)
I have problem with RtConfig and generating cisco configs witch importGroup and
exportGroup (Error in template file).
My setup is folloving
- object perring-set: AS8679:PRNG-SIX
- @RtConfig exportGroup AS8679 AS8679:PRNG-SIX
It "crashes" on the ":" in the AS8679:PRNG-SIX
(as I found in the source code and debuging)
As the RtConfig generates cisco config it should write something like
neighbor AS8679:PRNG-SIX peer-group
- I don't think that this is also valid
Has anyone solution (patch) to do
- keep perring-set-name as it is
- make RtConfig parse the line (with no template error)
- generate valid cisco config
I'm using IRRToolSet-4.7.3 (latest non-ng version).The latest ng version
(IRRToolSet-4.8.1) has seqfault me (stable debian)
My solution is to write patch (if doesn't exists)
- add one more (optional) parameter to the importGroup/exportGroup line
- @RtConfig exportGroup <ASn> <peering-set-name> [config-peer-name]
- this will generate config line
- neighbor <config-peer-name> peer-group
best regards
Peter Hudec
--
Hlupi robia chyby z pracovitosti. Mudri, aby si oddychli.
position: [IP network manager]
company: [PosTel Ltd.]
address: [Borska 6, 841 04 Bratislava]
mail: [phudec at postel.sk] www: [http://www.postel.sk/]
cellular: [+421 905 997203] fax: [+421 2 50203198]
phone: [+421 2 50203169]