feat(infra): Topology file for 3n-snr 56/36956/2
authorPeter Mikus <pmikus@cisco.com>
Fri, 19 Aug 2022 09:18:30 +0000 (09:18 +0000)
committerPeter Mikus <peter.mikus@protonmail.ch>
Fri, 19 Aug 2022 11:37:03 +0000 (11:37 +0000)
Signed-off-by: Peter Mikus <pmikus@cisco.com>
Change-Id: I276e12e881a4db0a82d5e03107fe153d02a762c4

resources/libraries/python/Constants.py
topologies/available/lf_3n_snr_testbed39.yaml [new file with mode: 0644]

index 566dec7..ace8e55 100644 (file)
@@ -312,6 +312,7 @@ class Constants:
         u"Intel-XL710": 24500000000,
         u"Intel-XXV710": 24500000000,
         u"Intel-E810XXV": 24500000000,
+        u"Intel-E822CQ": 24500000000,
         u"Intel-E810CQ": 100000000000,
         u"Mellanox-CX556A": 100000000000,
         u"Amazon-Nitro-50G": 10000000000,
@@ -326,6 +327,7 @@ class Constants:
         u"Intel-XL710": 18750000,
         u"Intel-XXV710": 18750000,
         u"Intel-E810XXV": 29000000,
+        u"Intel-E822CQ": 29000000,
         u"Intel-E810CQ": 58500000,
         u"Mellanox-CX556A": 148809523,
         u"Amazon-Nitro-50G": 1200000,
@@ -340,6 +342,7 @@ class Constants:
         u"Intel-XL710": u"40ge2p1xl710",
         u"Intel-XXV710": u"25ge2p1xxv710",
         u"Intel-E810XXV": u"25ge2p1e810xxv",
+        u"Intel-E822CQ": u"25ge2p1e822cq",
         u"Intel-E810CQ": u"100ge2p1e810cq",
         u"Amazon-Nitro-50G": u"50ge1p1ena",
         u"Mellanox-CX556A": u"100ge2p1cx556a",
@@ -353,6 +356,7 @@ class Constants:
         u"40ge2p1xl710": u"xl710",
         u"25ge2p1xxv710": u"xxv710",
         u"25ge2p1e810xxv": u"e810xxv",
+        u"25ge2p1e822cq": u"e822cq",
         u"100ge2p1e810cq": u"e810cq",
         u"50ge1p1ena": u"ena",
         u"100ge2p1cx556a": u"cx556a",
@@ -366,6 +370,7 @@ class Constants:
         u"Intel-XL710": [u"vfio-pci", u"avf", u"af_xdp"],
         u"Intel-XXV710": [u"vfio-pci", u"avf", u"af_xdp"],
         u"Intel-E810XXV": [u"vfio-pci", u"avf", u"af_xdp"],
+        u"Intel-E822CQ": [u"vfio-pci", u"avf", u"af_xdp"],
         u"Intel-E810CQ": [u"vfio-pci", u"avf", u"af_xdp"],
         u"Amazon-Nitro-50G": [u"vfio-pci"],
         u"Mellanox-CX556A": [u"rdma-core", u"af_xdp"],
@@ -411,6 +416,7 @@ class Constants:
         u"Intel-XL710": [u"vfio-pci"],
         u"Intel-XXV710": [u"vfio-pci"],
         u"Intel-E810XXV": [u"vfio-pci"],
+        u"Intel-E822CQ": [u"vfio-pci"],
         u"Intel-E810CQ": [u"vfio-pci"],
         u"Amazon-Nitro-50G": [u"vfio-pci"],
         u"Mellanox-CX556A": [u"mlx5_core"],
