Change-Id: Iaeddb03d959d639b30504cb8dbd5e886b9e3a57a
Signed-off-by: Marcel Enguehard <[email protected]>
{
"name": "u1srv1",
"image": "ubuntu1604-cicnsuite-rc2",
- "category": "meizu",
+ "category": "user",
"type": "LxcContainer",
"y": 8,
"x": 2,
{
"name": "u1srv2",
"image": "ubuntu1604-cicnsuite-rc2",
- "category": "meizu",
+ "category": "user",
"type": "LxcContainer",
"y": 12,
"x": 2,
{
"name": "u2srv1",
"image": "ubuntu1604-cicnsuite-rc2",
- "category": "meizu",
+ "category": "user",
"type": "LxcContainer",
"y": 2,
"x": 9,
{
"name": "u3srv1",
"image": "ubuntu1604-cicnsuite-rc2",
- "category": "meizu",
+ "category": "serverDemo",
"type": "LxcContainer",
"y": 10,
"x": 16,
{
"name": "u3srv2",
"image": "ubuntu1604-cicnsuite-rc2",
- "category": "meizu",
+ "category": "serverDemo",
"type": "LxcContainer",
"y": 14,
"x": 16,
{
"type": "WebServer",
"prefixes": [
- "/webserver1"
+ "/u3srv1"
],
"node": "u3srv1"
},
{
"type": "WebServer",
"prefixes": [
- "/webserver2"
+ "/u3srv2"
],
"node": "u3srv2"
},
{
"type": "Link",
"dst_node": "u1srv1",
- "capacity": 100,
+ "capacity": 200,
"src_node": "u1core"
},
{
"type": "Link",
"dst_node": "u1srv2",
- "capacity": 100,
+ "capacity": 200,
"src_node": "u1core"
},
{
"type": "Link",
"dst_node": "u2srv1",
- "capacity": 100,
+ "capacity": 200,
"src_node": "u2core"
},
{
},
{
"type": "Link",
+ "capacity": 200,
"dst_node": "u2core",
"src_node": "u1core"
},
{
"type": "Link",
+ "capacity": 200,
"dst_node": "u3core",
"src_node": "u1core"
},
{
"type": "Link",
+ "capacity": 200,
"dst_node": "u2core",
"src_node": "u3core"
},
--- /dev/null
+#!/bin/bash
+lxc exec u1srv1 -- bash -c "iget http://u3srv1/$1" &
+lxc exec u1srv2 -- bash -c "iget http://u3srv1/$1" &
+lxc exec u2srv1 -- bash -c "iget http://u3srv1/$1" &
+wait $(jobs -p)