Ask is moving to Stack Overflow and Serverfault.com! Please use the "opendaylight" tag on either of these sites. This site is now in Read-Only mode

0

How to use L2switch project's function in my project?

asked 2016-01-11 05:03:33 -0800

karthik330 gravatar image

Hi , I am developing an MD SAL application which will get Source and Destination as input from the user,to find the shortest path between the hosts.I Got Input from the user, But to find the shortest path,I need to call the function from the Loop-remover project @ L2switch. I dont know how to import that loop-remover package to my Application. How can i do that? Can anyone please help me. and another case if suppose im editing l2switch project's file , how ODL will know about these changes?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-01-12 05:33:16 -0800

Vishal Thapar gravatar image

You can only call that if it is being exposed as an API/Service. From the quick look at the code, doesn't look like it will let you use it.

If you edit any file in any ODL project, it will stay local to you till you push it into gerrit and others review approve and merge it.

edit flag offensive delete publish link more

Comments

thnx fr replying. My Ultimate goal is get the path between 2 hosts.Is thr any direct API available? If not what should i do?I gone through l2switch project where Path related code exists.I am struggling a lot.Please help me .

karthik330 ( 2016-01-12 07:39:03 -0800 )edit

Best would be to get in touch with l2switch developers at https://lists.opendaylight.org/mailman/listinfo/l2switch-dev

Vishal Thapar ( 2016-01-12 08:12:05 -0800 )edit

send an email to the nic-dev list. I saw this mail from them yesterday and maybe it would be of use for you: https://lists.opendaylight.org/pipermail/controller-dev/2016-January/011359.html

jamoluhrsen ( 2016-01-12 08:17:10 -0800 )edit

Thank you @vishal and @jamoluhrsen . Your guidelines helped me.I sent a mail ,waiting for response .

karthik330 ( 2016-01-12 22:24:57 -0800 )edit
Login/Signup to Answer

Question Tools

Follow
1 follower

Stats

Asked: 2016-01-11 05:03:33 -0800

Seen: 121 times

Last updated: Jan 12 '16