sample test plan - veryx · pdf filesample test plan veryx attesttm conformance test suite...

32
Sample Test Plan Veryx ATTEST TM Conformance Test Suite Internet Group Management Protocol version 3 (IGMPv3) Sample Test Plan Part Number: T / TPS – IGMPv3 2.0 - 1210/1.0

Upload: dangnga

Post on 06-Mar-2018

217 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Sample Test Plan - Veryx · PDF fileSample Test Plan Veryx ATTESTTM Conformance Test Suite Internet Group Management Protocol version 3 (IGMPv3) ... 3.2 tc_conf_igmp_dfd_003 Test Case

Sample Test Plan

Veryx ATTESTTM Conformance Test Suite

Internet Group Management Protocol version 3 (IGMPv3) Sample Test Plan

Part Number: T / TPS – IGMPv3 2.0 - 1210/1.0

Page 2: Sample Test Plan - Veryx · PDF fileSample Test Plan Veryx ATTESTTM Conformance Test Suite Internet Group Management Protocol version 3 (IGMPv3) ... 3.2 tc_conf_igmp_dfd_003 Test Case

Page ii

Copyright© 2004-2010 Veryx Technologies Pvt. Ltd. All rights reserved. Veryx ATTESTTM is a trademark of Veryx Technologies Pvt. Ltd. All other trademarks of respective owners are acknowledged. This document may not be copied either in whole or in part by any means or media without permission of Veryx Technologies Pvt. Ltd. THE PROGRAMS FURNISHED ARE PROVIDED ON AN "AS IS" BASIS, WITHOUT ANY WARRANTIES OR REPRESENTATIONS EXPRESS, IMPLIED OR STATUTORY; INCLUDING, WITHOUT LIMITATION, WARRANTIES OF QUALITY, PERFORMANCE, NONINFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. NOR ARE THERE ANY WARRANTIES CREATED BY A COURSE OF DEALING, COURSE OF PERFORMANCE OR TRADE USAGE. LICENSOR DOES NOT WARRANT THAT THE PRODUCTS WILL MEET LICENSEE'S NEEDS OR BE FREE FROM ERRORS, OR THAT THE OPERATION OF THE PRODUCTS WILL BE UNINTERRUPTED.

Page 3: Sample Test Plan - Veryx · PDF fileSample Test Plan Veryx ATTESTTM Conformance Test Suite Internet Group Management Protocol version 3 (IGMPv3) ... 3.2 tc_conf_igmp_dfd_003 Test Case

Page iii

Table of Contents

1. Introduction ............................................................................................................................................ 1 2. Scope of IGMPv3 Test Case Groups ...................................................................................................... 3

2.1 IGMPv3 Test Case Setup Conventions........................................................................................ 4 3. Sample Test Cases .................................................................................................................................. 5

3.1 tc_conf_igmp_dfd_001................................................................................................................ 5 3.2 tc_conf_igmp_dfd_003................................................................................................................ 7 3.3 tc_conf_igmp_iog_012 ................................................................................................................ 9 3.4 tc_conf_igmp_iog_014 .............................................................................................................. 12 3.5 tc_conf_igmp_mrg_002............................................................................................................. 14 3.6 tc_conf_igmp_mrg_010............................................................................................................. 17 3.7 tc_conf_igmp_pkt_002 .............................................................................................................. 20 3.8 tc_conf_igmp_pkt_003 .............................................................................................................. 23 3.9 tc_conf_igmp_qhg_001 ............................................................................................................. 25 3.10 tc_conf_igmp_qhg_002 ............................................................................................................. 27

Page 4: Sample Test Plan - Veryx · PDF fileSample Test Plan Veryx ATTESTTM Conformance Test Suite Internet Group Management Protocol version 3 (IGMPv3) ... 3.2 tc_conf_igmp_dfd_003 Test Case

Page iv

This page is intentionally left blank.

Page 5: Sample Test Plan - Veryx · PDF fileSample Test Plan Veryx ATTESTTM Conformance Test Suite Internet Group Management Protocol version 3 (IGMPv3) ... 3.2 tc_conf_igmp_dfd_003 Test Case

ATTEST IGMPv3 Conformance Sample Test Plan

Copyright © 2004-2010 Veryx Technologies Page 1

1. Introduction The Veryx ATTESTTM Internet Group Management Protocol version 3 (IGMPv3) Conformance test cases included in this product contains the following test groups:

1. Data Forwarding Group (DFG)

2. Packet Handling Group (PHG)

3. Interoperability Group (IOG)

4. Multicast Router Group (MRG)

5. Packet Format Group (PKT)

6. Query Handling Group (QHG)

Each Test Case has an ID such as given in the example below:

Figure 1BIC 1. Sample Test Case ID

Test Case (TC) numbers within a group may not always be strictly sequential; also, certain numbers are reserved for future use.

tc_conf_igmp_mrg_002.tcl

Item type: test case

Suite type: conformance

Protocol type: IGMPv3 Group type: Multicast Router Group

TC Number

File type: tcl script File extention delimiter

Page 6: Sample Test Plan - Veryx · PDF fileSample Test Plan Veryx ATTESTTM Conformance Test Suite Internet Group Management Protocol version 3 (IGMPv3) ... 3.2 tc_conf_igmp_dfd_003 Test Case

Page 2

This page is intentionally left blank.

Page 7: Sample Test Plan - Veryx · PDF fileSample Test Plan Veryx ATTESTTM Conformance Test Suite Internet Group Management Protocol version 3 (IGMPv3) ... 3.2 tc_conf_igmp_dfd_003 Test Case

ATTEST IGMPv3 Conformance Sample Test Plan

Copyright © 2004-2010 Veryx Technologies Page 3

2. Scope of IGMPv3 Test Case Groups • Data Forwarding Group (DFD) - The Conformance test cases in the IGMPv3 DFD group are

used to verify the forwarding process based on IGMP information in an IGMP enabled Router.

• Packet Handling Group (PHG) - The Conformance test cases in the IGMPv3 PHG group are used to verify the processing of the received IGMPv3 message at the DUT

