aboutsummaryrefslogtreecommitdiffstats
path: root/examples/tutorial/tutorial03-hetnet.json
diff options
context:
space:
mode:
authorJordan Augé <jordan.auge+fdio@cisco.com>2017-03-25 02:00:42 +0100
committerJordan Augé <jordan.auge+fdio@cisco.com>2017-03-25 02:02:14 +0100
commit3c7c2275b2d4660b83db9495c5f6ece5c6557b43 (patch)
treec4dbecb5b293f87714a4b456dd9f1b97593e9a2d /examples/tutorial/tutorial03-hetnet.json
parent15ee4c78051f3a02b73df3171bb415cfd0326904 (diff)
Misc. improvements to vICN codebase detailed below.
- vICN core . Added python setup script (allowing package installation) . Better error handling - Resources . LXD : better handling of certificate generation . Physical : generation of SSH keypair within vICN . Link : code simplification . EmulatedLteChannel: fixed typo in netmask configuration of emu-radio (missing /) - Examples . Added json file for tutorial #2 - Dumbell . New tutorial #03 - Load balancing in WiFi/LTE hetnet - Other minor changes incl. code cleanup (trailing spaces, etc.) Change-Id: Id306ca71e27d9859aa72760f63a2bc364bfe8159 Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
Diffstat (limited to 'examples/tutorial/tutorial03-hetnet.json')
-rw-r--r--examples/tutorial/tutorial03-hetnet.json117
1 files changed, 117 insertions, 0 deletions
diff --git a/examples/tutorial/tutorial03-hetnet.json b/examples/tutorial/tutorial03-hetnet.json
new file mode 100644
index 00000000..42d4292d
--- /dev/null
+++ b/examples/tutorial/tutorial03-hetnet.json
@@ -0,0 +1,117 @@
+{
+ "resources": [
+ {
+ "type": "Physical",
+ "name": "server",
+ "hostname": "MY-SERVER"
+ },
+ {
+ "type": "NetDevice",
+ "device_name": "br0",
+ "node": "server",
+ "managed": false
+ },
+ {
+ "type": "LxcImage",
+ "name": "ubuntu1604-cicnsuite-rc1",
+ "node": "server"
+ },
+ {
+ "type": "LxcContainer",
+ "image": "ubuntu1604-cicnsuite-rc1",
+ "name": "cons",
+ "node": "server",
+ "category": "tablet",
+ "x": 1,
+ "y": 2
+ },
+ {
+ "type": "LxcContainer",
+ "image": "ubuntu1604-cicnsuite-rc1",
+ "name": "wifi",
+ "node": "server",
+ "category": "wifi",
+ "x": 2,
+ "y": 1
+ },
+ {
+ "type": "LxcContainer",
+ "image": "ubuntu1604-cicnsuite-rc1",
+ "name": "lte",
+ "node": "server",
+ "category": "lte",
+ "x": 2,
+ "y": 3
+ },
+ {
+ "type": "LxcContainer",
+ "image": "ubuntu1604-cicnsuite-rc1",
+ "name": "prod",
+ "node": "server",
+ "category": "video-server",
+ "x": 3,
+ "y": 2
+ },
+ {
+ "type": "MetisForwarder",
+ "node": "cons"
+ },
+ {
+ "type": "MetisForwarder",
+ "node": "wifi"
+ },
+ {
+ "type": "MetisForwarder",
+ "node": "lte"
+ },
+ {
+ "type": "MetisForwarder",
+ "node": "prod"
+ },
+ {
+ "type": "WebServer",
+ "node": "prod",
+ "prefixes": [
+ "/webserver"
+ ]
+ },
+ {
+ "type": "Link",
+ "src_node": "wifi",
+ "dst_node": "prod"
+ },
+ {
+ "type": "Link",
+ "src_node": "lte",
+ "dst_node": "prod"
+ },
+ {
+ "type": "EmulatedWiFiChannel",
+ "name": "wch",
+ "node": "server",
+ "ap": "wifi",
+ "stations": ["cons"],
+ "control_port": 30001
+ },
+ {
+ "type": "EmulatedLteChannel",
+ "name": "lch",
+ "node": "server",
+ "ap": "lte",
+ "stations": ["cons"],
+ "control_port": 30002
+ },
+ {
+ "type": "CentralIP",
+ "ip_routing_strategy": "spt"
+ },
+ {
+ "type": "CentralICN",
+ "icnip_routing_strategy": "spt",
+ "face_protocol": "udp4"
+ }
+ ],
+ "settings": {
+ "network": "192.168.2.0/24"
+ }
+}