TB2 XL710 topology files 67/1267/13
authorMiroslav Miklus <mmiklus@cisco.com>
Wed, 25 May 2016 19:50:50 +0000 (21:50 +0200)
committerPeter Mikus <pmikus@cisco.com>
Mon, 11 Jul 2016 12:29:04 +0000 (12:29 +0000)
JIRA: CSIT-106

Change-Id: If3e76d971c7196da3f83a8daacd1308c6374c786
Signed-off-by: Miroslav Miklus <mmiklus@cisco.com>
resources/libraries/python/TrafficGenerator.py
resources/libraries/python/VatJsonUtil.py
resources/libraries/robot/performance.robot
topologies/available/lf_testbed2-XL710-XL710.yaml [new file with mode: 0644]
topologies/available/lf_testbed2.yaml

index a98fb0d..91a43fb 100644 (file)
@@ -182,7 +182,6 @@ class TrafficGenerator(object):
                 "- port_limit      : 2\n"
                 "  version         : 2\n"
                 "  interfaces      : [\"{}\",\"{}\"]\n"
-                "  port_bandwidth_gb : 10\n"
                 "  port_info       :\n"
                 "          - dest_mac        :   [{}]\n"
                 "            src_mac         :   [{}]\n"
index e17375a..1cafff0 100644 (file)
@@ -95,8 +95,9 @@ class VatJsonUtil(object):
             interface_dict = VatJsonUtil.get_vpp_interface_by_mac(
                 interface_list, if_mac)
             if not interface_dict:
-                raise Exception('Interface {0} not found by MAC {1}'
-                                .format(ifc, if_mac))
+                logger.trace('Interface {0} not found by MAC {1}'
+                             .format(ifc, if_mac))
+                continue
             ifc['name'] = interface_dict["interface_name"]
             ifc['vpp_sw_index'] = interface_dict["sw_if_index"]
             ifc['mtu'] = interface_dict["mtu"]
index 53fbf26..cb9abe5 100644 (file)
 | | ${10Ge_linerate_pps_1522B}= | Set Variable | 810635
 | | ${10Ge_linerate_pps_9000B}= | Set Variable | 138580
 | | ${10Ge_linerate_pps_9004B}= | Set Variable | 138519
+| | ${40Ge_linerate_pps_64B}= | Set Variable | 59523809
+| | ${40Ge_linerate_pps_68B}= | Set Variable | 56818181
+| | ${40Ge_linerate_pps_78B}= | Set Variable | 51020408
+| | ${40Ge_linerate_pps_1518B}= | Set Variable | 3250975
+| | ${40Ge_linerate_pps_1522B}= | Set Variable | 3242542
+| | ${40Ge_linerate_pps_9000B}= | Set Variable | 554323
+| | ${40Ge_linerate_pps_9004B}= | Set Variable | 554078
+
 | | Set Suite Variable | ${10Ge_linerate_pps_64B}
 | | Set Suite Variable | ${10Ge_linerate_pps_68B}
 | | Set Suite Variable | ${10Ge_linerate_pps_78B}
 | | Set Suite Variable | ${10Ge_linerate_pps_1522B}
 | | Set Suite Variable | ${10Ge_linerate_pps_9000B}
 | | Set Suite Variable | ${10Ge_linerate_pps_9004B}
+| | Set Suite Variable | ${40Ge_linerate_pps_64B}
+| | Set Suite Variable | ${40Ge_linerate_pps_68B}
+| | Set Suite Variable | ${40Ge_linerate_pps_78B}
+| | Set Suite Variable | ${40Ge_linerate_pps_1518B}
+| | Set Suite Variable | ${40Ge_linerate_pps_1522B}
+| | Set Suite Variable | ${40Ge_linerate_pps_9000B}
+| | Set Suite Variable | ${40Ge_linerate_pps_9004B}
 
 | Setup performance global Variables
 | | [Documentation] | Setup performance global Variables
diff --git a/topologies/available/lf_testbed2-XL710-XL710.yaml b/topologies/available/lf_testbed2-XL710-XL710.yaml
new file mode 100644 (file)
index 0000000..7bb3f50
--- /dev/null
@@ -0,0 +1,69 @@
+---
+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.20"
+    port: 22
+    username: testuser
+    password: Cisco1234
+    interfaces:
+      port3:
+        # t2-tg1-c4/p1 - 40GE port1 on Intel NIC xl710 2p40GE.
+        mac_address: "68:05:ca:37:1f:1c"
+        pci_address: "0000:86:00.0"
+        driver: i40e
+        link: link1
+        model: Intel-XL710
+      port5:
+        # t2-tg1-c4/p2 - 40GE port2 on Intel NIC xl710 2p40GE.
+        mac_address: "68:05:ca:37:1f:19"
+        pci_address: "0000:86:00.1"
+        driver: i40e
+        link: link2
+        model: Intel-XL710
+  DUT1:
+    type: DUT
+    host: "10.30.51.21"
+    port: 22
+    username: testuser
+    password: Cisco1234
+    interfaces:
+      port5:
+        # t2-sut1-c4/p1 - 40GE port1 on Intel NIC xl710 2p40GE.
+        mac_address: "68:05:ca:35:77:08"
+        pci_address: "0000:85:00.0"
+        link: link3
+        model: Intel-XL710
+      port6:
+        # t2-sut1-c4/p2 - 40GE port2 on Intel NIC xl710 2p40GE.
+        mac_address: "68:05:ca:35:77:09"
+        pci_address: "0000:85:00.1"
+        link: link1
+        model: Intel-XL710
+  DUT2:
+    type: DUT
+    host: "10.30.51.22"
+    port: 22
+    username: testuser
+    password: Cisco1234
+    interfaces:
+      port5:
+        # t2-sut2-c4/p1 - 40GE port1 on Intel NIC xl710 2p40GE.
+        mac_address: "68:05:ca:35:76:98"
+        pci_address: "0000:85:00.0"
+        link: link2
+        model: Intel-XL710
+      port6:
+        # t2-sut2-c4/p2 - 40GE port2 on Intel NIC xl710 2p40GE.
+        mac_address: "68:05:ca:35:76:99"
+        pci_address: "0000:85:00.1"
+        link: link3
+        model: Intel-XL710
index 5e03d33..c20346c 100644 (file)
@@ -138,7 +138,7 @@ nodes:
         model: Intel-XL710
       port6:
         # t2-sut1-c4/p2 - 40GE port2 on Intel NIC xl710 2p40GE.
-        mac_address: "68:05:ca:35:77:0d"
+        mac_address: "68:05:ca:35:77:09"
         pci_address: "0000:85:00.1"
         link: link7
         model: Intel-XL710
@@ -205,7 +205,7 @@ nodes:
         model: Intel-XL710
       port6:
         # t2-sut2-c4/p2 - 40GE port2 on Intel NIC xl710 2p40GE.
-        mac_address: "68:05:ca:35:76:9d"
+        mac_address: "68:05:ca:35:76:99"
         pci_address: "0000:85:00.1"
         link: link14
         model: Intel-XL710