diff options
author | 2016-02-23 19:27:01 -0500 | |
---|---|---|
committer | 2016-03-08 16:33:30 -0500 | |
commit | f9e2ef4af9dee2220d4ee2ebeae5012de84a83fe (patch) | |
tree | ebe0894be10d1626648e9fa6dbe993f8e20b1967 /resources/tools/virl/topologies/simple-ring.yaml | |
parent | da8aebf2e722f2c441a03b300de71f9143d010a3 (diff) |
Add VIRL server-side framework and topology templates.
Change-Id: I02e7f85e3259dc0a5b2c7d0098747921a75fa5ea
Signed-off-by: Carsten Koester <ckoester@cisco.com>
Diffstat (limited to 'resources/tools/virl/topologies/simple-ring.yaml')
-rw-r--r-- | resources/tools/virl/topologies/simple-ring.yaml | 59 |
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 |