Changes between Version 8 and Version 9 of Tutorials/Optical/Mininet Optical Tutorial1


Ignore:
Timestamp:
Jul 27, 2022, 2:43:32 AM (22 months ago)
Author:
lantz
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Tutorials/Optical/Mininet Optical Tutorial1

    v8 v9  
    129129
    130130
    131 ROADMs and ToR switches are added using addSwitch() calls:
     131ROADMs and ToR switches are added using `addSwitch()` calls:
    132132
    133133{{{#!python
     
    141141}}}
    142142
    143 Servers are added using addHost calls:
     143Servers are added using `addHost()` calls:
    144144
    145145{{{#!python
     
    151151
    152152In 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`)
    154154pairs.)
    155155
     
    250250}}}
    251251
    252 Mininet-Optical CLI commands may be entered at the mininet-optical> prompt.
     252Mininet-Optical CLI commands may be entered at the `mininet-optical>` prompt.
    253253
    254254If you don't have one open already, open up another terminal window and
     
    321321C1's middle frequency is 191350 GHz, so C34 is at 191350 + 33*50 = 193000 GHz.
    322322
    323 We use curl to send a REST request to ROADM4 to add/drop ch34:
     323We use `curl` to send a REST request to ROADM4 to add/drop ch34:
    324324{{{
    325325    curl "localhost:8080/connect?node=roadm4&port1=4102&port2=4201&channels=34"
     
    3333338. Add Connection “Towards ToR 2” with I/O Port 5101/5202
    334334
    335 We use curl to send a REST request to ROADM4 to add/drop ch34:
     335We again use `curl` to send a REST request to ROADM4 to add/drop ch34:
    336336{{{
    337337    curl "localhost:8080/connect?node=roadm1&port1=4102&port2=4201&channels=34"
     
    3573578. Add Connection “Through Out” with I/O Port 5101/5201 with bandwidth [192.95;193.05]
    358358
    359 This time we pass channel 34 through ROADM1:
     359This time we pass channel 34 through ROADM 1:
    360360{{{
    361361    curl "localhost:8080/connect?node=roadm1&port1=4101&port2=4201&channels=34"
     
    398398== Setting Up ToR switches and configuring transceivers ==
    399399
    400 Mininet-Optical's Terminal is the equivalent of the ToR switch
     400Mininet-Optical's `Terminal` is the equivalent of the ToR switch
    401401which contains Ethernet interfaces as well as WDM transceivers.
    402402
     
    420420}}}
    421421
    422 == Configuring Compute Nodes (server1, server2, server3) ==
     422== Configuring Compute Nodes (`server1`, `server2`, `server3`) ==
    423423
    4244241. Configure Ethernet interfaces and assign IP addresses:
    425425
    426 This may be performed in at the mininet-optical CLI prompt:
     426This may be performed in at the `mininet-optical>` CLI prompt:
    427427{{{
    428428mininet-optical> server1 ifconfig server1-eth0 192.168.1.1/24
     
    432432
    433433Or it can be done remotely from a shell prompt in the VM using the
    434 ~/mininet/util/m script:
     434`~/mininet/util/m` script:
    435435
    436436{{{
     
    457457= Shutting down Mininet-Optical =
    458458
    459 To exit Mininet-Optical, type exit or press control-D at the mininet-optical> prompt.
    460 
    461 
     459To exit Mininet-Optical, type `exit` or press control-D at the `mininet-optical>` prompt.
     460
     461