Changes between Version 2 and Version 3 of Workshops/Sig Comm2022/Mininet Optical
- Timestamp:
- Aug 17, 2022, 3:48:26 PM (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Workshops/Sig Comm2022/Mininet Optical
v2 v3 371 371 If you don't have one open already, open up another terminal window with the below instructions: 372 372 373 == = [WIP] Opening another terminal window in Orbit ===373 == [WIP] Opening another terminal window in Orbit == 374 374 375 375 1. SSH into … … 397 397 All 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. 398 398 399 == = Running the configuration script ===399 == Running the configuration script == 400 400 401 401 Run the script with the following command … … 404 404 }}} 405 405 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.406 This executes the configuration file which establishes the ground connections first and turns on the transceivers. 407 407 408 408 Mininet-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 409 which contains Ethernet interfaces as well as WDM transceivers. Instead of using a Cisco-style CLI to configure it, we use its 412 410 default REST API. 413 411 414 412 As 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 414 We walk through this script below to deep dive into what's happening: 415 415 416 416 1. Connect Ethernet interfaces to Transceivers and set channel … … 456 456 *** srv1-co1 pinging srv1-lg1 457 457 PING 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 458 From 192.168.1.1 icmp_seq=1 Destination Host Unreachable 459 From 192.168.1.1 icmp_seq=2 Destination Host Unreachable 460 From 192.168.1.1 icmp_seq=3 Destination Host Unreachable 461 461 462 462 --- 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 463 3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 2168ms 465 464 ... 466 465 *** srv1-co1 pinging srv2-lg1 … … 482 481 For this tutorial, we are using NETCONF interface to configure the ROADMs to closely match the interface used in hardware experiment. 483 482 484 === [WIP]MUX/DEMUX configuration ===483 === MUX/DEMUX configuration === 485 484 486 485 As a reminder, here are the ROADM port numbers: … … 510 509 Once 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: 511 510 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 === 513 512 514 513 … … 549 548 ---- 550 549 551 === =Performing the experiment and results550 === Performing the experiment and results 552 551 553 552 Now 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. … … 593 592 In 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: 594 593 595 === = Configuring srv1-co1<==>srv2-lg1 connection on Mininet-Optical using NETCONF ====594 === Configuring srv1-co1<==>srv2-lg1 connection on Mininet-Optical using NETCONF === 596 595 597 596 The 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. … … 657 656 }}} 658 657 ---- 659 === =Performing Experiment 2 and Results658 === Performing Experiment 2 and Results 660 659 661 660 Now 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. … … 692 691 As 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. 693 692 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.693 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 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. 695 694 696 695 = Shutting down Mininet-Optical =