From 85a341d645b57b7cd88a26ed2ea0a314704240ea Mon Sep 17 00:00:00 2001 From: Jordan Augé Date: Fri, 24 Feb 2017 14:58:01 +0100 Subject: Initial commit: vICN MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I7ce66c4e84a6a1921c63442f858b49e083adc7a7 Signed-off-by: Jordan Augé --- examples/tutorial/tutorial01.json | 130 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 130 insertions(+) create mode 100644 examples/tutorial/tutorial01.json (limited to 'examples/tutorial') diff --git a/examples/tutorial/tutorial01.json b/examples/tutorial/tutorial01.json new file mode 100644 index 00000000..9d1bfac7 --- /dev/null +++ b/examples/tutorial/tutorial01.json @@ -0,0 +1,130 @@ +{ + "resources": [ + { + "type": "Physical", + "name": "server", + "hostname": "hostname" + }, + { + "type": "NetDevice", + "device_name": "eth0", + "node": "server", + "managed": false + }, + { + "type": "LxcImage", + "name": "ubuntu1604-cicnsuite-rc1", + "node": "server" + }, + { + "type": "LxcContainer", + "image": "ubuntu1604-cicnsuite-rc1", + "name": "prod1", + "node": "server" + }, + { + "type": "LxcContainer", + "image": "ubuntu1604-cicnsuite-rc1", + "name": "prod2", + "node": "server" + }, + { + "type": "LxcContainer", + "image": "ubuntu1604-cicnsuite-rc1", + "name": "core2", + "node": "server" + }, + { + "type": "LxcContainer", + "image": "ubuntu1604-cicnsuite-rc1", + "name": "core1", + "node": "server" + }, + { + "type": "LxcContainer", + "image": "ubuntu1604-cicnsuite-rc1", + "name": "cons1", + "node": "server" + }, + { + "type": "LxcContainer", + "name": "cons2", + "node": "server", + "image": "ubuntu1604-cicnsuite-rc1" + }, + { + "type": "MetisForwarder", + "node": "prod1" + }, + { + "type": "WebServer", + "node": "prod1", + "prefixes": [ + "/webserver" + ] + }, + { + "type": "MetisForwarder", + "node": "prod2" + }, + { + "type": "WebServer", + "node": "prod2", + "prefixes": [ + "/webserver" + ] + }, + { + "type": "MetisForwarder", + "node": "core2" + }, + { + "type": "MetisForwarder", + "node": "core1" + }, + { + "type": "MetisForwarder", + "node": "cons1" + }, + { + "type": "MetisForwarder", + "node": "cons2" + }, + { + "type": "Link", + "src_node": "cons1", + "dst_node": "core1" + }, + { + "type": "Link", + "src_node": "cons2", + "dst_node": "core1" + }, + { + "type": "Link", + "src_node": "core1", + "dst_node": "core2" + }, + { + "type": "Link", + "src_node": "core2", + "dst_node": "prod1" + }, + { + "type": "Link", + "src_node": "core2", + "dst_node": "prod2" + }, + { + "type": "CentralIP", + "ip_routing_strategy": "spt" + }, + { + "type": "CentralICN", + "face_protocol": "udp4" + } + ], + "settings": { + "network": "192.168.29.0/24" + } +} -- cgit 1.2.3-korg