Ansible git move
[csit.git] / fdio.infra.ansible / roles / topology / templates / topology_3n_azure_Fsv2.j2
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     honeycomb:
40       user: admin
41       passwd: admin
42       port: 8183
43       netconf_port: 2831
44     interfaces:
45       port1:
46         # dut1_instance/p1 - 40GE port1 on Mellanox NIC.
47         mac_address: "{{ dut1_if1_mac | lower | replace('-',':') }}"
48         pci_address: "0002:00:02.0"
49         link: link1
50         model: Azure-MLX-40G
51       port2:
52         # dut2_instance/p1 - 40GE port2 on Mellanox NIC.
53         mac_address: "{{ dut1_if2_mac | lower | replace('-',':') }}"
54         pci_address: "0003:00:02.0"
55         link: link21
56         model: Azure-MLX-40G
57   DUT2:
58     type: DUT
59     host: "{{ dut2_public_ip }}"
60     arch: x86_64
61     port: 22
62     username: testuser
63     password: Csit1234
64     uio_driver: vfio-pci
65     honeycomb:
66       user: admin
67       passwd: admin
68       port: 8183
69       netconf_port: 2831
70     interfaces:
71       port1:
72         # dut1_instance/p1 - 40GE port1 on Mellanox NIC.
73         mac_address: "{{ dut2_if1_mac | lower | replace('-',':') }}"
74         pci_address: "0002:00:02.0"
75         link: link21
76         model: Azure-MLX-40G
77       port2:
78         # dut2_instance/p1 - 40GE port2 on Mellanox NIC.
79         mac_address: "{{ dut2_if2_mac | lower | replace('-',':') }}"
80         pci_address: "0003:00:02.0"
81         link: link2
82         model: Azure-MLX-40G