diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/tutorial/tutorial01.json | 25 |
1 files changed, 21 insertions, 4 deletions
diff --git a/examples/tutorial/tutorial01.json b/examples/tutorial/tutorial01.json index edc0e6da..dbef980f 100644 --- a/examples/tutorial/tutorial01.json +++ b/examples/tutorial/tutorial01.json @@ -1,6 +1,10 @@ { "resources": [ { + "type": "Group", + "name": "topology" + }, + { "type": "Physical", "name": "server", "hostname": "localhost" @@ -14,41 +18,48 @@ { "type": "LxcImage", "name": "ubuntu1604-cicnsuite-rc2", + "groups": ["topology"], "node": "server" }, { "type": "LxcContainer", "image": "ubuntu1604-cicnsuite-rc2", + "groups": ["topology"], "name": "prod1", "node": "server" }, { "type": "LxcContainer", "image": "ubuntu1604-cicnsuite-rc2", + "groups": ["topology"], "name": "prod2", "node": "server" }, { "type": "LxcContainer", "image": "ubuntu1604-cicnsuite-rc2", + "groups": ["topology"], "name": "core2", "node": "server" }, { "type": "LxcContainer", "image": "ubuntu1604-cicnsuite-rc2", + "groups": ["topology"], "name": "core1", "node": "server" }, { "type": "LxcContainer", "image": "ubuntu1604-cicnsuite-rc2", + "groups": ["topology"], "name": "cons1", "node": "server" }, { "type": "LxcContainer", "name": "cons2", + "groups": ["topology"], "node": "server", "image": "ubuntu1604-cicnsuite-rc2" }, @@ -60,7 +71,7 @@ "type": "WebServer", "node": "prod1", "prefixes": [ - "/webserver" + "/webserver1" ] }, { @@ -71,7 +82,7 @@ "type": "WebServer", "node": "prod2", "prefixes": [ - "/webserver" + "/webserver2" ] }, { @@ -92,26 +103,31 @@ }, { "type": "Link", + "groups": ["topology"], "src_node": "cons1", "dst_node": "core1" }, { "type": "Link", + "groups": ["topology"], "src_node": "cons2", "dst_node": "core1" }, { "type": "Link", + "groups": ["topology"], "src_node": "core1", "dst_node": "core2" }, { "type": "Link", + "groups": ["topology"], "src_node": "core2", "dst_node": "prod1" }, { "type": "Link", + "groups": ["topology"], "src_node": "core2", "dst_node": "prod2" }, @@ -120,11 +136,12 @@ "ip_routing_strategy": "spt", "ip6_data_prefix": "2001::/50", "ip4_data_prefix": "192.168.128.0/24", - "ip4_control_prefix": "192.168.140.0/24" + "groups": ["topology"] }, { "type": "CentralICN", - "face_protocol": "udp4" + "face_protocol": "udp4", + "groups": ["topology"] } ] } |