diff --git a/topologies/available/lf_3n_snr_testbed39.yaml b/topologies/available/lf_3n_snr_testbed39.yaml
new file mode 100644 (file)
index 0000000..5f01f05
--- /dev/null
@@ -0,0 +1,132 @@
+---
+metadata:
+  version: 0.1
+  schema:
+    - resources/topology_schemas/3_node_topology.sch.yaml
+    - resources/topology_schemas/topology.sch.yaml
+  tags: [hw, 3-node]
+
+nodes:
+  TG:
+    type: TG
+    subtype: TREX
+    host: "10.30.51.89"
+    arch: x86_64
+    port: 22
+    username: root
+    password: Csit1234
+    interfaces:
+      port1:
+        # s89-t39t310-tg1-c4/p1 - 25GE port1 Intel E810-XXVDA4 4p25GE.
+        mac_address: "b4:96:91:a5:22:08"
+        pci_address: "0000:ca:00.0"
+        ip4_address: "172.16.10.1"
+        driver: ice
+        link: link1
+        model: Intel-E810XXV
+      port2:
+        # s89-t39t310-tg1-c4/p2 - 25GE port2 Intel E810-XXVDA4 4p25GE.
+        mac_address: "b4:96:91:a5:22:09"
+        pci_address: "0000:ca:00.1"
+        ip4_address: "172.16.20.1"
+        driver: ice
+        link: link2
+        model: Intel-E810XXV
+      port3:
+        # s89-t39t310-tg1-c4/p3 - 25GE port3 Intel E810-XXVDA4 4p25GE.
+        mac_address: "b4:96:91:a5:22:0a"
+        pci_address: "0000:ca:00.2"
+        ip4_address: "172.16.50.1"
+        driver: ice
+        link: link5
+        model: Intel-E810XXV
+      port4:
+        # s89-t39t310-tg1-c4/p4 - 25GE port4 Intel E810-XXVDA4 4p25GE.
+        mac_address: "b4:96:91:a5:22:0b"
+        pci_address: "0000:ca:00.3"
+        ip4_address: "172.16.60.1"
+        driver: ice
+        link: link6
+        model: Intel-E810XXV
+  DUT1:
+    type: DUT
+    host: "10.30.51.93"
+    arch: x86_64
+    port: 22
+    username: testuser
+    password: Csit1234
+    uio_driver: vfio-pci
+    interfaces:
+      port1:
+        # s93-t39-sut1-c1/p1 - 25GE port1 Intel E822-CQDA4 4p25GE.
+        mac_address: "00:00:00:01:01:00"
+        pci_address: "0000:ec:00.0"
+        ip4_address: "172.16.10.2"
+        driver: ice
+        link: link1
+        model: Intel-E822CQ
+      port2:
+        # s93-t39-sut1-c1/p2 - 25GE port2 Intel E822-CQDA4 4p25GE.
+        mac_address: "00:00:00:01:01:01"
+        pci_address: "0000:ec:00.1"
+        ip4_address: "172.16.20.2"
+        driver: ice
+        link: link2
+        model: Intel-E822CQ
+      port3:
+        # s93-t39-sut1-c1/p3 - 25GE port3 Intel E822-CQDA4 4p25GE.
+        mac_address: "00:00:00:01:01:02"
+        pci_address: "0000:ec:00.2"
+        ip4_address: "172.16.30.1"
+        driver: ice
+        link: link3
+        model: Intel-E822CQ
+      port4:
+        # s93-t39-sut1-c1/p4 - 25GE port4 Intel E822-CQDA4 4p25GE.
+        mac_address: "00:00:00:01:01:03"
+        pci_address: "0000:ec:00.3"
+        ip4_address: "172.16.40.1"
+        driver: ice
+        link: link4
+        model: Intel-E822CQ
+  DUT2:
+    type: DUT
+    host: "10.30.51.94"
+    arch: x86_64
+    port: 22
+    username: testuser
+    password: Csit1234
+    uio_driver: vfio-pci
+    interfaces:
+      port1:
+        # s94-t39-sut2-c1/p1 - 25GE port1 Intel E822-CQDA4 4p25GE.
+        mac_address: "00:00:00:02:01:00"
+        pci_address: "0000:ec:00.0"
+        ip4_address: "172.16.30.2"
+        driver: ice
+        link: link3
+        model: Intel-E822CQ
+      port2:
+        # s94-t39-sut2-c1/p2 - 25GE port2 Intel E822-CQDA4 4p25GE.
+        mac_address: "00:00:00:02:01:01"
+        pci_address: "0000:ec:00.1"
+        ip4_address: "172.16.40.2"
+        driver: ice
+        link: link4
+        model: Intel-E822CQ
+      port3:
+        # s94-t39-sut2-c1/p3 - 25GE port3 Intel E822-CQDA4 4p25GE.
+        mac_address: "00:00:00:02:01:02"
+        pci_address: "0000:ec:00.2"
+        ip4_address: "172.16.50.2"
+        driver: ice
+        link: link5
+        model: Intel-E822CQ
+      port4:
+        # s94-t39-sut2-c1/p4 - 25GE port4 Intel E822-CQDA4 4p25GE.
+        mac_address: "00:00:00:02:01:03"
+        pci_address: "0000:ec:00.3"
+        ip4_address: "172.16.60.2"
+        driver: ice
+        link: link6
+        model: Intel-E822CQ