... | ... | @@ -106,7 +106,12 @@ The Python script shown above is equivalent to the following JSON network config |
|
|
"topology": {
|
|
|
"assignment_strategy": "mixed",
|
|
|
"links": [
|
|
|
["h1", "s1", {"delay":"20ms", "loss": 1, "bw": 20, "max_queue_size": 100, "weight":5}], ["h2", "s2"], ["s1", "s2"], ["h3", "s3"],["h4", "s3"], ["s1", "s3"]
|
|
|
["h1", "s1", {"delay":"20ms", "loss": 1, "bw": 20, "max_queue_size": 100, "weight":5}],
|
|
|
["h2", "s2"],
|
|
|
["s1", "s2"],
|
|
|
["h3", "s3"],
|
|
|
["h4", "s3"],
|
|
|
["s1", "s3"]
|
|
|
],
|
|
|
"hosts": {
|
|
|
"h1": {
|
... | ... | |