Ask Your Question
0

how can I establish connection between Helium ODL and mininet

asked 2015-04-27 00:14:43 -0700

xiaozhazha gravatar image

updated 2015-04-27 00:15:44 -0700

I have installed Helium ODL according to the guide on "SDNLAB".But I'm filled to establish the connection between ODL and mininet with the command -"sudo mn --controller=remote,ip=127.0.0.1,port=6633/6634/6653".In fact , using this command ,I can start mininet ,while host h1 can't ping h2 and the odl WEBUI is unable to log in.

who can give me some guide?I would be very grateful !!!

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
1

answered 2015-04-27 01:36:54 -0700

Luke123 gravatar image

Use the ip-address for the controller in the command for mininet.
sudo mn --controller=remote,ip=x.x.x.x,port=6633/6634/6653
You can use the command ifconfig on your controller to find out the IP-address.

edit flag offensive delete publish link more

Comments

Thank you for your guide ! I have follow your guide,but I still get the same bad results. I used the command "./bin/karaf " to launch the Helium ODL controller, is that right ? Additionally,I'm confused that how can I get the controller's IP-address .My method is using "sudo mn --controller=remote,ip=127.0.0.1,port=6653" to connect with mininet ,and then using "xterm c0" to open c0 (the controller)and running " ifconfig" to look up the controller's IP,finally ,establishing the connection again through the IP I have looked up . How do you think about my method ? why it is failed agin? Best regards,

xiaozhazha ( 2015-04-28 00:36:26 -0700 )edit
0

answered 2015-06-25 07:20:08 -0700

Daniel gravatar image

Here's what I did:

cd controller-Helium-SR1.1

cd distribution-karaf-0.2.1-Helium-SR1.1

bin/karaf

  • Install features:

feature:install odl-netconf-connector-ssh

feature:install odl-openflowplugin-flow-services-ui

feature:install odl-ovsdb-all

feature:install odl-adsal-compatibility

feature:install odl-nsf-all

feature:install odl-l2switch-switch-ui

  • Open 2nd terminal:

sudo mn --controller=remote,ip=127.0.0.1 --topo tree,2 --switch ovsk,protocols=OpenFlow13

Good Luck!

edit flag offensive delete publish link more

Comments

hi i added all you mentioned.when i start the mininet i got the error in ODL- Exception in thread "Thread-105" java.util.concurrent.Rej ectedExecutionException: Task org.opendaylight.openflowplugin.openflow.md.core.H andshakeStepWrapper@1b75ef79 rejected from org.opendaylight.openflowplugin.openf low.md.core.ThreadPoolLoggingExecutor@1f4a68cf[Shutting down, pool size = 0, act ive threads = 0, queued tasks = 1, completed tasks = 0] at java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution (ThreadPoolExecutor.java:2047) at java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.jav a:823) at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.ja

karthik330 ( 2015-07-22 05:43:53 -0700 )edit

Can you help me..i am using stable-helium integration version

karthik330 ( 2015-07-22 05:44:20 -0700 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Question Tools

Follow
1 follower

Stats

Asked: 2015-04-27 00:14:43 -0700

Seen: 763 times

Last updated: Jun 25 '15