Changes between Version 2 and Version 3 of Workshops/Sig Comm2022/Mininet Optical


Ignore:
Timestamp:
Aug 17, 2022, 3:48:26 PM (2 years ago)
Author:
rajag
Comment:

Legend:

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

    v2 v3  
    371371If you don't have one open already, open up another terminal window with the below instructions:
    372372
    373 === [WIP] Opening another terminal window in Orbit ===
     373== [WIP] Opening another terminal window in Orbit ==
    374374
    3753751. SSH into
     
    397397All of these configurations can be performed by Python scripts developed to work with the COSMOS test-bed. The Python commands send NETCONF commands to the ROADM.
    398398
    399 === Running the configuration script ===
     399== Running the configuration script ==
    400400
    401401Run the script with the following command
     
    404404}}}
    405405
    406 This executes the configuration file which establishes the ground connections first and turns on the transceivers. We walk through this script below to deep dive into what's happening.
     406This executes the configuration file which establishes the ground connections first and turns on the transceivers.
    407407
    408408Mininet-Optical's `Terminal` is the equivalent of the ToR switch
    409 which contains Ethernet interfaces as well as WDM transceivers.
    410 
    411 Instead of using a Cisco-style CLI to configure it, we use its
     409which contains Ethernet interfaces as well as WDM transceivers. Instead of using a Cisco-style CLI to configure it, we use its
    412410default REST API.
    413411
    414412As noted above, 194.35 THz corresponds to channel C61 on Mininet-Optical's default 50GHz channel grid. C1's middle frequency is 191350 GHz, so C61 is at 191350 + 60*50 = 194350 GHz.
     413
     414We walk through this script below to deep dive into what's happening:
    415415
    4164161. Connect Ethernet interfaces to Transceivers and set channel
     
    456456*** srv1-co1 pinging srv1-lg1
    457457PING 192.168.1.2 (192.168.1.2) 56(84) bytes of data.
    458 64 bytes from 192.168.1.2: icmp_seq=1 ttl=64 time=0.932 ms
    459 64 bytes from 192.168.1.2: icmp_seq=2 ttl=64 time=0.145 ms
    460 64 bytes from 192.168.1.2: icmp_seq=3 ttl=64 time=0.153 ms
     458From 192.168.1.1 icmp_seq=1 Destination Host Unreachable
     459From 192.168.1.1 icmp_seq=2 Destination Host Unreachable
     460From 192.168.1.1 icmp_seq=3 Destination Host Unreachable
    461461
    462462--- 192.168.1.2 ping statistics ---
    463 3 packets transmitted, 3 received, 0% packet loss, time 2089ms
    464 rtt min/avg/max/mdev = 0.145/0.410/0.932/0.369 ms
     4633 packets transmitted, 0 received, +3 errors, 100% packet loss, time 2168ms
    465464...
    466465*** srv1-co1 pinging srv2-lg1
     
    482481For this tutorial, we are using NETCONF interface to configure the ROADMs to closely match the interface used in hardware experiment.
    483482
    484 === [WIP] MUX/DEMUX configuration ===
     483=== MUX/DEMUX configuration ===
    485484
    486485As a reminder, here are the ROADM port numbers:
     
    510509Once you perform the base test as described above, the script will prompt you to press `Return` key to perform the test for configuration 1. Before trying the configuration, let's dive into what connections this script will install:
    511510
    512 ==== Configuring srv1-co1<==>srv1-lg1 Connection 1 on Mininet-Optical using NETCONF ====
     511=== Configuring srv1-co1<==>srv1-lg1 Connection 1 on Mininet-Optical using NETCONF ===
    513512
    514513
     
    549548----
    550549
    551 ==== Performing the experiment and results
     550=== Performing the experiment and results
    552551
    553552Now you can try installing the above lightpaths by yourself. As prompted by the terminal, press `Return` to install the configuration and perform the test. This will establish the connections between ROADMs as described above, which you can also view with the lines printed.
     
    593592In Experiment 2, we are choosing to pass the optical signal through 2 hops (via a pair of 10km fiber spools with the 32km Manhattan dark fiber). This requires us to establish a connection between srv1-co1 and srv2-lg1. Once you perform the experiment 1 as described above, the script will prompt you to press Return key to perform the test for configuration 2. Before trying the configuration, let's dive into what connections this script will install:
    594593
    595 ==== Configuring srv1-co1<==>srv2-lg1 connection on Mininet-Optical using NETCONF ====
     594=== Configuring srv1-co1<==>srv2-lg1 connection on Mininet-Optical using NETCONF ===
    596595
    597596The NETCONF servers for `rdm1-co1` and `rdm1-lg1` are listening on `localhost` at ports 1834 and 1831 as Experiment 1. We are configuring `rdm2-lg1' and 'rdm2-co1` to listen at ports 1832 and 1833 respectively.
     
    657656}}}
    658657----
    659 ==== Performing Experiment 2 and Results
     658=== Performing Experiment 2 and Results
    660659
    661660Now you can try installing the above lightpaths for Experiment 2 by yourself. As prompted by the terminal, press `Return` to install the configuration and perform the test. This will establish the connections between ROADMs as described above, which you can also view with the lines printed.
     
    692691As expected, srv1-co1 and srv2-lg1 are able to ping each other because we established the ROADM rules for long-hop configuration. Consequently, as opposed to Experiment 1, srv1-co1 and srv1-lg1 are not able to ping each other because no such connection is established yet.
    693692
    694 Note that the average ping time for srv1-co1 to srv2-lg1 is 0.675 ms, and the average ping time for srv1-co1 to srv1-lg1 in Experiment 1 was 0.339 ms. Observe the slightly longer RTT to `srv2-lg1`, reflecting the increased propagation time across two 32km fibers to reach the "Central Cloud" data center.
     693Note that the average ping time for srv1-co1 to srv2-lg1 is 0.675 ms, and the average ping time for srv1-co1 to srv1-lg1 in Experiment 1 is 0.339 ms. Observe the slightly longer RTT to `srv2-lg1`, reflecting the increased propagation time across two 32km fibers to reach the "Central Cloud" data center.
    695694
    696695= Shutting down Mininet-Optical =