• Interoperability Group (IOG) - The Conformance test cases in the IGMPv3 IOG Group are used to verify the behavior of a IGPMv3 router in a network support IGMPv2 and IGMPv2 systems.

• Multicast Router Group (MRG) - The Conformance test cases in the IGMPv3 MRG group are used to verify the handling of IGPMv3 reports in an IGMPv3 router and the associated state machine implementations.

• Packet Format Group (PKT) - The Conformance test cases in the IGMPv3 PKT group are used to verify whether IGMP messages generated by an IGMP system are as per the required frame formats.

• Query Handling Group (QHG) - The Conformance test cases in the IGMPv3 QHG group are used to verify the implementation of Query election algorithm in an IGMPv3 enabled Router.

Page 8: Sample Test Plan - Veryx · PDF fileSample Test Plan Veryx ATTESTTM Conformance Test Suite Internet Group Management Protocol version 3 (IGMPv3) ... 3.2 tc_conf_igmp_dfd_003 Test Case

ATTEST IGMPv3 Conformance Sample Test Plan

Copyright © 2004-2010 Veryx Technologies Page 4

2.1 IGMPv3 Test Case Setup Conventions The following test Procedure, Test Setup and Ladder Diagram conventions are used in the IGMPv3 Test Cases defined in this document.

Abbreviation Expansion

B1 Bridge B1 B2 Bridge B2

Page 9: Sample Test Plan - Veryx · PDF fileSample Test Plan Veryx ATTESTTM Conformance Test Suite Internet Group Management Protocol version 3 (IGMPv3) ... 3.2 tc_conf_igmp_dfd_003 Test Case

ATTEST IGMPv3 Conformance Sample Test Plan

Copyright © 2004-2010 Veryx Technologies Page 5

3. Sample Test Cases

3.1 tc_conf_igmp_dfd_001 Test Case : tc_conf_igmp_dfd_001 Test Case Version : 1.4 Component Name : NET-O2 ATTEST CONFORMANCE TEST SUITE Module Name : IGMP/Data Forwarding Group (DFD) Purpose : To verify that the Multicast Router forwards traffic from the source if the Group Filter mode is INCLUDE and the Source Timer is running. Reference : RFC 3376-6.3, Page 29 Conformance Type : SHOULD Test Setup : 3 Test Topology : 8 TEE DUT __________ __________ | _____ | | | | | | | | | | | H1 |--|----------------------------| | | |_____| | (I1) | RT2 | | _____ | | (Router) | | | | | | | | | S1 |--|----------------------------| | | |_____| | (I2) | | |__________| |__________| Ladder Diagram : TEE DUT | | | | | < enable IGMPv3 > (I1)| | | | IGMPv3 Report (IS_IN{S1}) (I1) | |--------->>------------------------------------------| | | | INCLUDE{S1}(I1)| | | | Mcast data(S1,G1) (I2) | |------->>--------------------------------------------| | | | Mcast data(S1,G1) (I1)| |--------------------------------------------<<-------| | | | |

Page 10: Sample Test Plan - Veryx · PDF fileSample Test Plan Veryx ATTESTTM Conformance Test Suite Internet Group Management Protocol version 3 (IGMPv3) ... 3.2 tc_conf_igmp_dfd_003 Test Case

ATTEST IGMPv3 Conformance Sample Test Plan

Copyright © 2004-2010 Veryx Technologies Page 6

Procedure : (Initial Part) Step 1 : Initialization of DUT i. Add Interfaces(I1,I2) at DUT. ii. Enable IGMPV3 on interface(I1). iii. Enable a Multicast Routing Protocol on interfaces(I1,I2). iv. Ensure that the DUT interfaces(I1,I2) are in forwarding state. Step 2 : Initialization of TEE i. Add Interfaces(I1,I2) at TEE. ii. Get Destination MAC Address for Interface(I1). (Part-I) Step 3 : Send an IGMPv3 Membership Report with Current-State Record IS_IN{S1} for Group G1 on the Interface(I1) from TEE. Step 4a: Observe that the router state is set to INCLUDE[S1] for Group G1 in the IGMP Group Table of DUT(I1). NOTE : This step will get executed only when the env variable DUT_CHECK_FLAG is set to 1. Step 4b: (i) Send Multicast Data packets for (S1,G1) on the Interface(I2) from TEE. (ii) Verify that the DUT forwards the Multicast Data packets for (S1,G1) on interface(I1).

Page 11: Sample Test Plan - Veryx · PDF fileSample Test Plan Veryx ATTESTTM Conformance Test Suite Internet Group Management Protocol version 3 (IGMPv3) ... 3.2 tc_conf_igmp_dfd_003 Test Case

ATTEST IGMPv3 Conformance Sample Test Plan

Copyright © 2004-2010 Veryx Technologies Page 7

3.2 tc_conf_igmp_dfd_003 Test Case : tc_conf_igmp_dfd_003 Test Case Version : 1.6 Component Name : NET-O2 ATTEST CONFORMANCE TEST SUITE Module Name : IGMP/Data Forwarding Group (DFD) Purpose : To verify that the Multicast Router forwards traffic from the source if the Group Filter mode is EXCLUDE and the Source Timer is running. Reference : RFC3376-6.3, Page 29 Conformance Type : SHOULD Test Setup : 3 Test Topology : 4 TEE DUT ___________ __________ | _____ | | | | | | | | | | | H1 |-| | | | | |_____| | | | | | _____ |-|----------------------------| | | | | | | (I1) | | | | H2 |-| | | | | |_____| | | RT2 | | _____ | | (Router) | | | | | | | | | S1 |-| | | | | |_____| | | | | | _____ |-|----------------------------| | | | | | | (I2) | | | | S2 |-| | | | | |_____| | | | |___________| |__________| Ladder Diagram : TEE DUT | | | | | < enable IGMPv3 > (I1)| | | | IGMPv3 Report (IS_IN{S1}) H1(I1) | |--------->>------------------------------------------| | | | INCLUDE{S1}(I1)| | | | Mcast data(S1,G1) (I2) | |------->>--------------------------------------------| | | | Mcast data(S1,G1) (I1)| |--------------------------------------------<<-------| | |

