EtherTester overview

13
. . EtherTester Ethernet testing framework Souto July 10, 2014 Souto EtherTester – Ethernet testing framework

Transcript of EtherTester overview

Page 1: EtherTester overview

.

......

EtherTesterEthernet testing framework

Souto

July 10, 2014

Souto EtherTester – Ethernet testing framework

Page 2: EtherTester overview

.. About the author

Education Electronic engineer with BS degree at UFRGSMBA in Project Management at FGV

Experience Worked 5,5 years at Datacom — Brazil leadingtelecom manufacturerWorked as developer, project manager, softwareengineer, QA engineer

Experience inworking with

Carrier Ethernet SwitchesMetro & Enterprise Ethernet switchesEDDs, Routers, Multi-service Access NodesVLAN, IGMP, QoS, CESoPSN, xDSL, VoIP, TDM,E1, T1, PDH, SDH, FTTx, GPONEthernet testers: JDSU, Spirent, Agilent

Souto EtherTester – Ethernet testing framework

Page 3: EtherTester overview

About EtherTester

What is EtherTester and how does it improves both producttesting and development

Souto EtherTester – Ethernet testing framework

Page 4: EtherTester overview

.. About EtherTester

What is EtherTester?

Modular testingframework for Ethernet

network equipment

Protocol Conformance ModuleMEF/BroadBandForum ModuleProtocol Transparency Module

Developed in Pythonprogramming language

starting from Layer 2

Quick development of new testsWell controlled environmentL2 sockets to communicate with theNIC

Souto EtherTester – Ethernet testing framework

Page 5: EtherTester overview

.. About EtherTester

How EtherTester improves product testing and development?

Distribute testing execution across development teamsStandardize tests across multiple product development stages

Standardize reports for tests cases and test suitesReduce concurrency for dedicated test equipment

Souto EtherTester – Ethernet testing framework

Page 6: EtherTester overview

.. About EtherTester – Use cases

Use cases

WAN

LAN

CPE testing

WAN

Testing via Wi-Fi interfaces

Multiple interface equipment testing

Souto EtherTester – Ethernet testing framework

Page 7: EtherTester overview

.. About EtherTester

Why using another tool?

Turn any PC into a functional test unitControl the process via web browser

Integrate with regression testing process using standard Linuxshell

Detach software development framework from producttesting framework

Souto EtherTester – Ethernet testing framework

Page 8: EtherTester overview

.. About EtherTester

Product architecture

.

.

.

Testing environment

.

.

ARP .

.

DHCP c/s .

.

. . . .

.

User packets

.

.

Protocol API .

.

User API

.

.

Framework stack API

.

.

eth1 stack .

.

eth2 stack

.

. . . .

.

ethn stack

.

.

Kernel raw sockets

.

.eth1 .

.eth2

.. . . .

.ethn

.

OS-level subsystem

.

Stack-level subsystem

.

Framework API tointeract with the stack

.

Browser UI, Shell UI

Souto EtherTester – Ethernet testing framework

Page 9: EtherTester overview

.. EtherTester – Protocol Conformity Module

Tests already developed as proof of concept..

Protocol.

Test.

ARP

.

DHCP client

.

DHCP server

.

Outbound MAC

.

LAN interface responds ARP requests

.

WAN interface responds ARP requests

.

DHCP client receives configuration from server

.

Client renews before lease time expires

.

Client resends DHCP REQUEST if server doesn’t responds

.

Client fallback to DHCP discovery if server stop responding

.

Client ignores site specific DHCP options

.

Client ignores option with zero length

.

Client ignores packet with corrupt UDP checksum

.

Outbound packets use specified/cloned source MAC address

.

...... All tests executed in less than 10 min

Other protocols can be developed!

Souto EtherTester – Ethernet testing framework

Page 10: EtherTester overview

.. EtherTester – MEF/BroadBand Forum Module

Allows testing most functional test cases described by the MetroEthernet Forum and BroadBand Forum (under development)

MEF 9 Abstract Test Suite for Ethernet Services at the UNI1

MEF 19 Abstract Test Suite for UNI Type 12

MEF 21 Abstract Test Suite for UNI Type 2, Phase 1: Link OAM3

MEF 24 Abstract Test Suite for UNI Type 2, Phase 2: E-LMIMEF 25 Abstract Test Suite for UNI Type 2 Part 3: Service OAMMEF 27 Abstract Test Suite For UNI Type 2 Part 5: Enhanced UNI

Attributes & Part 6: L2CP Handling1

MEF 37 Abstract Test Suite for ENNI2

TR-156 Issue 3 Using GPON Access in the context of TR-1014

TR-247/ATP-247 GPON ONU Conformance Abstract Test Plan4

TR-255 GPON Interoperability Test Plan4

1Excluding physical layer tests2Excluding BW profiles and CIR/EIR tests3Under study4Ethernet related tests only

Souto EtherTester – Ethernet testing framework

Page 11: EtherTester overview

.. EtherTester – Protocol Transparency Module

Emulates several protocols with parametrizable sets of packets thatverify the correct operation through the equipment

RIPOSPFBGPIS-ISSTPMSTP

PVSTISLLLDPGMRPGVRPCDP

VTPPAGPUDLDDTPLACPVPN

Port authenticationVRFGVRPSMTPIMAPPOP3

.

...... All tests executed in less than 10 min

Souto EtherTester – Ethernet testing framework

Page 12: EtherTester overview

..EtherTesterMilestones

Finished ✓ Framework and stack implementation✓ Protocol Conformity Module proof of concept✓ MEF/BroadBand Module proof of concept✓ Protocol Transparency Module

What’s next Matter of fact, this is an open question!Further standalone protocol conformance testsBroadBand Forum test plansMetro Ethernet Forum test plansOthers?

.

......Feedback from potential users is greatlyappreciated to drive future development

Souto EtherTester – Ethernet testing framework

Page 13: EtherTester overview

Thank you

For questions or inquiries [email protected]

souto.andre

For more info on the author br.linkedin.com/in/andremsouto

Souto EtherTester – Ethernet testing framework