Tuesday, April 28, 2015

Configuring OpenDaylight Helium with Mininet.

Last year I wrote a post on configuring OpenDaylight Hydrogen with Mininet. Since Helium is here now, you may like to use it instead. First download and configure OpenDaylight Helium. Check the accepted answer for this question to start it real quick.

Now you will be able to connect to Mininet as before.

$ sudo mn --controller=remote,ip=127.0.0.1 --topo tree,6

*** Creating network
*** Adding controller
*** Adding hosts:
h1 h2 h3 h4 h5 h6 h7 h8 h9 h10 h11 h12 h13 h14 h15 h16 h17 h18 h19 h20 h21 h22 h23 h24 h25 h26 h27 h28 h29 h30 h31 h32 h33 h34 h35 h36 h37 h38 h39 h40 h41 h42 h43 h44 h45 h46 h47 h48 h49 h50 h51 h52 h53 h54 h55 h56 h57 h58 h59 h60 h61 h62 h63 h64
*** Adding switches:
s1 s2 s3 s4 s5 s6 s7 s8 s9 s10 s11 s12 s13 s14 s15 s16 s17 s18 s19 s20 s21 s22 s23 s24 s25 s26 s27 s28 s29 s30 s31 s32 s33 s34 s35 s36 s37 s38 s39 s40 s41 s42 s43 s44 s45 s46 s47 s48 s49 s50 s51 s52 s53 s54 s55 s56 s57 s58 s59 s60 s61 s62 s63
*** Adding links:
(h1, s6) (h2, s6) (h3, s7) (h4, s7) (h5, s9) (h6, s9) (h7, s10) (h8, s10) (h9, s13) (h10, s13) (h11, s14) (h12, s14) (h13, s16) (h14, s16) (h15, s17) (h16, s17) (h17, s21) (h18, s21) (h19, s22) (h20, s22) (h21, s24) (h22, s24) (h23, s25) (h24, s25) (h25, s28) (h26, s28) (h27, s29) (h28, s29) (h29, s31) (h30, s31) (h31, s32) (h32, s32) (h33, s37) (h34, s37) (h35, s38) (h36, s38) (h37, s40) (h38, s40) (h39, s41) (h40, s41) (h41, s44) (h42, s44) (h43, s45) (h44, s45) (h45, s47) (h46, s47) (h47, s48) (h48, s48) (h49, s52) (h50, s52) (h51, s53) (h52, s53) (h53, s55) (h54, s55) (h55, s56) (h56, s56) (h57, s59) (h58, s59) (h59, s60) (h60, s60) (h61, s62) (h62, s62) (h63, s63) (h64, s63) (s1, s2) (s1, s33) (s2, s3) (s2, s18) (s3, s4) (s3, s11) (s4, s5) (s4, s8) (s5, s6) (s5, s7) (s8, s9) (s8, s10) (s11, s12) (s11, s15) (s12, s13) (s12, s14) (s15, s16) (s15, s17) (s18, s19) (s18, s26) (s19, s20) (s19, s23) (s20, s21) (s20, s22) (s23, s24) (s23, s25) (s26, s27) (s26, s30) (s27, s28) (s27, s29) (s30, s31) (s30, s32) (s33, s34) (s33, s49) (s34, s35) (s34, s42) (s35, s36) (s35, s39) (s36, s37) (s36, s38) (s39, s40) (s39, s41) (s42, s43) (s42, s46) (s43, s44) (s43, s45) (s46, s47) (s46, s48) (s49, s50) (s49, s57) (s50, s51) (s50, s54) (s51, s52) (s51, s53) (s54, s55) (s54, s56) (s57, s58) (s57, s61) (s58, s59) (s58, s60) (s61, s62) (s61, s63)
*** Configuring hosts
h1 h2 h3 h4 h5 h6 h7 h8 h9 h10 h11 h12 h13 h14 h15 h16 h17 h18 h19 h20 h21 h22 h23 h24 h25 h26 h27 h28 h29 h30 h31 h32 h33 h34 h35 h36 h37 h38 h39 h40 h41 h42 h43 h44 h45 h46 h47 h48 h49 h50 h51 h52 h53 h54 h55 h56 h57 h58 h59 h60 h61 h62 h63 h64
*** Starting controller
*** Starting 63 switches
s1 s2 s3 s4 s5 s6 s7 s8 s9 s10 s11 s12 s13 s14 s15 s16 s17 s18 s19 s20 s21 s22 s23 s24 s25 s26 s27 s28 s29 s30 s31 s32 s33 s34 s35 s36 s37 s38 s39 s40 s41 s42 s43 s44 s45 s46 s47 s48 s49 s50 s51 s52 s53 s54 s55 s56 s57 s58 s59 s60 s61 s62 s63
*** Starting CLI:
mininet>

Some screenshots below:

The UI with the nodes
Network
Zoomed!
Nodes
A node


Node connector statistics for a node

2 comments:

  1. Hi Pradeeban,

    It works now. Thanks for the tutorial.!

    WHen you have time, can you please include some use cases like programming the switches thru OF and stuff?

    Thanks
    Raga

    ReplyDelete
    Replies
    1. Hi Raga,
      Great to hear that.
      Sure, I will include more posts on this topic.

      Regards,
      Pradeeban.

      Delete

You are welcome to provide your opinions in the comments. Spam comments and comments with random links will be deleted.