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

Tap interfaces

XMLWordPrintable

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

      Tap Interface Traffic Tests
      (Top) Network Topologies: TG=DUT1 2-node topology with two links between nodes.
      (Enc) Packet Encapsulations: Eth-IPv4-ICMPv4 for L2 switching of IPv4.
      (Cfg) DUT configuration: DUT1 and DUT2 are configured with L2 bridge-domain (L2BD) and Docker containers; MAC learning enabled and Split Horizon Groups (SHG) are set
      depending on test case; Docker Containers with namespaces (NM) are set on DUT1.
      (Ver) TG verification: Test ICMPv4 Echo Request packets are sent by TG on link to DUT1; On receipt TG verifies packets for correctness and their IPv4 src-addr, dst-addr and MAC addresses.
      (Ref) Applicable standard specifications:

      TC01: Tap Interface Simple BD
      (Top) TG-DUT1-TG. (Enc) Eth-IPv4-ICMPv4.
      (Cfg) On DUT1 configure two L2BD with two if's for each L2BD with MAC learning and one L2BD on docker container joining two linux-TAP interfaces created by VPP.
      (Ver) Packet sent from TG is passed through all L2BD and received back on TG. Then src_ip, dst_ip and MAC are checked.
      (Ref)

      TC02: Tap Interface IP Ping
      (Top) TG-DUT1-TG. (Enc) Eth-IPv4-ICMPv4.
      (Cfg) On DUT1 configure two if's with IPv4 address ( dut_to_tg_if and TAP ) and one in docker container.
      (Ver) Packet sent from TG gets to the destination and ICMP-reply is received on TG.
      (Ref)

      TC03: Tap Interface BD - Different Split Horizon
      (Top) TG-DUT1-TG. (Enc) Eth-IPv4-ICMPv4.
      (Cfg) On DUT1 configure one if into L2BD with MAC learning. Add two TAP interfaces into this L2BD and assign them different SHG. Setup two docker containers and assign two linux-TAP interfaces to it respectively.
      (Ver) Packet is sent from TG to both linux-TAP interfaces and reply is checked. Ping from First linux-TAP to another should pass.
      (Ref)

      TC04: Tap Interface BD - Same Split Horizon
      (Top) TG-DUT1-TG. (Enc) Eth-IPv4-ICMPv4.
      (Cfg) On DUT1 configure one if into L2BD with MAC learning. Add two TAP interfaces into this L2BD and assign them same SHG. Setup two docker containers and assign two linux-TAP interfaces to it respectively.
      (Ver) Packet is sent from TG to both linux-TAP interfaces and reply is checked. Ping from First linux-TAP to another should fail.
      (Ref)

      TC05: Tap Interface Modify And Delete
      (Top) TG-DUT1-TG. (Enc) Eth-IPv4-ICMPv4.
      (Cfg) Set two TAP interfaces.
      (Ver) Verify that TAP interface can be modified, deleted and no other TAP interface is affected.
      (Ref)

            zolsovsk Zdenko Olsovsky
            zolsovsk Zdenko Olsovsky
            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:
                Time Spent - 1 week, 1 day Remaining Estimate - 1 week
                1w
                Logged:
                Time Spent - 1 week, 1 day Remaining Estimate - 1 week
                1w 1d