diff options
author | Marcel Enguehard <mengueha+fdio@cisco.com> | 2017-04-12 10:44:55 +0200 |
---|---|---|
committer | Marcel Enguehard <mengueha+fdio@cisco.com> | 2017-04-12 10:44:55 +0200 |
commit | 8b0ac576c778b380ff341ce4022b4d1f83aa7021 (patch) | |
tree | 909c6fffd7b94bcbd6b6a03fa374db22f7ca3e1a /examples/tutorial/tutorial04-caching.json | |
parent | b5e8632b6bbe47cd84533857d1e35a77d4b8bbf8 (diff) |
Updated LXD image in tutorials + new tutorial + Changed logs for LXD NotFound to warnings + Number of workers is now a function of the number of CPUs
Change-Id: I926ac0e86cd2c594c3f9fce7e20e80a385b4f56a
Signed-off-by: Marcel Enguehard <mengueha+fdio@cisco.com>
Diffstat (limited to 'examples/tutorial/tutorial04-caching.json')
-rw-r--r-- | examples/tutorial/tutorial04-caching.json | 203 |
1 files changed, 203 insertions, 0 deletions
diff --git a/examples/tutorial/tutorial04-caching.json b/examples/tutorial/tutorial04-caching.json new file mode 100644 index 00000000..049f0a43 --- /dev/null +++ b/examples/tutorial/tutorial04-caching.json @@ -0,0 +1,203 @@ +{ + "settings": { + "network": "192.168.128.0/24", + "ulimit-n": 10000 + }, + "resources": [ + { + "type": "Physical", + "name": "server", + "hostname": "localhost" + }, + { + "type": "NetDevice", + "device_name": "eth0", + "managed": false, + "node": "server" + }, + { + "type": "LxcImage", + "name": "ubuntu1604-cicnsuite-rc2", + "node": "server" + }, + { + "name": "u1core", + "image": "ubuntu1604-cicnsuite-rc2", + "category": "asr", + "type": "LxcContainer", + "y": 10, + "x": 5, + "node": "server" + }, + { + "name": "u1srv1", + "image": "ubuntu1604-cicnsuite-rc2", + "category": "meizu", + "type": "LxcContainer", + "y": 8, + "x": 2, + "node": "server" + }, + { + "name": "u1srv2", + "image": "ubuntu1604-cicnsuite-rc2", + "category": "meizu", + "type": "LxcContainer", + "y": 12, + "x": 2, + "node": "server" + }, + { + "name": "u2core", + "image": "ubuntu1604-cicnsuite-rc2", + "category": "asr", + "type": "LxcContainer", + "y": 6, + "x": 9, + "node": "server" + }, + { + "name": "u2srv1", + "image": "ubuntu1604-cicnsuite-rc2", + "category": "meizu", + "type": "LxcContainer", + "y": 2, + "x": 9, + "node": "server" + }, + { + "name": "u3core", + "image": "ubuntu1604-cicnsuite-rc2", + "category": "asr", + "type": "LxcContainer", + "y": 12, + "x": 13, + "node": "server" + }, + { + "name": "u3srv1", + "image": "ubuntu1604-cicnsuite-rc2", + "category": "meizu", + "type": "LxcContainer", + "y": 10, + "x": 16, + "node": "server" + }, + { + "name": "u3srv2", + "image": "ubuntu1604-cicnsuite-rc2", + "category": "meizu", + "type": "LxcContainer", + "y": 14, + "x": 16, + "node": "server" + }, + { + "type": "MetisForwarder", + "cache_size": 2000000, + "node": "u1core" + }, + { + "type": "MetisForwarder", + "cache_size": 0, + "node": "u1srv1" + }, + { + "type": "MetisForwarder", + "cache_size": 0, + "node": "u1srv2" + }, + { + "type": "MetisForwarder", + "cache_size": 2000000, + "node": "u2core" + }, + { + "type": "MetisForwarder", + "cache_size": 0, + "node": "u2srv1" + }, + { + "type": "MetisForwarder", + "cache_size": 2000000, + "node": "u3core" + }, + { + "type": "MetisForwarder", + "cache_size": 0, + "node": "u3srv1" + }, + { + "type": "WebServer", + "prefixes": [ + "/webserver1" + ], + "node": "u3srv1" + }, + { + "type": "MetisForwarder", + "cache_size": 0, + "node": "u3srv2" + }, + { + "type": "WebServer", + "prefixes": [ + "/webserver2" + ], + "node": "u3srv2" + }, + { + "type": "Link", + "dst_node": "u1srv1", + "capacity": 100, + "src_node": "u1core" + }, + { + "type": "Link", + "dst_node": "u1srv2", + "capacity": 100, + "src_node": "u1core" + }, + { + "type": "Link", + "dst_node": "u2srv1", + "capacity": 100, + "src_node": "u2core" + }, + { + "type": "Link", + "dst_node": "u3srv1", + "capacity": 100, + "src_node": "u3core" + }, + { + "type": "Link", + "dst_node": "u3srv2", + "capacity": 100, + "src_node": "u3core" + }, + { + "type": "Link", + "dst_node": "u2core", + "src_node": "u1core" + }, + { + "type": "Link", + "dst_node": "u3core", + "src_node": "u1core" + }, + { + "type": "Link", + "dst_node": "u2core", + "src_node": "u3core" + }, + { + "type": "CentralIP", + "ip_routing_strategy": "spt" + }, + { + "type": "CentralICN", + "face_protocol": "udp4" + } + ] +} |