diff options
author | Marcel Enguehard <mengueha+fdio@cisco.com> | 2017-10-09 08:44:59 +0200 |
---|---|---|
committer | Marcel Enguehard <mengueha+fdio@cisco.com> | 2017-10-09 08:55:46 +0200 |
commit | 5f8867a3454164ad20ae427dc9d2c7d65ea00a90 (patch) | |
tree | c8ff40fb147a76af2baa77790ba8a6ac968e51b4 /examples | |
parent | af2dd545d04cfca7e7ec066035abf78c3d541915 (diff) |
Several fixes related to async_set, ip addressing, and memif interfaces for VPP
Change-Id: I26b7928751f41ea66ba47bb1becac33cf5195915
Signed-off-by: Marcel Enguehard <mengueha+fdio@cisco.com>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/tutorial/tutorial06-acm-icn17-vpp.json | 141 | ||||
-rw-r--r-- | examples/tutorial/tutorial06-acm-icn17.json | 115 |
2 files changed, 256 insertions, 0 deletions
diff --git a/examples/tutorial/tutorial06-acm-icn17-vpp.json b/examples/tutorial/tutorial06-acm-icn17-vpp.json new file mode 100644 index 00000000..406ac343 --- /dev/null +++ b/examples/tutorial/tutorial06-acm-icn17-vpp.json @@ -0,0 +1,141 @@ +{ + "resources": [ + { + "type": "Group", + "name": "virtual" + }, + { + "type": "Physical", + "name": "server", + "hostname": "localhost" + }, + { + "type": "LxcImage", + "name": "cicn-image", + "node": "server", + "image": "ubuntu1604-cicnsuite-rc4" + }, + { + "type": "GUI", + "port": 8000, + "groups": ["virtual"] + }, + { + "type" : "LxcContainer", + "image": "cicn-image", + "name" : "cons", + "groups": [ "virtual" ], + "category": "user", + "node" : "server" + }, + { + "type" : "LxcContainer", + "image": "cicn-image", + "name" : "prod", + "groups": [ "virtual" ], + "category": "video-server", + "node" : "server" + }, + { + "type" : "LxcContainer", + "image": "cicn-image", + "name" : "core1", + "groups": [ "virtual" ], + "category": "icn-router-vpp", + "node" : "server" + }, + { + "type" : "LxcContainer", + "image": "cicn-image", + "name" : "core2", + "groups": [ "virtual" ], + "category": "icn-router-vpp", + "node" : "server" + }, + { + "type": "DpdkDevice", + "name": "core1-dpdk1", + "mac_address": "08:00:27:5c:5b:f1", + "node": "core1", + "device_name": "GigabitEthernet0/9/0", + "pci_address": "0000:00:09.0" + }, + { + "type": "DpdkDevice", + "name": "core2-dpdk1", + "mac_address": "08:00:27:8c:e3:49", + "node": "core2", + "device_name": "GigabitEthernet0/a/0", + "pci_address": "0000:00:0a.0" + }, + { + "type": "VPP", + "node": "core1", + "name": "vpp-core1" + }, + { + "type": "VPP", + "node": "core2", + "name": "vpp-core2" + }, + { + "type": "Link", + "src_node": "cons", + "dst_node": "core1", + "groups": [ "virtual" ] + }, + { + "type": "PhyLink", + "src": "core1-dpdk1", + "dst": "core2-dpdk1", + "groups": [ "virtual" ] + }, + { + "type": "Link", + "src_node": "core2", + "dst_node": "prod", + "groups": [ "virtual" ] + }, + { + "type": "CentralIP", + "ip4_data_prefix": "192.168.42.0/24", + "ip6_data_prefix": "9002::/16", + "ip_routing_strategy": "spt", + "groups": [ + "virtual" + ] + }, + { + "type": "MetisForwarder", + "cache_size": 0, + "node": "cons" + }, + { + "type": "CICNForwarder", + "node": "core1", + "name": "vpp_core1" + }, + { + "type": "CICNForwarder", + "node": "core2", + "name": "vpp_core2" + }, + { + "type": "MetisForwarder", + "cache_size": 0, + "node": "prod" + }, + { + "type": "WebServer", + "prefixes": [ + "/webserver" + ], + "node": "prod" + }, + { + "type": "CentralICN", + "groups": [ "virtual" ], + "face_protocol": "udp4" + } + ] +} diff --git a/examples/tutorial/tutorial06-acm-icn17.json b/examples/tutorial/tutorial06-acm-icn17.json new file mode 100644 index 00000000..e65e44d7 --- /dev/null +++ b/examples/tutorial/tutorial06-acm-icn17.json @@ -0,0 +1,115 @@ +{ + "resources": [ + { + "type": "Group", + "name": "virtual" + }, + { + "type": "Physical", + "name": "server", + "hostname": "localhost" + }, + { + "type": "LxcImage", + "name": "cicn-image", + "node": "server", + "image": "ubuntu1604-cicnsuite-rc4" + }, + { + "type": "GUI", + "port": 8000, + "groups": ["virtual"] + }, + { + "type" : "LxcContainer", + "image": "cicn-image", + "name" : "cons", + "groups": [ "virtual" ], + "category": "user", + "node" : "server" + }, + { + "type" : "LxcContainer", + "image": "cicn-image", + "name" : "prod", + "groups": [ "virtual" ], + "category": "video-server", + "node" : "server" + }, + { + "type" : "LxcContainer", + "image": "cicn-image", + "name" : "core1", + "groups": [ "virtual" ], + "category": "icn-router", + "node" : "server" + }, + { + "type" : "LxcContainer", + "image": "cicn-image", + "name" : "core2", + "groups": [ "virtual" ], + "category": "icn-router", + "node" : "server" + }, + { + "type": "Link", + "src_node": "cons", + "dst_node": "core1", + "groups": [ "virtual" ] + }, + { + "type": "Link", + "src_node": "core1", + "dst_node": "core2", + "groups": [ "virtual" ] + }, + { + "type": "Link", + "src_node": "core2", + "dst_node": "prod", + "groups": [ "virtual" ] + }, + { + "type": "CentralIP", + "ip4_data_prefix": "192.168.42.0/24", + "ip6_data_prefix": "9002::/16", + "ip_routing_strategy": "spt", + "groups": [ + "virtual" + ] + }, + { + "type": "MetisForwarder", + "cache_size": 0, + "node": "cons" + }, + { + "type": "MetisForwarder", + "cache_size": 2000, + "node": "core1" + }, + { + "type": "MetisForwarder", + "cache_size": 0, + "node": "core2" + }, + { + "type": "MetisForwarder", + "cache_size": 0, + "node": "prod" + }, + { + "type": "WebServer", + "prefixes": [ + "/webserver" + ], + "node": "prod" + }, + { + "type": "CentralICN", + "groups": [ "virtual" ], + "face_protocol": "udp4" + } + ] +} |