1 / 20

Towards Modeling and Testing of IP Routing Protocols

Towards Modeling and Testing of IP Routing Protocols . Jianping Wu , Zhongjie Li, Xia Yin Tsinghua University, P.R.China Sophia Antipolis, France May. 26, 2003. contents. background and problem the MP-FSM model of Routing Information Processing a pragmatic test architecture – PADTACC

khoi
Download Presentation

Towards Modeling and Testing of IP Routing Protocols

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Towards Modeling and Testing of IP Routing Protocols Jianping Wu, Zhongjie Li, Xia Yin Tsinghua University, P.R.China Sophia Antipolis, France May. 26, 2003

  2. contents • background and problem • the MP-FSM model of Routing Information Processing • a pragmatic test architecture – PADTACC • a simple test notation –RIPTS • a software tester • example test cases • conclusions and future work

  3. RI Processing •Origination •Propagation •RIB management •Routing table calculation RI-Pro NC Routing information flows •Interface up/down •Neighbor up/down IP, TCP, UDP connections 2-layer design: NC and RI-Pro IP Routing Protocols

  4. Testing • network communication (NC) • Basic content of routing protocols test • FSM, other state based approach • many researches (not covered in this paper) • routing information processing (RI-Pro) • Main content of routing protocols test • Specified in natural language, no formal model • challenging research (covered in this paper)

  5. status • Formal and automatic testing • Tsinghua TTCN-1 based, etc • Agilent RouterTester, etc • Informal and manual testing • UNH IOL Interoperability test suite, etc

  6. C D A B HDR3 HDR4 HDR1 HDR2 r1 r2 r1 r2 r2 r1 B C D A B C D A C D TTCN Problem-1: data START T1 ?C ?D ?A ?B ?C ?D ?Otherwise/Timeout +Post0F ?B ?A ?C ?D ?Otherwise/Timeout +Post0F ?Otherwise/Timeout +Post0F

  7. TTCN Problem-2: control • TTCN is not so powerful as C,C++ • NC-part testing based on TTCN – useful, but not a good base to support RI-Pro testing (as preamble, postamble, etc) • RI-Pro testing need a correct, stable and function-rich NC-Part service • PDU code/decode (carry routing information) • State machines • Protocol configuration

  8. test software SR2 SR1 Routing Software (SR) IUT SR3 - test IUT by simulate its working environment IUT design overview

  9. the mp-FSM model

  10. exportable routing protocols in a router verify a state

  11. test architecture TTCN-2 PADTACC Parallel And Distributed Test Architecture with Centralized-Control Main Test Component (MTC) Parallel Test Component (PTC) Coordination Point (CP) Distributed Communication Utilities (DCU)

  12. test architecture (cont’d) test system Router Under Test SR1 ifc1 PC_1 ifc2 SR2 ifc3 PC_m SRx ifcn one Main Tester, several Slave Testers compose the test system, SRs act as PTCs

  13. requirements on test notation • Flexible and Simple to be customized • Send, Receive and State Verification statements • Specify parallel behaviors on PCOs • Formalization and Automation of Test Configurations • RIPTS: Routing Information Processing Test Script

  14. RIPTS a test step

  15. software tester UI: User Interface TC-Editor: Test Case Editor TM: Test Management AC: Auxiliary Channel TE: Test Execution RI-Gen: Routing Information Generation

  16. N1: 10.1.1.0/24; N2: 10.1.2.0/24; N3: 10.1.3.0/24 IUT interface1: 10.1.1.5, metric=1; interface2: 10.1.2.5, metric=2; interface3: 10.1.3.5, metric=3 SR1 SR2 10.1.1.0/24 1 3 IUT 10.1.2.0/24 2 10.1.3.0/24 Area0 Area1 Example test scenario #1 LSA: Link State Advertisement (OSPF routing information) Fig. 10. the TOP2 Test Case Outline

  17. N7 SR2 SR1 N1 IUT 1 N3 R6 (ASBR) 3 N2 2 4 Area1 N6 N5 Area0 N4 STUB Area2 SR3 Example test scenario #2 pco1 send top3_total5.ol pco1 recv empty.ol pco2 recv top3_total5.ol pco3 recv top3_total4.ol pco4 recv empty.ol stop pco1 recv top3_a0_noaggr.ol pco2 recv top3_a0_noaggr.ol pco3 recv top3_a1_noaggr.ol pco4 recv top3_a2_stub.ol pause TestCase 3 TestCfg testcfg1 TestEvents wait all full

  18. conclusions • What and how to test RI processing • mp-FSM model • PADTACC architecture • RIPTS notation • Software tester • A groping walk off the TTCN road

  19. future works • improve RIPTS and IRIT • application to similar protocols • relate to TTCN-3 • external function • interleave

  20. Thank you. Comments and Criticisms are welcome.

More Related