aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/virl/topologies/simple-ring.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'resources/tools/virl/topologies/simple-ring.yaml')
-rw-r--r--resources/tools/virl/topologies/simple-ring.yaml59
1 files changed, 59 insertions, 0 deletions
diff --git a/resources/tools/virl/topologies/simple-ring.yaml b/resources/tools/virl/topologies/simple-ring.yaml
new file mode 100644
index 0000000000..094adf3988
--- /dev/null
+++ b/resources/tools/virl/topologies/simple-ring.yaml
@@ -0,0 +1,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