[Xorp-users] Help

전해숙 hsjeon88 at etri.re.kr
Sat Aug 2 05:42:08 PDT 2014


I have another question.
I want to make protocol level directory.
and  role of that is that it receives cli command and delivers to my developing sw such as getting or setting parameters.
 I don't use interface structure either and just only use cli interface.

Q1.
In this case, what protocol is almost like mine ?
For example, when protocol is starting, it calls XrlStdRouter, XrlPortManager, XrlRedistManager and so on.

Q2.
When tools delectory is called ?
What is difference between this and XIPC ?

Q3
I made simple protocol source.
I changed SConscript & SConstrcut for adding my source.
In my adding directory clickinf, I also made SConscript.
But I can't see anything in obj/. Clickinf directory itself is not created.
I added my clickinf srcs and SConscript and SConstruct of XORP.
Could you givr some directions ?


Littletree.


________________________________
보낸 사람 : "Avinash Sridharan" <avinash.sridharan at gmail.com>
보낸 날짜 : 2014-07-26 02:08:59 ( +09:00 )
받는 사람 : Ben Greear <greearb at candelatech.com>
참조 : 전해숙 <hsjeon88 at etri.re.kr>, xorp-users at xorp.org <xorp-users at xorp.org>
제목 : Re: [Xorp-users] Help

I would suggest, take a look at how the "show interface" command works. The template for the command can be found under $XORP_SRC/etc/templates/fea.cmd . It effectively calls an executable fea_show_interfaces. The code for this binary is sitting under $XORP_SRC/fea/tools/show_interface.cc.

You can see the XRL interface being implemented in this binary, and replicate the target to register as a new interface mirror with FEA. To get incremental updates on existing interfaces (say link up/down event), I guess you can build on this and see how the events are sent to RIB. I am guessing RIB uses a similar interface mirror XRL interface.

Hope that helps,
Avinash


On Fri, Jul 25, 2014 at 8:46 AM, Ben Greear <greearb at candelatech.com<mailto:greearb at candelatech.com>> wrote:
On 07/24/2014 02:31 AM, 전해숙 wrote:
> I am a novice about xorp.
> How can I use test directory ? There are no SConstruct.
> I want to make a test according to a function such as cli, libfeaclient, etc.
> Now, I want to use CLI and interface structure of fea and give interface information to our sw block.
> I don't want to use any routing blocks including fib, lib.
>
> Could you give me some  directions ?

Maybe see how the click stuff is written.  I'm not sure click actually works, but
I think it will be similar to what you are trying to do.

If you end up writing any patches that help towards this goal, please
use git-format and git-send-mail to post them to the list.  I hope to have
time to go through the patch backlog someday soon.

And, I need to get the wiki documentation system hosted on my own machine
since the guys that were hosting it seem to have fallen off the internet!

Thanks,
Ben


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

_______________________________________________
Xorp-users mailing list
Xorp-users at xorp.org<mailto:Xorp-users at xorp.org>
http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-users<http://mailman.icsi.berkeley.edu/mailman/listinfo/xorp-users>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ICSI.Berkeley.EDU/pipermail/xorp-users/attachments/20140802/d4d87e4f/attachment.html 


More information about the Xorp-users mailing list