Changes between Version 8 and Version 9 of Tutorials/Optical/Mininet Optical Tutorial1
- Timestamp:
- Jul 27, 2022, 2:43:32 AM (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Tutorials/Optical/Mininet Optical Tutorial1
v8 v9 129 129 130 130 131 ROADMs and ToR switches are added using addSwitch()calls:131 ROADMs and ToR switches are added using `addSwitch()` calls: 132 132 133 133 {{{#!python … … 141 141 }}} 142 142 143 Servers are added using addHostcalls:143 Servers are added using `addHost()` calls: 144 144 145 145 {{{#!python … … 151 151 152 152 In Mininet, ports are created by specifying port numbers when we add links. 153 (This is due to the underlying link emulation which uses Linux virtual Ethernet ( veth)153 (This is due to the underlying link emulation which uses Linux virtual Ethernet (`veth`) 154 154 pairs.) 155 155 … … 250 250 }}} 251 251 252 Mininet-Optical CLI commands may be entered at the mininet-optical>prompt.252 Mininet-Optical CLI commands may be entered at the `mininet-optical>` prompt. 253 253 254 254 If you don't have one open already, open up another terminal window and … … 321 321 C1's middle frequency is 191350 GHz, so C34 is at 191350 + 33*50 = 193000 GHz. 322 322 323 We use curlto send a REST request to ROADM4 to add/drop ch34:323 We use `curl` to send a REST request to ROADM4 to add/drop ch34: 324 324 {{{ 325 325 curl "localhost:8080/connect?node=roadm4&port1=4102&port2=4201&channels=34" … … 333 333 8. Add Connection “Towards ToR 2” with I/O Port 5101/5202 334 334 335 We use curlto send a REST request to ROADM4 to add/drop ch34:335 We again use `curl` to send a REST request to ROADM4 to add/drop ch34: 336 336 {{{ 337 337 curl "localhost:8080/connect?node=roadm1&port1=4102&port2=4201&channels=34" … … 357 357 8. Add Connection “Through Out” with I/O Port 5101/5201 with bandwidth [192.95;193.05] 358 358 359 This time we pass channel 34 through ROADM 1:359 This time we pass channel 34 through ROADM 1: 360 360 {{{ 361 361 curl "localhost:8080/connect?node=roadm1&port1=4101&port2=4201&channels=34" … … 398 398 == Setting Up ToR switches and configuring transceivers == 399 399 400 Mininet-Optical's Terminalis the equivalent of the ToR switch400 Mininet-Optical's `Terminal` is the equivalent of the ToR switch 401 401 which contains Ethernet interfaces as well as WDM transceivers. 402 402 … … 420 420 }}} 421 421 422 == Configuring Compute Nodes ( server1, server2, server3) ==422 == Configuring Compute Nodes (`server1`, `server2`, `server3`) == 423 423 424 424 1. Configure Ethernet interfaces and assign IP addresses: 425 425 426 This may be performed in at the mininet-opticalCLI prompt:426 This may be performed in at the `mininet-optical>` CLI prompt: 427 427 {{{ 428 428 mininet-optical> server1 ifconfig server1-eth0 192.168.1.1/24 … … 432 432 433 433 Or it can be done remotely from a shell prompt in the VM using the 434 ~/mininet/util/mscript:434 `~/mininet/util/m` script: 435 435 436 436 {{{ … … 457 457 = Shutting down Mininet-Optical = 458 458 459 To exit Mininet-Optical, type exit or press control-D at the mininet-optical>prompt.460 461 459 To exit Mininet-Optical, type `exit` or press control-D at the `mininet-optical>` prompt. 460 461