[Xorp-hackers] PIM/SM: xorpsh cannot be started if bgp is disabled

Ben Greear greearb at candelatech.com
Thu Mar 13 10:47:34 PDT 2014


On 03/07/2014 06:13 AM, Holger Kummert wrote:
> Hello,
> 
> I'm new to this list and also new to XORP.
> In my use case only PIM/SM is needed and therefore other 
> routing protocols like
> bgp, ospf, rip, vrrp, olsr are disabled in scons configuration 
> (enable_bgp=no ...).
> xorpsh is enabled.
> After installation of XORP the call of xorpsh lead to the message:
> # xorpsh
> [ 2014/03/07 11:32:45.685376  ERROR xorpsh:18451 RTRMGR 
> rtrmgr/xorpsh_main.cc:900 main ] xorpsh exiting due to an init error: 
> PARSE ERROR [Operational Command File: /share/xorp/templates/policy.cmds 
> line 73]: Bad variable name: $(policy.community-list.*); Last symbol 
> parsed was "$(policy.community-list.*)"
> 
> I inspected policy.cmds and found out that the four items for
> community-list and
> as-path-list
> are all related to BGP. Therefore a simple deletion of those items in 
> policy.cmds lead to an error-free call of xorpsh.
> So I have a workaround for the problem, but my questions are:
> 
> - Is my analysis right?
> - If yes, shouldn't the four items in question moved to another place 
> (e.g. bgp.cmds)?

Can you send a patch (git format-patch -s ....) and an example config
file that reproduces the problem?

Thanks,
Ben

> 
> 
> Thanks in advance,
> Holger
> 
> _______________________________________________
> Xorp-hackers mailing list
> Xorp-hackers at icir.org
> http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-hackers
> 


-- 
Ben Greear <greearb at candelatech.com>
Candela Technologies Inc  http://www.candelatech.com



More information about the Xorp-hackers mailing list