Page 12: Sample Test Plan - Veryx · PDF fileSample Test Plan Veryx ATTESTTM Conformance Test Suite Internet Group Management Protocol version 3 (IGMPv3) ... 3.2 tc_conf_igmp_dfd_003 Test Case

ATTEST IGMPv3 Conformance Sample Test Plan

Copyright © 2004-2010 Veryx Technologies Page 8

| IGMPv3 Report (IS_EX{S1,S2}) H2(I1) | |--------->>------------------------------------------| | | | EXCLUDE({S1},{S2})(I1)| | | | Mcast data(S1,G1) (I2) | |------->>--------------------------------------------| | | | Mcast data(S1,G1) (I1)| |--------------------------------------------<<-------| | | | | Procedure : (Initial Part) Step 1 : Initialization of DUT i. Add Interfaces(I1,I2) at DUT. ii. Enable IGMPV3 on interface(I1). iii. Enable a Multicast Routing Protocol on interfaces(I1,I2). iv. Ensure that the DUT interfaces(I1,I2) are in forwarding state. Step 2 : Initialization of TEE i. Add Interfaces(I1,I2) at TEE. ii. Get Destination MAC Address for Interface(I1). (Part-I) Step 3 : Send an IGMPv3 Membership Report with Current-State Record IS_IN{S1} for Group G1 from Host H1 on the Interface(I1) from TEE. Step 4a: Observe that the router state is set to INCLUDE{S1} for Group G1 in the IGMP Group Table of DUT(I1). NOTE : This step will get executed only when the env variable DUT_CHECK_FLAG is set to 1. Step 4b: (i) Send Multicast Data packets for (S1,G1) on the Interface(I2) from TEE. (ii) Observe that that the DUT forwards Multicast Data packets for (S1,G1) on Interface(I1). (Part-II) Step 5 : Send an IGMPv3 Membership Report with Current-State Record IS_EX{S1,S2} for Group G1 from Host H2 on the Interface(I1) from TEE. Step 6a: Observe that the router state is changed to EXCLUDE({S1},{S2}) for Group G1 in the IGMP Group Table of DUT(I1). NOTE : This step will get executed only when the env variable DUT_CHECK_FLAG is set to 1. Step 6b: (i) Send Multicast Data packets for (S1,G1) on the Interface(I2) from TEE. (ii) Verify that the DUT forwards the Multicast Data packets for (S1,G1) on interface(I1).

Page 13: Sample Test Plan - Veryx · PDF fileSample Test Plan Veryx ATTESTTM Conformance Test Suite Internet Group Management Protocol version 3 (IGMPv3) ... 3.2 tc_conf_igmp_dfd_003 Test Case

ATTEST IGMPv3 Conformance Sample Test Plan

Copyright © 2004-2010 Veryx Technologies Page 9

3.3 tc_conf_igmp_iog_012 Test Case : tc_conf_igmp_iog_012 Test Case Version : 1.4 Component Name : NET-O2 ATTEST CONFORMANCE TEST SUITE Module Name : IGMP/Interoperability Group (IOG) Purpose : To verify that the Multicast Router interprets the v2 Leave Message as TO_IN{} for a Group when the Group compatibility mode is set to IGMPv2. Reference : RFC3376-7.3.2, Page 39 Conformance Type : MUST Test Setup : 3 Test Topology : 8 TEE DUT __________ __________ | _____ | | | | | | | | | | | H1 |--|----------------------------| | | |_____| | (I1) | RT2 | | _____ | | (Router) | | | | | | | | | S1 |--|----------------------------| | | |_____| | (I2) | | |__________| |__________| Ladder Diagram : TEE DUT | | | < Enable IGMPv3 > | | | | IGMPv3 GENERAL QUERY RT1(I1) | |-------------------------------------------<<--------| | | | IGMPv2 REPORT [for G1] H1(I1) | |-------->>-------------------------------------------| | | | < EXCLUDE[] for G1 (I1) >| | | | Mcast data [G1,S1] S1(I2) | |-------->>-------------------------------------------| | | | Mcast data [G1,S1] RT2(I1) | |-------------------------------------------<<--------| | | | IGMPv2 LEAVE [for G1] H1(I1) | |-------->>-------------------------------------------| | | | IGMPv3 GROUP QUERY [for G1] RT1(I1) | |-------------------------------------------<<--------| | | | < Wait for the expiry of LMQT > | | | | < !EXCLUDE[] for G1 (I1) >|

Page 14: Sample Test Plan - Veryx · PDF fileSample Test Plan Veryx ATTESTTM Conformance Test Suite Internet Group Management Protocol version 3 (IGMPv3) ... 3.2 tc_conf_igmp_dfd_003 Test Case

ATTEST IGMPv3 Conformance Sample Test Plan

Copyright © 2004-2010 Veryx Technologies Page 10

| | | Mcast data [G1,S1] S1(I2) | |-------->>-------------------------------------------| | | | Mcast data [G1,S1] RT2(I1) | | X-------------------<<--------| | | | | LMQT - Last Member Query Interval Procedure : (Initial Part) Step 1 : Initialization of DUT i. Add Interfaces(I1,I2) at DUT. ii. Enable IGMPv3 on interface(I1). iii. Enable a Multicast Routing Protocol on interfaces(I1,I2). iv. Ensure that the DUT interfaces(I1,I2) are in forwarding state. Step 2 : Initialization of TEE i. Add Interfaces(I1,I2) at TEE. ii. Get Destination MAC Address for Interface(I1). (Part-I) Step 3 : Observe that the DUT sends an IGMPv3 General Query message on Interface(I1). Step 4 : Send an IGMPv2 Membership Report message for Group G1 on Interface (I1)from TEE. Step 5a: Observe that the router state is set to EXCLUDE{} for Group G1 in the IGMP Group Table of DUT(I1). NOTE : This step will get executed only when the env variable DUT_CHECK_FLAG is set to 1. Step 5b: (i) Send Multicast Data packets for (S1,G1) on the Interface(I2) from TEE. (ii) Observe that the DUT forwards Multicast Data Packets for (S1,G1) on interface(I1). (Part-II) Step 6 : Send an IGMPv2 Leave Group Message for Group G1 on Interface(I1) from TEE. Step 7 : Observe that the DUT sends an IGMPv3 Group Specific Query message for Group G1 on interface(I1). Step 8 : Wait for the expiry of Last Member Query Timeout. Step 9a: Verify that the entry with router state is set to EXCLUDE{} for Group G1 is not present in the IGMP Group Table of DUT(I1). NOTE : This step will get executed only when the env variable DUT_CHECK_FLAG is set to 1. Step 9b: (i) Send Multicast Data packets for (S1,G1) on the Interface(I2) from TEE.

