feat(bootstrap): Add ability to load external NODE_FLAVOR
[csit.git] / fdio.infra.terraform / terraform-openstack-2n / topology-2n.tftpl
1 ---
2 metadata:
3   version: 0.1
4   schema:
5     - resources/topology_schemas/2_node_topology.sch.yaml
6     - resources/topology_schemas/topology.sch.yaml
7   tags: [hw, 2-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 - 100GE port1 on E810 NIC.
21         mac_address: "${tg_if1_mac}"
22         pci_address: "0000:00:05.0"
23         ip4_address: "172.16.10.2"
24         driver: iavf
25         link: link1
26         model: Intel-E810
27       port2:
28         # tg_instance/p2 - 100GE port2 on E810 NIC.
29         mac_address: "${tg_if2_mac}"
30         pci_address: "0000:00:06.0"
31         ip4_address: "172.16.20.2"
32         driver: iavf
33         link: link2
34         model: Intel-E810
35   DUT1:
36     type: DUT
37     host: "${dut1_public_ip}"
38     arch: x86_64
39     port: 22
40     username: testuser
41     password: Csit1234
42     uio_driver: vfio-pci
43     interfaces:
44       port1:
45         # dut1_instance/p1 - 100GE port1 on E810 NIC.
46         mac_address: "${dut1_if1_mac}"
47         pci_address: "0000:00:05.0"
48         ip4_address: "172.16.10.1"
49         driver: iavf
50         link: link1
51         model: Intel-E810
52       port2:
53         # dut1_instance/p2 - 100GE port2 on E810 NIC.
54         mac_address: "${dut1_if2_mac}"
55         pci_address: "0000:00:06.0"
56         ip4_address: "172.16.20.1"
57         driver: iavf
58         link: link2
59         model: Intel-E810