[Xorp-hackers] how to add a new command into XORP

Samuel Lucas Vaz de Mello samuellucas at datacom.ind.br
Thu Oct 30 05:22:19 PDT 2008


周杰 wrote:
> 
>     Hi ,XORP,
>      
>      I am working to add a new process to Xorp.
>     However, now ,I want to know how to add a
>     new command into xorp.
>     could someone help me?
>     thank you very much!!
> 

Hi 周杰,

Take a look in etc/templates/*.cmds files. They define the commands that xorpsh issues. These commands are sent to the target process by send_cli_processor_xrl, where they should be handled by the implementation of cli_processor.xif interface.

Regards,

 - Samuel




More information about the Xorp-hackers mailing list