Page 15: Sample Test Plan - Veryx · PDF fileSample Test Plan Veryx ATTESTTM Conformance Test Suite Internet Group Management Protocol version 3 (IGMPv3) ... 3.2 tc_conf_igmp_dfd_003 Test Case

ATTEST IGMPv3 Conformance Sample Test Plan

Copyright © 2004-2010 Veryx Technologies Page 11

(ii) Verify that the DUT does not forward Multicast Data Packets for (S1,G1) on interface(I1).

Page 16: Sample Test Plan - Veryx · PDF fileSample Test Plan Veryx ATTESTTM Conformance Test Suite Internet Group Management Protocol version 3 (IGMPv3) ... 3.2 tc_conf_igmp_dfd_003 Test Case

ATTEST IGMPv3 Conformance Sample Test Plan

Copyright © 2004-2010 Veryx Technologies Page 12

3.4 tc_conf_igmp_iog_014 Test Case : tc_conf_igmp_iog_014 Test Case Version : 1.5 Component Name : NET-O2 ATTEST CONFORMANCE TEST SUITE Module Name : IGMP/Interoperability Group (IOG) Purpose : To verify that the Multicast Router ignores the source list in IGMPv3 TO_EX Messages when the Group Compatibility Mode is set to IGMPv2. Reference : Rfc3376-7.3.2, Page 39 Conformance Type : MUST Test Setup : 3 Test Topology : 8 TEE DUT __________ __________ | _____ | | | | | | | | | | | H1 |--|----------------------------| | | |_____| | (I1) | RT2 | | _____ | | (Router) | | | | | | | | | S1 |--|----------------------------| | | |_____| | (I2) | | |__________| |__________| Ladder Diagram : TEE DUT | | | | | < enable IGMPv3 > (I1)| | | | IGMPv2 Report for G1 (I1) | |--------->>------------------------------------------| | | | EXCLUDE{}(I1)| | | | Mcast data(S1,G1) (I2) | |------->>--------------------------------------------| | | | Mcast data(S1,G1) (I1)| |--------------------------------------------<<-------| | | | IGMPv3 TO_EX{S1} for G1 (I1) | |--------->>------------------------------------------| | | | Group-and-Source Query(G1,S1) (I1)| | X--------------------------<<-------| | | | EXCLUDE{}(I1)| | |

Page 17: Sample Test Plan - Veryx · PDF fileSample Test Plan Veryx ATTESTTM Conformance Test Suite Internet Group Management Protocol version 3 (IGMPv3) ... 3.2 tc_conf_igmp_dfd_003 Test Case

ATTEST IGMPv3 Conformance Sample Test Plan

Copyright © 2004-2010 Veryx Technologies Page 13

| Mcast data(S1,G1) (I2) | |------->>--------------------------------------------| | | | Mcast data(S1,G1) (I1)| |--------------------------------------------<<-------| | | | | G-and-S - Group-and-Source Specific Query Procedure : Step 1 : Initialization of DUT i. Add Interfaces(I1,I2) at DUT. ii. Enable IGMPV3 on interface(I1). iii. Enable a Multicast Routing Protocol on interfaces(I1,I2). iv. Ensure that the DUT interfaces(I1,I2) are in forwarding state. Step 2 : Initialization of TEE i. Add Interfaces(I1,I2) at TEE. ii. Get Destination MAC Address for Interface(I1). (Part-I) Step 3 : Send an IGMPv2 Membership Report message for Group G1 on Interface (I1) from TEE. Step 4a: Observe that the router state is set to EXCLUDE[] for Group G1 in the IGMP Group Table of DUT(I1). NOTE : This step will get executed only when the env variable DUT_CHECK_FLAG is set to 1. Step 4b: (i) Send Multicast Data packets for (S1,G1) on the Interface(I2) from TEE. (ii) Observe that the DUT forwards Multicast Data Packets for (S1,G1) on interface(I1). (Part-II) Step 5 : Send an IGMPv3 Membership Report with State-Change Record TO_EX[S1] for Group G1 on Interface(I1) from TEE. Step 6 : Observe that the DUT does not send an IGMPv3 Group and Source specific Query message for (G1,S1) on Interface(I1). Step 7a: Observe that the router state is set to EXCLUDE[] for Group G1 in the IGMP Group Table of DUT(I1). NOTE : This step will get executed only when the env variable DUT_CHECK_FLAG is set to 1. Step 7b: (i) Send Multicast Data packets for (S1,G1) on the Interface(I2) from TEE. (ii) Verify that the DUT continues to forward Multicast Data Packets for (S1,G1) on interface(I1).

Page 18: Sample Test Plan - Veryx · PDF fileSample Test Plan Veryx ATTESTTM Conformance Test Suite Internet Group Management Protocol version 3 (IGMPv3) ... 3.2 tc_conf_igmp_dfd_003 Test Case

ATTEST IGMPv3 Conformance Sample Test Plan

Copyright © 2004-2010 Veryx Technologies Page 14

