aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorJordan Augé <jordan.auge+fdio@email.com>2017-02-24 14:58:01 +0100
committerJordan Augé <jordan.auge+fdio@cisco.com>2017-02-24 18:36:29 +0000
commit85a341d645b57b7cd88a26ed2ea0a314704240ea (patch)
treebdda2b35003aae20103a796f86daced160b8a730 /examples
parent9b30fc10fb1cbebe651e5a107e8ca5b24de54675 (diff)
Initial commit: vICN
Change-Id: I7ce66c4e84a6a1921c63442f858b49e083adc7a7 Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/tutorial/tutorial01.json130
1 files changed, 130 insertions, 0 deletions
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"
+ }
+}