[Xorp-hackers] Configure router NOT through the CLI xorpsh

Ben Greear greearb at candelatech.com
Wed May 4 11:36:11 PDT 2011


On 05/04/2011 07:37 AM, Uri Yanai wrote:
> Hi
> I need to configure the XORP router not through the CLI xorpsh.
> When I directly call the component XRLs I notice that router manager
> isn't effected.
> In other words, I don't see my configuration changes in xorpsh
> configuration mode 'show'.
>  >From reading the xorp_rtrmgr documentation, I found that I can change
> configuration using the rtrmgr XRLs, more specific calling
> send_apply_config_change() passing 'deltas' with the configuration
> changes but I didn't figure out how do I generate the 'deltas'.
> I would be glad to know how can I in code configure the XORP router and
> then also see my changes
> in xorpsh configuration mode 'show' .

This is liable to be difficult.  Maybe start by copying and then modifying
the xorpsh code to do what you want?

You can also script xorpsh with -c "command1" -c "command2" arguments if you
wish.

Thanks,
Ben

>
> Thanks for your help.
> Uri
>
>
>
> _______________________________________________
> 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