3.5 tc_conf_igmp_mrg_002 Test Case : tc_conf_igmp_mrg_002 Test Case Version : 1.6 Component Name : NET-O2 ATTEST CONFORMANCE TEST SUITE Module Name : IGMP/Multicast Router Group (MRG) Purpose : To verify that the Multicast Router does not send Group-and-Source Specific Queries on an interface after receiving a Membership Report with Current-State Record indicating that the IP system is not interested in receiving data from a set of sources. Reference : RFC3376-6.1, Page 26 Conformance Type : MUST Test Setup : 3 Test Topology : 4 TEE DUT ___________ __________ | _____ | | | | | | | | | | | H1 |-| | | | | |_____| | | | | | _____ |-|----------------------------| | | | | | | (I1) | | | | H2 |-| | | | | |_____| | | RT2 | | _____ | | (Router) | | | | | | | | | S1 |-| | | | | |_____| | | | | | _____ |-|----------------------------| | | | | | | (I2) | | | | S2 |-| | | | | |_____| | | | |___________| |__________| Ladder Diagram : TEE DUT | | | < Enable IGMPv3 > | | | | IGMPv3 GENERAL QUERY RT1(I1) | |-------------------------------------------<<--------| | | | IGMPv3 REPORT [IS_IN[S1,S2] for G1] H1(I1) | |-------->>-------------------------------------------| | | | < INCLUDE[S1,S2] for G1 (I1) > | | | | Mcast data [G1,S1] S1(I2) | |-------->>-------------------------------------------| | |

Page 19: Sample Test Plan - Veryx · PDF fileSample Test Plan Veryx ATTESTTM Conformance Test Suite Internet Group Management Protocol version 3 (IGMPv3) ... 3.2 tc_conf_igmp_dfd_003 Test Case

ATTEST IGMPv3 Conformance Sample Test Plan

Copyright © 2004-2010 Veryx Technologies Page 15

| Mcast data [G1,S1] RT2(I1) | |-------------------------------------------<<--------| | | | Mcast data [G1,S2] S2(I2) | |-------->>-------------------------------------------| | | | Mcast data [G1,S2] RT2(I1) | |-------------------------------------------<<--------| | | | IGMPv3 REPORT [IS_EX[S1] for G1] H2(I1) | |-------->>-------------------------------------------| | | | IGMPv3 Group-and-Source QUERY [G1,S1] RT1(I1) | | X-----------------------<<--------| | | | | Procedure : (Initial Part) Step 1 : Initialization of DUT i. Add Interfaces(I1,I2) at DUT. ii. Enable IGMPv3 on interface(I1). iii. Enable a Multicast Routing Protocol on interfaces(I1,I2). iv. Ensure that the DUT interfaces(I1,I2) is in forwarding state. Step 2 : Initialization of TEE i. Add Interfaces(I1,I2) at TEE. ii. Get Destination MAC Address for Interface(I1). (Part-I) Step 3 : Observe that the DUT sends an IGMPv3 General Query message on interface(I1). Step 4 : Send IGMPv3 Membership Report message with Current-State Record IS_IN{S1,S2} for Group G1 from Host H1 on the Interface I1 from TEE. Step 5a: Observe that the router state is set to INCLUDE{S1,S2} for Group G1 in the IGMP Group Table of DUT(I1). NOTE : This step will get executed only when the env variable DUT_CHECK_FLAG is set to 1. Step 5b: (i) Send Multicast Data packets for (S1,G1) on the Interface(I2) from TEE. (ii) Observe that the DUT forwards Multicast Data packets for (S1,G1) on Interface(I1). Step 5c: (i) Send Multicast Data packets for (S2,G1) on the Interface(I2) from TEE. (ii) Observe that the DUT forwards Multicast Data packets for (S2,G1) on Interface(I1). (Part-II) Step 6 : Send IGMPv3 Membership Report message with Current-State Record IS_EX{S1} for Group G1 from Host H2 on the Interface I1 from TEE. Step 7 : verify that the DUT does not sends an Group and Source specific

Page 20: Sample Test Plan - Veryx · PDF fileSample Test Plan Veryx ATTESTTM Conformance Test Suite Internet Group Management Protocol version 3 (IGMPv3) ... 3.2 tc_conf_igmp_dfd_003 Test Case

ATTEST IGMPv3 Conformance Sample Test Plan

Copyright © 2004-2010 Veryx Technologies Page 16

Query message for (G1,S1) on interface(I1).

Page 21: Sample Test Plan - Veryx · PDF fileSample Test Plan Veryx ATTESTTM Conformance Test Suite Internet Group Management Protocol version 3 (IGMPv3) ... 3.2 tc_conf_igmp_dfd_003 Test Case

ATTEST IGMPv3 Conformance Sample Test Plan

Copyright © 2004-2010 Veryx Technologies Page 17

3.6 tc_conf_igmp_mrg_010 Test Case : tc_conf_igmp_mrg_010 Test Case Version : 1.5 Component Name : NET-O2 ATTEST CONFORMANCE TEST SUITE Module Name : IGMP/Multicast Router Group (MRG) Purpose : To verify that the Multicast Router updates its state from INCLUDE(A) to INCLUDE(A+B) on receiving a Membership Report with a State Change record consisting of ALLOW(B). Reference : RFC3376-6.4.2, Page 32 Conformance Type : MUST Test Setup : 3 Test Topology : 6 TEE DUT ___________ __________ | _____ | | | | | | | | | | | H1 |---|----------------------------| | | |_____| | (I1) | | | _____ | | | | | | | | RT2 | | | S1 |-| | | (Router) | | |_____| | | | | | _____ |-|----------------------------| | | | | | | (I2) | | | | S2 |-| | | | | |_____| | | | |___________| |__________| Ladder Diagram : TEE DUT | | | < Enable IGMPv3 > | | | | IGMPv3 GENERAL QUERY RT1(I1) | |-------------------------------------------<<--------| | | | IGMPv3 REPORT [IS_IN[S1] for G1] H1(I1) | |-------->>-------------------------------------------| | | | < INCLUDE[S1] for G1 (I1) > | | | | Mcast data [G1,S1] S1(I2) | |-------->>-------------------------------------------| | | | Mcast data [G1,S1] RT2(I1) | |-------------------------------------------<<--------| | | | IGMPv3 REPORT [ALLOW[S2]] for G1] H1(I1) | |-------->>-------------------------------------------|

Page 22: Sample Test Plan - Veryx · PDF fileSample Test Plan Veryx ATTESTTM Conformance Test Suite Internet Group Management Protocol version 3 (IGMPv3) ... 3.2 tc_conf_igmp_dfd_003 Test Case

