feat(infra): Onboard Mellanox III.
[csit.git] / topologies / available / 3n_azure.template
1 ---
2 metadata:
3   version: 0.1
4   schema:
5     - resources/topology_schemas/3_node_topology.sch.yaml
6     - resources/topology_schemas/topology.sch.yaml
7   tags: [hw, 3-node]
8
9 nodes:
10   TG:
11     type: TG
12     subtype: TREX
13     host: "{{ tg_public_ip }}"
14     arch: x86_64
15     port: 22
16     username: testuser
17     password: Csit1234
18     interfaces:
19       port1:
20         # tg_instance/p1 - 40GE port1 on Mellanox NIC.
21         mac_address: "{{ tg_if1_mac | lower | replace('-',':') }}"
22         pci_address: "0002:00:02.0"
23         link: link1
24         model: azure-mlx-40g
25       port2:
26         # tg_instance/p2 - 40GE port2 on Mellanox NIC.
27         mac_address: "{{ tg_if2_mac | lower | replace('-',':') }}"
28         pci_address: "0003:00:02.0"
29         link: link2
30         model: azure-mlx-40g
31   DUT1:
32     type: DUT
33     host: "{{ dut1_public_ip }}"
34     arch: x86_64
35     port: 22
36     username: testuser
37     password: Csit1234
38     uio_driver: vfio-pci
39     interfaces:
40       port1:
41         # dut1_instance/p1 - 40GE port1 on Mellanox NIC.
42         mac_address: "{{ dut1_if1_mac | lower | replace('-',':') }}"
43         pci_address: "0002:00:02.0"
44         link: link1
45         model: azure-mlx-40g
46       port2:
47         # dut2_instance/p1 - 40GE port2 on Mellanox NIC.
48         mac_address: "{{ dut1_if2_mac | lower | replace('-',':') }}"
49         pci_address: "0003:00:02.0"
50         link: link21
51         model: azure-mlx-40g
52   DUT2:
53     type: DUT
54     host: "{{ dut2_public_ip }}"
55     arch: x86_64
56     port: 22
57     username: testuser
58     password: Csit1234
59     uio_driver: vfio-pci
60     honeycomb:
61       user: admin
62       passwd: admin
63       port: 8183
64       netconf_port: 2831
65     interfaces:
66       port1:
67         # dut1_instance/p1 - 40GE port1 on Mellanox NIC.
68         mac_address: "{{ dut2_if1_mac | lower | replace('-',':') }}"
69         pci_address: "0002:00:02.0"
70         link: link21
71         model: azure-mlx-40g
72       port2:
73         # dut2_instance/p1 - 40GE port2 on Mellanox NIC.
74         mac_address: "{{ dut2_if2_mac | lower | replace('-',':') }}"
75         pci_address: "0003:00:02.0"
76         link: link2
77         model: azure-mlx-40g