Changes between Version 7 and Version 8 of Workshops/Sig Comm2022/Mininet Optical


Ignore:
Timestamp:
Aug 18, 2022, 4:54:38 PM (2 years ago)
Author:
rajag
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Workshops/Sig Comm2022/Mininet Optical

    v7 v8  
    136136user@console:~$ omf tell -a on -t <node>
    137137}}}
    138 3. Ping the node to check if disk image has been installed correctly 
     1383. Ping the node to check if disk image has been installed correctly. You should see the output similar to below which confirms that your console is able to ping the node you just installed in previous step.
    139139{{{#!shell-session
    140140user@console:~$ ping <node>
    141 }}}
     141PING node1-2.sb4.orbit-lab.org (10.14.1.2) 56(84) bytes of data.
     142...
     14364 bytes from <node> (10.14.1.2): icmp_seq=16 ttl=255 time=0.552 ms
     14464 bytes from <node> (10.14.1.2): icmp_seq=37 ttl=64 time=0.750 ms
     14564 bytes from <node> (10.14.1.2): icmp_seq=38 ttl=64 time=0.530 ms
     14664 bytes from <node> (10.14.1.2): icmp_seq=39 ttl=64 time=0.347 ms
     147^C
     148}}}
     149Press CTRL+C to stop the ping
    1421504. Log in to the node, and fetch the latest version of Mininet-Optical
    143151{{{#!shell-session
     
    1511595. Run a sample script to check Mininet-Optical has been installed correctly.
    152160{{{#!shell-session
    153 root@node:~/mininet-optical# sudo PYTHONPATH=. python3 ./examples/simpletest.py
     161root@node:~/mininet-optical# sudo PYTHONPATH=. python3 ./examples/simplelink.py test
    154162}}}
    155163    Expected output:
    156164    {{{#!shell-session
    157     root@node:~/mininet-optical#
     165*** Creating network
     166*** Adding controller
     167*** Adding hosts:
     168h1 h2
     169*** Adding switches:
     170t1 t2
     171*** Adding links:
     172 (h1, t1) (h2, t2) (t1, t2)
     173*** Configuring hosts
     174h1 h2
     175*** Starting controller
     176c0
     177*** Starting 2 switches
     178t1 t2 ...
     179
     180simplelink.py: simple link between two terminals
     181
     182This is very close to the simplest fully emulated packet-optical
     183network that we can create.
     184...
     185...
     186*** Ping: testing ping reachability
     187h1 -> h2
     188h2 -> h1
     189*** Results: 0% dropped (2/2 received)
     190*** Stopping 1 controllers
     191c0
     192*** Stopping 3 links
     193...
     194*** Stopping 2 switches
     195t1 t2
     196*** Stopping 2 hosts
     197h1 h2
     198*** Done
     199
    158200    }}}
    159201    If your output looks like above, mininet-optical is successfully installed and working on your