ATTEST IGMPv3 Conformance Sample Test Plan

Copyright © 2004-2010 Veryx Technologies Page 18

| | | < INCLUDE[S1,S2] for G1 (I1) > | | | | Mcast data [G1,S1] S1(I2) | |-------->>-------------------------------------------| | | | Mcast data [G1,S1] RT2(I1) | |-------------------------------------------<<--------| | | | Mcast data [G1,S2] S2(I2) | |-------->>-------------------------------------------| | | | Mcast data [G1,S2] RT2(I1) | |-------------------------------------------<<--------| | | | | A -> S1 B -> S2 Procedure : (Initial Part) Step 1 : Initialization of DUT i. Add Interfaces(I1,I2) at DUT. ii. Enable IGMPV3 on interface(I1). iii. Enable a Multicast Routing Protocol on interfaces(I1,I2). iv. Ensure that the DUT interfaces(I1,I2) are in forwarding state. Step 2 : Initialization of TEE i. Add Interfaces(I1,I2) at TEE. ii. Get Destination MAC Address for Interface(I1). (Part I) Step 3 : Observe that the DUT sends an IGMPv3 General Query message on interface(I1) of TEE. Step 4 : Send an IGMPv3 Report message with Current State record IS_IN[S1] for Group G1 for H1 on interface(I1) of TEE. Step 5a: Observe that the router state is set to INCLUDE[S1] for Group G1 in the IGMP Group Table of DUT(I1). NOTE : This step will get executed only when the env variable DUT_CHECK_FLAG is set to 1. Step 5b: (i) Send Multicast Data packets for (G1,S1) on interface(I2) of TEE. (ii) Observe that the DUT forwards the Multicast Data packets for (G1,S1) on interface(I1). Step 6 : Send an IGMPv3 Report message with Current State record ALLOW[S2] for Group G1 for H1 on interface(I1) of TEE. Step 7a: Observe that the DUT has updated its router state to INCLUDE[S1,S2] for Group G1 in the IGMP Group Table of DUT(I1). NOTE : This step will get executed only when the env variable DUT_CHECK_FLAG is set to 1. Step 7b: (i) Send Multicast Data packets for (G1,S1) on interface(I2) of TEE. (ii) Verify that the DUT forwards the Multicast Data packets for (G1,S1) on interface(I1).

Page 23: Sample Test Plan - Veryx · PDF fileSample Test Plan Veryx ATTESTTM Conformance Test Suite Internet Group Management Protocol version 3 (IGMPv3) ... 3.2 tc_conf_igmp_dfd_003 Test Case

ATTEST IGMPv3 Conformance Sample Test Plan

Copyright © 2004-2010 Veryx Technologies Page 19

Step 7c: (i) Send Multicast Data packets for (G1,S2) on interface(I2) of TEE. (ii) Verify that the DUT forwards the Multicast Data packets for (G1,S2) on interface(I1).

Page 24: Sample Test Plan - Veryx · PDF fileSample Test Plan Veryx ATTESTTM Conformance Test Suite Internet Group Management Protocol version 3 (IGMPv3) ... 3.2 tc_conf_igmp_dfd_003 Test Case

ATTEST IGMPv3 Conformance Sample Test Plan

Copyright © 2004-2010 Veryx Technologies Page 20

3.7 tc_conf_igmp_pkt_002 Test Case : tc_conf_igmp_pkt_002 Test Case Version : 1.7 Component Name : NET-O2 ATTEST CONFORMANCE TEST SUITE Module Name : IGMP/Packet Format Group (PKT) Purpose : To verify that the IGMPv3 Membership Group Specific Query Message propagated by the router has the correct format. Reference : Rfc3376-4.1.11, Page 12 Conformance Type : MUST Test Setup : 3 Test Topology : 4 TEE DUT ___________ __________ | _____ | | | | | | | | | | | H1 |-| | | | | |_____| | | | | | _____ |-|----------------------------| | | | | | | (I1) | | | | H2 |-| | | | | |_____| | | RT2 | | _____ | | (Router) | | | | | | | | | S1 |-| | | | | |_____| | | | | | _____ |-|----------------------------| | | | | | | (I2) | | | | S2 |-| | | | | |_____| | | | |___________| |__________| Ladder Diagram : TEE DUT | | | | | < enable IGMPv3 > (I1)| | | | IGMPv3 Report (IS_IN{S1}) H1(I1) | |--------->>------------------------------------------| | | | INCLUDE{S1} for G1 (I1)| | | | Mcast data(S1,G1) (I2) | |------->>--------------------------------------------| | | | Mcast data(S1,G1) (I1)| |------------------------------------------<<---------| | | | IGMPv3 Report (IS_EX{S1,S2}) H2(I1) | |--------->>------------------------------------------|

Page 25: Sample Test Plan - Veryx · PDF fileSample Test Plan Veryx ATTESTTM Conformance Test Suite Internet Group Management Protocol version 3 (IGMPv3) ... 3.2 tc_conf_igmp_dfd_003 Test Case

ATTEST IGMPv3 Conformance Sample Test Plan

Copyright © 2004-2010 Veryx Technologies Page 21

