Changes between Version 7 and Version 8 of Workshops/Sig Comm2022/Mininet Optical
- Timestamp:
- Aug 18, 2022, 4:54:38 PM (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Workshops/Sig Comm2022/Mininet Optical
v7 v8 136 136 user@console:~$ omf tell -a on -t <node> 137 137 }}} 138 3. Ping the node to check if disk image has been installed correctly 138 3. 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. 139 139 {{{#!shell-session 140 140 user@console:~$ ping <node> 141 }}} 141 PING node1-2.sb4.orbit-lab.org (10.14.1.2) 56(84) bytes of data. 142 ... 143 64 bytes from <node> (10.14.1.2): icmp_seq=16 ttl=255 time=0.552 ms 144 64 bytes from <node> (10.14.1.2): icmp_seq=37 ttl=64 time=0.750 ms 145 64 bytes from <node> (10.14.1.2): icmp_seq=38 ttl=64 time=0.530 ms 146 64 bytes from <node> (10.14.1.2): icmp_seq=39 ttl=64 time=0.347 ms 147 ^C 148 }}} 149 Press CTRL+C to stop the ping 142 150 4. Log in to the node, and fetch the latest version of Mininet-Optical 143 151 {{{#!shell-session … … 151 159 5. Run a sample script to check Mininet-Optical has been installed correctly. 152 160 {{{#!shell-session 153 root@node:~/mininet-optical# sudo PYTHONPATH=. python3 ./examples/simple test.py161 root@node:~/mininet-optical# sudo PYTHONPATH=. python3 ./examples/simplelink.py test 154 162 }}} 155 163 Expected output: 156 164 {{{#!shell-session 157 root@node:~/mininet-optical# 165 *** Creating network 166 *** Adding controller 167 *** Adding hosts: 168 h1 h2 169 *** Adding switches: 170 t1 t2 171 *** Adding links: 172 (h1, t1) (h2, t2) (t1, t2) 173 *** Configuring hosts 174 h1 h2 175 *** Starting controller 176 c0 177 *** Starting 2 switches 178 t1 t2 ... 179 180 simplelink.py: simple link between two terminals 181 182 This is very close to the simplest fully emulated packet-optical 183 network that we can create. 184 ... 185 ... 186 *** Ping: testing ping reachability 187 h1 -> h2 188 h2 -> h1 189 *** Results: 0% dropped (2/2 received) 190 *** Stopping 1 controllers 191 c0 192 *** Stopping 3 links 193 ... 194 *** Stopping 2 switches 195 t1 t2 196 *** Stopping 2 hosts 197 h1 h2 198 *** Done 199 158 200 }}} 159 201 If your output looks like above, mininet-optical is successfully installed and working on your