Uploaded image for project: 'csit'
  1. csit
  2. CSIT-34

L2 DP - L2 x-connect - part II

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Highest Highest
    • csit-160725
    • None

      Test suite contians follwoing tests:

      1. VPP forwards packets via L2 xconnect with VLAN tag acrobatics a'la MEF EVC - 1-to-1, dot1q-to-dot1q

      TC01: DUT1 and DUT2 with L2XC and VLAN translate-1-1 (DUT1) switch ICMPv6 between two TG links
      [Top] TG-DUT1-DUT2-TG. [Enc] Eth-dot1q-IPv6-ICMPv6 on TG-DUT1 andDUT1-DUT2, Eth-IPv6-ICMPv6 on TG-DUT2.
      [Cfg] On DUT1 configure L2cross-connect (L2XC) with one interface to DUT2 and one VLAN sub-interface towards TG with VLAN tag rewrite translate-1-1 method; on DUT2 configure L2 cross-connect (L2XC) with one interface to TG and one VLAN sub-interface towards DUT1 with VLAN tag rewrite pop-1 method.
      [Ver] Make TG send ICMPv6 Echo Req tagegd with one Dot1q tag from one of its interfaces to another one via DUT1 and DUT2; verify that packet is received.
      [Ref] IEEE 802.1q

      TC02: DUT1 and DUT2 with L2XC and VLAN translate-1-1 with wrong tag used (DUT1) switch ICMPv6 between two TG links
      [Top] TG-DUT1-DUT2-TG. [Enc] Eth-dot1q-IPv6-ICMPv6 on TG-DUT1 and DUT1-DUT2, Eth-IPv6-ICMPv6 on TG-DUT2.
      [Cfg] On DUT1 configure L2 cross-connect (L2XC) with one interface to DUT2 and one VLAN sub-interface towards TG with VLAN tag rewrite translate-1-1 method to set tag different from tag set on VLAN sub-interface of DUT2; on DUT2 configure L2 cross-connect (L2XC) with one interface to TG and one VLAN sub-interface towards DUT1 with VLAN tag rewrite pop-1 method.
      [Ver] Make TG send ICMPv6 Echo Req tagegd with one Dot1q tag from one of its interfaces to another one via DUT1 and DUT2; verify that packet is not received.
      [Ref] IEEE 802.1q

      2. VPP forwards packets via L2 xconnect with VLAN tag acrobatics a'la MEF EVC - 1-to-2, dot1q-to-dot1ad

      TC03: DUT1 and DUT2 with L2XC and VLAN translate-1-2 (DUT1) switch ICMPv6 between two TG links
      [Top] TG-DUT1-DUT2-TG.
      [Enc] Eth-dot1q-IPv6-ICMPv6 on TG-DUT1, Eth-dot1ad-IPv6-ICMPv6 on DUT1-DUT2, Eth-IPv6-ICMPv6 on TG-DUT2.
      [Cfg] On DUT1 configure L2 cross-connect (L2XC) with one interface to DUT2 and one VLAN sub-interface towards TG with VLAN tag rewrite translate-1-2 method; on DUT2 configure L2 cross-connect (L2XC) with one interface to TG and one Dot1ad sub-interface towards DUT1 with VLAN tag rewrite pop-2 method. [Ver] Make TG send ICMPv6 Echo Req tagegd with one Dot1q tag from one of its interfaces to another one via DUT1 and DUT2; verify that packet is received.
      [Ref] IEEE 802.1q, IEEE 802.1ad

      TC04: DUT1 and DUT2 with L2XC and VLAN translate-1-2 with wrong inner tag used (DUT1) switch ICMPv6 between two TG links
      [Top] TG-DUT1-DUT2-TG.
      [Enc] Eth-dot1q-IPv6-ICMPv6 on TG-DUT1, Eth-dot1ad-IPv6-ICMPv6 on DUT1-DUT2, Eth-IPv6-ICMPv6 on TG-DUT2.
      [Cfg] On DUT1 configure L2 cross-connect (L2XC) with one interface to DUT2 and one VLAN sub-interface towards TG with VLAN tag rewrite translate-1-2 method to set inner tag different from inner tag set on Dot1ad sub-interface of DUT2; on DUT2 configure L2 cross-connect with one interface to TG and one Dot1ad sub-interface towards DUT1 with VLAN tag rewrite pop-2 method. [Ver] Make TG send ICMPv6 Echo Req tagegd with one Dot1q tag from one of its interfaces to another one via DUT1 and DUT2; verify that packet is not received.
      [Ref] IEEE 802.1q, IEEE 802.1ad

      TC05: DUT1 and DUT2 with L2XC and VLAN translate-1-2 with wrong outer tag used (DUT1) switch ICMPv6 between two TG links
      [Top] TG-DUT1-DUT2-TG.
      [Enc] Eth-dot1q-IPv6-ICMPv6 on TG-DUT1, Eth-dot1ad-IPv6-ICMPv6 on DUT1-DUT2, Eth-IPv6-ICMPv6 on TG-DUT2.
      [Cfg] On DUT1 configure L2 cross-connect (L2XC) with one interface to DUT2 and one VLAN sub-interface towards TG with VLAN tag rewrite translate-1-2 method to set outer tag different from outer tag set on Dot1ad sub-interface of DUT2; on DUT2 configure L2 cross-connect with one interface to TG and one Dot1ad sub-interface towards DUT1 with VLAN tag rewrite pop-2 method. [Ver] Make TG send ICMPv6 Echo Req tagegd with one Dot1q tag from one of its interfaces to another one via DUT1 and DUT2; verify that packet is not received.
      [Ref] IEEE 802.1q, IEEE 802.1ad

      TC06: DUT1 and DUT2 with L2XC and VLAN translate-1-2 with wrong outer and inner tag used (DUT1) switch ICMPv6 between two TG links
      [Top] TG-DUT1-DUT2-TG. [Enc] Eth-dot1q-IPv6-ICMPv6 on TG-DUT1, Eth-dot1ad-IPv6-ICMPv6 on DUT1-DUT2, Eth-IPv6-ICMPv6 on TG-DUT2.
      [Cfg] On DUT1 configure L2 cross-connect (L2XC) with one interface to DUT2 and one VLAN sub-interface towards TG with VLAN tag rewrite translate-1-2 method to set outer and inner tags different from tags set on Dot1ad sub-interface of DUT2; on DUT2 configure L2 cross-connect with one interface to TG and one Dot1ad sub-interface towards DUT1 with VLAN tag rewrite pop-2 method.
      [Ver] Make TG send ICMPv6 Echo Req tagegd with one Dot1q tag from one of its interfaces to another one via DUT1 and DUT2; verify that packet is not received.
      [Ref] IEEE 802.1q, IEEE 802.1ad

      3. VPP forwards packets via L2 xconnect with VLAN tag acrobatics a'la MEF EVC - 2-to-1, dot1ad-to-dot1q

      TC07: DUT1 and DUT2 with L2XC and VLAN translate-2-1 (DUT1) switch ICMPv6 between two TG links
      [Top] TG-DUT1-DUT2-TG. [Enc] Eth-dot1ad-IPv6-ICMPv6 on TG-DUT1, Eth-dot1q-IPv6-ICMPv6 on DUT1-DUT2, Eth-IPv6-ICMPv6 on TG-DUT2.
      [Cfg] On DUT1 configure L2 cross-connect (L2XC) with one interface to DUT2 and one Dot1ad sub-interface towards TG with VLAN tag rewrite translate-2-1 method; on DUT2 configure L2 cross-connect (L2XC) with one interface to TG and one VLAN sub-interface towards DUT1 with VLAN tag rewrite pop-1 method.
      [Ver] Make TG send ICMPv6 Echo Req tagegd with Dot1ad tags from one of its interfaces to another one via DUT1 and DUT2; verify that packet is received.
      [Ref] IEEE 802.1q, IEEE 802.1ad

      TC08: DUT1 and DUT2 with L2XC and VLAN translate-2-1 with wrong tag used (DUT1) switch ICMPv6 between two TG links
      [Top] TG-DUT1-DUT2-TG.
      [Enc] Eth-dot1ad-IPv6-ICMPv6 on TG-DUT1, Eth-dot1q-IPv6-ICMPv6 on DUT1-DUT2, Eth-IPv6-ICMPv6 on TG-DUT2.
      [Cfg] On DUT1 configure L2 cross-connect (L2XC) with one interface to DUT2 and one Dot1ad sub-interface towards TG with VLAN tag rewrite translate-2-1 method to set tag different from tag set on VLAN sub-interface of DUT2; on DUT2 configure L2 cross-connect (L2XC) with one interface to TG and one VLAN sub-interface towards DUT1 with VLAN tag rewrite pop-1 method.
      [Ver] Make TG send ICMPv6 Echo Req tagegd with Dot1ad tags from one of its interfaces to another one via DUT1 and DUT2; verify that packet is not received.
      [Ref] IEEE 802.1q, IEEE 802.1ad

      4. VPP forwards packets via L2 xconnect with VLAN tag acrobatics a'la MEF EVC - 2-to-2, dot1ad-to-dot1ad7

      TC09: DUT1 and DUT2 with L2XC and VLAN translate-2-2 switch ICMPv6 between two TG links
      [Top] TG-DUT1-DUT2-TG.
      [Enc] Eth-dot1ad-IPv6-ICMPv6 on TG-DUT1 and on DUT1-DUT2, Eth-IPv6-ICMPv6 on TG-DUT2. [Cfg] On DUT1 configure L2 cross-connect (L2XC) with one interface to DUT2 and one Dot1ad sub-interface towards TG with VLAN tag rewrite translate-2-2 method; on DUT2 configure L2 cross-connect (L2XC) with one interface to TG and one Dot1ad sub-interface towards DUT1 with VLAN tag rewrite pop-1 tagegd with Dot1ad tags from one of its interfaces to another one method.
      [Ver] Make TG send ICMPv6 Echo Req via DUT1 and DUT2; verify that packet is received.
      [Ref] IEEE 802.1ad

      TC10: DUT1 and DUT2 with L2XC and VLAN translate-2-2 with wrong inner tag used (DUT1) switch ICMPv6 between two TG links
      [Top] TG-DUT1-DUT2-TG.
      [Enc] Eth-dot1ad-IPv6-ICMPv6 on TG-DUT1 and on DUT1-DUT2, Eth-IPv6-ICMPv6 on TG-DUT2. [Cfg] On DUT1 configure L2 cross-connect (L2XC) with one interface to DUT2 and one Dot1ad sub-interface towards TG with VLAN tag rewrite translate-2-2 method to set inner tag different from inner tag set on Dot1ad sub-interface of DUT2; on DUT2 configure L2 cross-connect (L2XC) with one interface to TG and one Dot1ad sub-interface towards DUT1 with VLAN tag rewrite pop-1 tagegd with Dot1ad tags from one of its interfaces to another one method.
      [Ver] Make TG send ICMPv6 Echo Req via DUT1 and DUT2; verify that packet is not received.
      [Ref] IEEE 802.1ad

      TC11: DUT1 and DUT2 with L2XC and VLAN translate-2-2 with wrong outer tag used (DUT1) switch ICMPv6 between two TG links
      [Top] TG-DUT1-DUT2-TG.
      [Enc] Eth-dot1ad-IPv6-ICMPv6 on TG-DUT1 and on DUT1-DUT2, Eth-IPv6-ICMPv6 on TG-DUT2.
      [Cfg] On DUT1 configure L2 cross-connect (L2XC) with one interface to DUT2 and one Dot1ad sub-interface towards TG with VLAN tag rewrite translate-2-2 method to set outer tag different from outer tag set on Dot1ad sub-interface of DUT2; on DUT2 configure L2 cross-connect (L2XC) with one interface to TG and one Dot1ad sub-interface towards DUT1 with VLAN tag rewrite pop-1 tagegd with Dot1ad tags from one of its interfaces to another one method.
      [Ver] Make TG send ICMPv6 Echo Req via DUT1 and DUT2; verify that packet is not received.
      [Ref] IEEE 802.1ad

      TC12: DUT1 and DUT2 with L2XC and VLAN translate-2-2 with wrong outer and inner tags used (DUT1) switch ICMPv6 between two TG links
      [Top] TG-DUT1-DUT2-TG.
      [Enc] Eth-dot1ad-IPv6-ICMPv6 on TG-DUT1 and on DUT1-DUT2, Eth-IPv6-ICMPv6 on TG-DUT2.
      [Cfg] On DUT1 configure L2 cross-connect (L2XC) with one interface to DUT2 and one Dot1ad sub-interface towards TG with VLAN tag rewrite translate-2-2 method to set tags different from tags set on Dot1ad sub-interface of DUT2; on DUT2 configure L2 cross-connect (L2XC) with one interface to TG and one Dot1ad sub-interface towards DUT1 with VLAN tag rewrite pop-1 tagegd with Dot1ad tags from one of its interfaces to another one method.
      [Ver] Make TG send ICMPv6 Echo Req via DUT1 and DUT2; verify that packet is not received.
      [Ref] IEEE 802.1ad

            jgelety Jan Gelety
            jgelety Jan Gelety
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 2 days Original Estimate - 2 days
                2d
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 3 days, 5 hours
                3d 5h