| | | EXCLUDE({S1},{S2}) for G1 (I1)| | | | Mcast data(S1,G1) (I2) | |------->>--------------------------------------------| | | | Mcast data(S1,G1) (I1)| |--------------------------------------------<<-------| | | | Mcast data(S2,G1) (I2) | |------->>--------------------------------------------| | | | Mcast data(S2,G1) (I1)| | X-------------------------<<-------| | | | IGMPv3 Report (TO_IN{}) H1(I1) | |--------->>------------------------------------------| | | | IGMPv3 Group Query(G1) (I1)| |--------------------------------------------<<-------| | | | | Procedure : (Initial Part) Step 1 : Initialization of DUT i. Add Interface(I1,I2) at DUT. ii. Enable IGMPv3 on interface(I1). iii. Enable a Multicast Routing Protocol on interfaces(I1,I2). iv. Ensure that the DUT interface(I1,I2) is in forwarding state. Step 2 : Initialization of TEE i. Add Interface(I1,I2) at TEE. ii. Get Destination MAC Address for Interface(I1). (Part-I) Step 3 : Send an IGMPv3 Membership Report with Current-State Record IS_IN{S1} for Group G1 from Host H1 on the Interface(I1) from TEE. Step 4a: Observe that the router state is set to INCLUDE[S1] for Group G1 in the IGMP Group Table of DUT(I1). NOTE : This step will get executed only when the env variable DUT_CHECK_FLAG is set to 1. Step 4b: (i) Send Multicast Data packets for (S1,G1) on the Interface(I2) from TEE. (ii) Observe that the DUT forwards the Multicast Data packets for (S1,G1) on interface(I1). Step 5 : Send an IGMPv3 Membership Report with Current-State Record IS_EX{S1,S2} for Group G1 from Host H2 on the Interface(I1) from TEE Step 6a: Observe that the router state is changed to EXCLUDE({S1},{S2}) for Group G1 in the IGMP Group Table of DUT(I1). NOTE : This step will get executed only when the env variable DUT_CHECK_FLAG is set to 1. Step 6b: (i) Send Multicast Data packets for (S1,G1) on the Interface(I2) from TEE.

Page 26: Sample Test Plan - Veryx · PDF fileSample Test Plan Veryx ATTESTTM Conformance Test Suite Internet Group Management Protocol version 3 (IGMPv3) ... 3.2 tc_conf_igmp_dfd_003 Test Case

ATTEST IGMPv3 Conformance Sample Test Plan

Copyright © 2004-2010 Veryx Technologies Page 22

(ii) Observe that the DUT forwards the Multicast Data packets for (S1,G1) on interface(I1). Step 6c: (i) Send Multicast Data packets for (S2,G1) on the Interface(I2) from TEE. (ii) Observe that the DUT does not forward the Multicast Data packets for (S2,G1) on interface(I1). (Part-II) Step 7 : Send an IGMPv3 Membership Report with State-Change Record TO_IN{} from Host H1 for Group G1 on the Interface(I1) from TEE. Step 8 : Verify that the DUT sends an IGMPv3 Group Specific Query message with the correct format on interface(I1) with the following field values : a) All Systems Destination IP Address b) TTL value = 1 c) Router Alert option d) Type = 11 e) f) Checksum Valid g) Maximum response delay != 0 h) Reserved bytes = 0 i) Multicast Address field set as a Valid Multicast Address j) S bit k) QRV = 2 (Default) l) QQIC = 125 (Default) m) Number of sources = 0 n) Total length of IGMP information = 12 Octets.

Page 27: Sample Test Plan - Veryx · PDF fileSample Test Plan Veryx ATTESTTM Conformance Test Suite Internet Group Management Protocol version 3 (IGMPv3) ... 3.2 tc_conf_igmp_dfd_003 Test Case

ATTEST IGMPv3 Conformance Sample Test Plan

Copyright © 2004-2010 Veryx Technologies Page 23

3.8 tc_conf_igmp_pkt_003 Test Case : tc_conf_igmp_pkt_003 Test Case Version : 1.6 Component Name : NET-O2 ATTEST CONFORMANCE TEST SUITE Module Name : IGMP/Packet Format Group (PKT) Purpose : To verify that the IGMPv3 Membership Group-and-Source Specific Query Message propagated by the router has the correct format. Reference : RFC3376-4.1.11, Page 12 Conformance Type : MUST Test Setup : 3 Test Topology : 4 TEE DUT ___________ __________ | _____ | | | | | | | | | | | H1 |---|----------------------------| | | |_____| | (I1) | | | _____ | | RT2 | | | | | | (Router) | | | S1 |-| | | | | |_____| | | | | | _____ |-|----------------------------| | | | | | | (I2) | | | | S2 |-| | | | | |_____| | | | |___________| |__________| Ladder Diagram : TEE DUT | | | | | < enable IGMPv3 > (I1)| | | | IGMPv3 Report [IS_IN{S1,S2}] (I1) | |--------->>------------------------------------------| | | | INCLUDE{S1,S2} (I1)| | Mcast data(S1,G1) (I2) | |------->>--------------------------------------------| | | | Mcast data(S1,G1) (I1)| |--------------------------------------------<<-------| | | | Mcast data(S2,G1) (I2) | |------->>--------------------------------------------| | | | Mcast data(S2,G1) (I1)| |--------------------------------------------<<-------| | |

Page 28: Sample Test Plan - Veryx · PDF fileSample Test Plan Veryx ATTESTTM Conformance Test Suite Internet Group Management Protocol version 3 (IGMPv3) ... 3.2 tc_conf_igmp_dfd_003 Test Case

ATTEST IGMPv3 Conformance Sample Test Plan

Copyright © 2004-2010 Veryx Technologies Page 24

| | | IGMPv3 Report [BLOCK{S1}] for G1 on H1(I1) | |--------->>------------------------------------------| | | | IGMPv3 G-and-S Query(G1,S1) (I1)| |--------------------------------------------<<-------| | | | | G-and-S Query - Group-and-Source Specific Query Procedure : (Initial Part) Step 1 : Initialization of DUT i. Add Interface(I1,I2) at DUT. ii. Enable IGMPv3 on interface(I1). iii. Enable a Multicast Routing Protocol on interfaces(I1,I2). iv. Ensure that the DUT interface(I1,I2) is in forwarding state. Step 2 : Initialization of TEE i. Add Interface(I1,I2) at TEE. ii. Get Destination MAC Address for Interface(I1). (Part-I) Step 3 : Send an IGMPv3 Membership Report with Current-State Record IS_IN{S1,S2} for Group G1 from H1 on the Interface(I1) from TEE. Step 4a: Observe that the router state is set to INCLUDE{S1,S2} for Group G1 in the IGMP Group Table of DUT(I1). NOTE : This step will get executed only when the env variable DUT_CHECK_FLAG is set to 1. Step 4b: (i) Send Multicast Data packets for (S1,G1) on the Interface(I2) from TEE. (ii) Observe that that the DUT forwards Multicast Data packets for (S1,G1) by DUT on(I1). Step 4c: (i) Send Multicast Data packets for (S2,G1) on the Interface(I2) from TEE. (ii) Observe that that the DUT forwards Multicast Data packets for (S2,G1) by DUT on(I1). Step 5 : Send an IGMPv3 Membership Report with State-Change Record BLOCK{S1} for Group G1 on H1 Interface(I1) from TEE. Step 6 : To verify that the DUT sends an IGMPv3 Group and Source Specific Query message with the correct format on interface(I1) with the following field values : a) All Systems Destination IP Address b) TTL value = 1 c) Router Alert option d) Type = 11 e) Checksum Valid f) Maximum response delay != 0 g) Reserved bytes = 0 h)Multicast Address field set as a Valid Multicast Address i) S bit j) QRV = 2 (Default) k) QQIC = 125 (Default) l) Number of sources = Non Zero m) Valid Unicast Source Address n) Total length of IGMP information = 16 Octets.

