control software for the combo ethernet tester and its
play

Control software for the COMbo Ethernet Tester and its integration - PowerPoint PPT Presentation

Control software for the COMbo Ethernet Tester and its integration into the Netopeer configuration system Masters thesis s Tom a Cejka CTU - Faculty of Information Technology 14. 05. 2012 T. Cejka (CTU - FIT) COMET Control


  1. Control software for the COMbo Ethernet Tester and its integration into the Netopeer configuration system Master’s thesis s ˇ Tom´ aˇ Cejka CTU - Faculty of Information Technology 14. 05. 2012 T. ˇ Cejka (CTU - FIT) COMET Control Software 14. 05. 2012 1 / 14

  2. Outline of Presentation About the COMET Project 1 COMET Architecture 2 3 COMET Software Architecture Testing 4 Installation 5 Screenshots 6 Conclusion 7 T. ˇ Cejka (CTU - FIT) COMET Control Software 14. 05. 2012 2 / 14

  3. About the COMET Project COMET = COMbo Ethernet Tester Idea came from CESNET, z.s.p.o. My supervisor – RNDr. Radek Krejˇ c´ ı What COMET is? Ethernet tester built on “Programmable hardware” – COMBOv2 card T. ˇ Cejka (CTU - FIT) COMET Control Software 14. 05. 2012 3 / 14

  4. COMET Architecture SZE CSBUS MDIO I²C Kernel drivers COMBOv2 card My part was the COMET software design and implementation. T. ˇ Cejka (CTU - FIT) COMET Control Software 14. 05. 2012 4 / 14

  5. Software Architecture Software part uses the libcomet library. LIBCOMET STAT SEND PCAPTRAF XML CONFIG COMSTAT(1) PCAP2SZE(1) PCAPEDIT(1) STAT reading information about device state and incoming traffic, SEND sending stored traffic at given speed, PCAPTRAF manipulation with PCAP files. T. ˇ Cejka (CTU - FIT) COMET Control Software 14. 05. 2012 5 / 14

  6. STAT Module LIBCOMET Used in comstat(1) console application. STAT SEND PCAPTRAF XML CONFIG This module: COMSTAT PCAP2SZE PCAPEDIT is based on XML configuration file, reads information from hardware, writes data into hardware, computes values according to simple equations, presents values to user. T. ˇ Cejka (CTU - FIT) COMET Control Software 14. 05. 2012 6 / 14

  7. SEND Module LIBCOMET Used in pcap2sze(1) console application. STAT SEND PCAPTRAF XML This module: CONFIG COMSTAT PCAP2SZE PCAPEDIT is used for sending stored network traffic, has many options for timestamp specification, allows to repeat packets. Basic modes of transmission: full-speed, 1 user-speed, 2 interval-based. 3 T. ˇ Cejka (CTU - FIT) COMET Control Software 14. 05. 2012 7 / 14

  8. PCAPTRAF Module LIBCOMET Used in pcapedit(1) console application. STAT SEND PCAPTRAF XML CONFIG This module is used for manipulation COMSTAT PCAP2SZE PCAPEDIT with a content of PCAP file. Some operations: load/save PCAP file, make a copy of frame, remove a frame, ... T. ˇ Cejka (CTU - FIT) COMET Control Software 14. 05. 2012 8 / 14

  9. NETCONF Support Done by Netopeer plug-in implementation. NETCONF — network configuration protocol (RFC6241) Netopeer — implementation of NETCONF protocol YANG — configuration modeling language (RFC6020) For COMET: Created data configuration model in YANG; COMET has new RPC operations (send-traffic, reset-counter, reset-modules); Implementation of Netopeer plug-in. T. ˇ Cejka (CTU - FIT) COMET Control Software 14. 05. 2012 9 / 14

  10. Testing and Verification Tests of software part: 1 ◮ static program analysis – Stanse, ◮ dynamic program analysis – Valgrind; Tests of Netopeer plug-in; 2 Tests of the whole COMET device 3 ◮ tested with the Spirent Ethernet tester (verified sent and received data). T. ˇ Cejka (CTU - FIT) COMET Control Software 14. 05. 2012 10 / 14

  11. Installation of the COMET Software The COMET software is packed in the libcomet and comet RPM packages. Makes installation and boot of COMET easy: [root@localhost]# yum install libcomet comet [root@localhost]# comet-boot.sh start T. ˇ Cejka (CTU - FIT) COMET Control Software 14. 05. 2012 11 / 14

  12. Screenshots of GUI T. ˇ Cejka (CTU - FIT) COMET Control Software 14. 05. 2012 12 / 14

  13. T. ˇ Cejka (CTU - FIT) COMET Control Software 14. 05. 2012 13 / 14

  14. Conclusion The work I have done: COMET software architecture design, designed configuration file structure, COMET library implemented, console application and GUI implemented, NETCONF support, RPM packages, static and dynamic source codes analysis. T. ˇ Cejka (CTU - FIT) COMET Control Software 14. 05. 2012 14 / 14

Recommend


More recommend