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

control software for the combo ethernet tester and its
SMART_READER_LITE
LIVE PREVIEW

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


slide-1
SLIDE 1

Control software for the COMbo Ethernet Tester and its integration into the Netopeer configuration system

Master’s thesis Tom´ aˇ s ˇ Cejka

CTU - Faculty of Information Technology

  • 14. 05. 2012
  • T. ˇ

Cejka (CTU - FIT) COMET Control Software

  • 14. 05. 2012

1 / 14

slide-2
SLIDE 2

Outline of Presentation

1

About the COMET Project

2

COMET Architecture

3

COMET Software Architecture

4

Testing

5

Installation

6

Screenshots

7

Conclusion

  • T. ˇ

Cejka (CTU - FIT) COMET Control Software

  • 14. 05. 2012

2 / 14

slide-3
SLIDE 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

slide-4
SLIDE 4

COMET Architecture

COMBOv2 card Kernel drivers SZE CSBUS I²C MDIO

My part was the COMET software design and implementation.

  • T. ˇ

Cejka (CTU - FIT) COMET Control Software

  • 14. 05. 2012

4 / 14

slide-5
SLIDE 5

Software Architecture

Software part uses the libcomet library.

STAT SEND

PCAPTRAF

XML CONFIG

LIBCOMET

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

slide-6
SLIDE 6

STAT Module

Used in comstat(1) console application.

This module: 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 STAT SEND

PCAPTRAF XML CONFIG

LIBCOMET

COMSTAT PCAP2SZE PCAPEDIT

slide-7
SLIDE 7

SEND Module

Used in pcap2sze(1) console application.

This module: is used for sending stored network traffic, has many options for timestamp specification, allows to repeat packets. Basic modes of transmission:

1

full-speed,

2

user-speed,

3

interval-based.

  • T. ˇ

Cejka (CTU - FIT) COMET Control Software

  • 14. 05. 2012

7 / 14 STAT SEND

PCAPTRAF XML CONFIG

LIBCOMET

COMSTAT PCAP2SZE PCAPEDIT

slide-8
SLIDE 8

PCAPTRAF Module

Used in pcapedit(1) console application.

This module is used for manipulation 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 STAT SEND

PCAPTRAF XML CONFIG

LIBCOMET

COMSTAT PCAP2SZE PCAPEDIT

slide-9
SLIDE 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

slide-10
SLIDE 10

Testing and Verification

1

Tests of software part:

◮ static program analysis – Stanse, ◮ dynamic program analysis – Valgrind; 2

Tests of Netopeer plug-in;

3

Tests of the whole COMET device

◮ tested with the Spirent Ethernet tester

(verified sent and received data).

  • T. ˇ

Cejka (CTU - FIT) COMET Control Software

  • 14. 05. 2012

10 / 14

slide-11
SLIDE 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

slide-12
SLIDE 12

Screenshots of GUI

  • T. ˇ

Cejka (CTU - FIT) COMET Control Software

  • 14. 05. 2012

12 / 14

slide-13
SLIDE 13
  • T. ˇ

Cejka (CTU - FIT) COMET Control Software

  • 14. 05. 2012

13 / 14

slide-14
SLIDE 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