aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/virl/topologies/simple-ring-nested.yaml
diff options
context:
space:
mode:
authorCarsten Koester <ckoester@cisco.com>2016-04-01 19:14:37 -0400
committerGerrit Code Review <gerrit@fd.io>2016-04-05 13:11:07 +0000
commit63eae3144fac10d2525c4496adf39640bf40402c (patch)
treeafc99e7db72594c1ee573a2fda4dc78b4f2fda7c /resources/tools/virl/topologies/simple-ring-nested.yaml
parenta978ecded86a28d2b195c270e074031f1704dd15 (diff)
Add VIRL topology files and template for nested virtualisation
Change-Id: I57dbe4f179b3cfd3f51c9dec503ca45a5c0521fd Signed-off-by: Carsten Koester <ckoester@cisco.com>
Diffstat (limited to 'resources/tools/virl/topologies/simple-ring-nested.yaml')
-rw-r--r--resources/tools/virl/topologies/simple-ring-nested.yaml59
1 files changed, 59 insertions, 0 deletions
diff --git a/resources/tools/virl/topologies/simple-ring-nested.yaml b/resources/tools/virl/topologies/simple-ring-nested.yaml
new file mode 100644
index 0000000000..094adf3988
--- /dev/null
+++ b/resources/tools/virl/topologies/simple-ring-nested.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