Ask Your Question
0

Way to add openflowplugin in controller.

asked 2014-11-18 03:34:45 -0700

As in helium there are different projects controller,dlux etc... I did compile controller code using mvn clean install and ran karaf . Then I did install feature:install odl-adsal-all. I ran my mininet with command " mn --controller=remote,ip=127.0.0.1 --mac --topo=linear,2 ".

When I do ovs-vsctl show then any of the switch is not connected with controller.

Bridge "s1"
    Controller "ptcp:6634"
    Controller "tcp:127.0.0.1:6633"
    fail_mode: secure
    Port "s1"
        Interface "s1"

type: internal

So after analyzing I found , Its is because of openflowplugin , that's why any of the ovs-switch is able to connect to controller. I request you to please give me answer to following questions. 1)Am I missing any feature to install in absence of which ovs is not able to connect with controller. 2)Is it possible to connect openflow-plugin with controller by which ovs can connect to controller.

Thank you so much.

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2014-11-18 08:20:45 -0700

Moderators

Hey,

So just building the controller doesn't have any feature for OpenFlow, the only southbound protocol that comes from the controller project is NetConf. You would need to build the OpenFlowPlugin project as well, below is an link to an answer on how to do that.

https://ask.opendaylight.org/question/1044/how-to-run-opendaylight-helium-with-of13/

If you don't wish to edit the code of the controller or the plugin and just wish to play with the API, i recommend just downloading the binary from the opendaylight.org/download page.

https://nexus.opendaylight.org/content/groups/public/org/opendaylight/integration/distribution-karaf/0.2.1-Helium-SR1/distribution-karaf-0.2.1-Helium-SR1.zip

edit flag offensive delete publish link more

Comments

You mean to say , I have to open two terminal and in first I have to run the controller ---------------------------------------------------------------- controller/opendaylight/distribution/opendaylight-karaf/target/distribution.opendaylight-karaf-1.5.0-SNAPSHOT# ./bin/karaf ----------------------------------------------------------------- And in second openflow plugin -------------------------------------------------------------------------------------------- openflowplugin/distribution/karaf/target/assembly/bin/karaf ------------------------------------------------------------------------------------------- Then openflow plugin and controller will talk with each other and my controller work with openflow plugin. Is my understanding right? I have done the same But I am not able to see that packet is coming controller "(I made a application which which will print "Hello" when packetIn will come to controller by using "receiveDataPacket(RawPacket inPkt)" fun)" . Please direct me .

devverma ( 2014-11-18 22:12:55 -0700 )edit

Well Chris Thank you so much. Downloading prebuilt have solved my problem.

devverma ( 2014-11-19 04:15:58 -0700 )edit

@devverma, You only need one terminal, the controller should only be started in openflowplugin repo. if you start in controller then you won't have all the features. IE in openflowplugin you have OpenFlow and what feature it needs. read a little up on maven for more information.

Chris O'Shea ( 2014-11-19 06:28:37 -0700 )edit
0

answered 2016-03-14 20:31:51 -0700

aljoby gravatar image

Hello Chris,

Could you help how can I add Openflowplugin to Opendaylight controller?

Thanks

Walid

edit flag offensive delete publish link more

Comments

Use ODL- Integration version which has all modules(L2switch,Openflowplugin,controller) . you dont need to add Openflowplugin externally.If you want to change/modify your openflowplugin code,then download the source ,built it after modifying.Built Integration as well to reflect the changes.

karthik330 ( 2016-03-21 23:41:19 -0700 )edit
Login/Signup to Answer

Question Tools

Follow
2 followers

Stats

Asked: 2014-11-18 03:34:45 -0700

Seen: 849 times

Last updated: Mar 14 '16