"- port_limit : 2\n"
" version : 2\n"
" interfaces : [\"{}\",\"{}\"]\n"
- " port_bandwidth_gb : 10\n"
" port_info :\n"
" - dest_mac : [{}]\n"
" src_mac : [{}]\n"
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"]
| | ${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
--- /dev/null
+---
+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
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
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