aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/virl/topologies/simple-ring.yaml
blob: 094adf398852accaa3561162bc352df8ff22b90c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
---
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
    host: "{topology[tg1][nic-management][ip-addr]}"
    port: 22
    username: cisco
    priv_key: |
{priv_key}
    interfaces:
      port3:
        mac_address: "{topology[tg1][nic-0][hw-addr]}"
        pci_address: "0000:00:04.0"
        link: link1
        driver: virtio-pci
      port5:
        mac_address: "{topology[tg1][nic-1][hw-addr]}"
        pci_address: "0000:00:05.0"
        link: link2
        driver: virtio-pci
  DUT1:
    type: DUT
    host: "{topology[sut1][nic-management][ip-addr]}"
    port: 22
    username: cisco
    priv_key: |
{priv_key}
    interfaces:
      port3:
        mac_address: "{topology[sut1][nic-0][hw-addr]}"
        pci_address: "0000:00:04.0"
        link: link3
      port1:
        mac_address: "{topology[sut1][nic-1][hw-addr]}"
        pci_address: "0000:00:05.0"
        link: link1
  DUT2:
    type: DUT
    host: "{topology[sut2][nic-management][ip-addr]}"
    port: 22
    username: cisco
    priv_key: |
{priv_key}
    interfaces:
      port1:
        mac_address: "{topology[sut2][nic-0][hw-addr]}"
        pci_address: "0000:00:04.0"
        link: link2
      port3:
        mac_address: "{topology[sut2][nic-1][hw-addr]}"
        pci_address: "0000:00:05.0"
        link: link3