Page 29: Sample Test Plan - Veryx · PDF fileSample Test Plan Veryx ATTESTTM Conformance Test Suite Internet Group Management Protocol version 3 (IGMPv3) ... 3.2 tc_conf_igmp_dfd_003 Test Case

ATTEST IGMPv3 Conformance Sample Test Plan

Copyright © 2004-2010 Veryx Technologies Page 25

3.9 tc_conf_igmp_qhg_001 Test Case : tc_conf_igmp_qhg_001 Test Case Version : 1.4 Component Name : NET-O2 ATTEST CONFORMANCE TEST SUITE Module Name : IGMP/Query Handling Group (QHG) Purpose : To verify that the Multicast Router with the Lower IP address is elected as the Querier. Reference : RFC3376-6.6.2, Page 34 Conformance Type : MUST Test Setup : 3 Test Topology : 1 TEE DUT __________ __________ | | | | | | | | | | | | | | | | | RT1 |----------------------------| RT2 | | | (I1) | (Router) | | | | | | | | | |__________| |__________| Ladder Diagram : TEE DUT | | | < Enable IGMPv3 (I1) > | | | | IGMPv3 GENERAL QUERY RT2(I1) | |--------------------------------------------<<-------| | | | IGMPv3 GENERAL QUERY [Higher IP] RT1(I1) | |-------->>-------------------------------------------| | | | IGMPv3 GENERAL QUERY RT2(I1) | |--------------------------------------------<<-------| | | | | Procedure : (Initial Part) Step 1 : Initialization of DUT i. Add Interface(I1) at DUT. ii. Enable IGMPv3 on interface(I1). iii. Enable a Multicast Routing Protocol on interfaces(I1). iv. Ensure that the DUT interface(I1) is in forwarding state.

Page 30: Sample Test Plan - Veryx · PDF fileSample Test Plan Veryx ATTESTTM Conformance Test Suite Internet Group Management Protocol version 3 (IGMPv3) ... 3.2 tc_conf_igmp_dfd_003 Test Case

ATTEST IGMPv3 Conformance Sample Test Plan

Copyright © 2004-2010 Veryx Technologies Page 26

Step 2 : Initialization of TEE i. Add Interface(I1) at TEE. ii. Get Destination MAC Address for Interface(I1). (Part-I) Step 3 : Observe that the DUT sends an IGMPv3 General Query message on the Interface(I1). Step 4 : Send an IGMPv3 General Query message with Source IP Address Higher than the DUT IP Address on Interface(I1) from TEE. Step 5 : Verify that the DUT continues to send IGMPv3 General Query message on Interface(I1).

Page 31: Sample Test Plan - Veryx · PDF fileSample Test Plan Veryx ATTESTTM Conformance Test Suite Internet Group Management Protocol version 3 (IGMPv3) ... 3.2 tc_conf_igmp_dfd_003 Test Case

ATTEST IGMPv3 Conformance Sample Test Plan

Copyright © 2004-2010 Veryx Technologies Page 27

3.10 tc_conf_igmp_qhg_002 Test Case : tc_conf_igmp_qhg_002 Test Case Version : 1.6 Component Name : NET-O2 ATTEST CONFORMANCE TEST SUITE Module Name : IGMP/Query Handling Group (QHG) Purpose : To verify that the Multicast Router stops sending Queries on the network on receiving Query with the Lower IP address from other router. Reference : RFC3376-6.6.2, Page 34 Conformance Type : MUST Test Setup : 3 Test Topology : 1 TEE DUT __________ __________ | | | | | | | | | | | | | | | | | RT1 |----------------------------| RT2 | | | (I1) | (Router) | | | | | | | | | |__________| |__________| Ladder Diagram : TEE DUT | | | < Enable IGMPv3 (I1) > | | | | IGMPv3 GENERAL QUERY RT2(I1) | |--------------------------------------------<<-------| | | | IGMPv3 GENERAL QUERY [Lower IP] RT1(I1) | |-------->>-------------------------------------------| | | | IGMPv3 GENERAL QUERY RT2(I1) | | X---------------------<<-------| | | | |

Page 32: Sample Test Plan - Veryx · PDF fileSample Test Plan Veryx ATTESTTM Conformance Test Suite Internet Group Management Protocol version 3 (IGMPv3) ... 3.2 tc_conf_igmp_dfd_003 Test Case

ATTEST IGMPv3 Conformance Sample Test Plan

Copyright © 2004-2010 Veryx Technologies Page 28

Procedure : (Initial Part) Step 1 : Initialization of DUT i. Add Interface(I1) at DUT. ii. Enable IGMPv3 on interface(I1). iii. Enable a Multicast Routing Protocol on interfaces(I1). iv. Ensure that the DUT interface(I1) is in forwarding state. Step 2 : Initialization of TEE i. Add Interface(I1) at TEE. ii. Get Destination MAC Address for Interface(I1). (Part-I) Step 3 : Observe that the DUT sends an IGMPv3 General Query message on the TEE Interface(I1). Step 4 : Send an IGMPv3 General Query Mesage with Source IP Address Lower than the DUT IP address on Interface(I1) from TEE. Step 5 : Verify that the DUT does not send an IGMPv3 General Query message on Interface(I1).