GUI - Added more events to 'links' scenario, so we can use it as a basis for tes…
…ting showPath/showTraffic. Change-Id: I6fa428931450930ba0e725443e211205b5c6af98
Showing
5 changed files
with
65 additions
and
0 deletions
1 | +{ | ||
2 | + "event": "addLink", | ||
3 | + "payload": { | ||
4 | + "id": "of:0000ffffffff0003/10-of:0000ffffffff0007/20", | ||
5 | + "type": "direct", | ||
6 | + "online": true, | ||
7 | + "linkWidth": 2, | ||
8 | + "src": "of:0000ffffffff0003", | ||
9 | + "srcPort": "10", | ||
10 | + "dst": "of:0000ffffffff0007", | ||
11 | + "dstPort": "20", | ||
12 | + "props" : { | ||
13 | + "BW": "90 Gb" | ||
14 | + } | ||
15 | + } | ||
16 | +} |
1 | +{ | ||
2 | + "event": "addLink", | ||
3 | + "payload": { | ||
4 | + "id": "of:0000ffffffff0007/20-of:0000ffffffff0003/10", | ||
5 | + "type": "direct", | ||
6 | + "online": true, | ||
7 | + "linkWidth": 2, | ||
8 | + "src": "of:0000ffffffff0007", | ||
9 | + "srcPort": "20", | ||
10 | + "dst": "of:0000ffffffff0003", | ||
11 | + "dstPort": "10", | ||
12 | + "props" : { | ||
13 | + "BW": "90 Gb" | ||
14 | + } | ||
15 | + } | ||
16 | +} |
1 | +{ | ||
2 | + "event": "updateLink", | ||
3 | + "payload": { | ||
4 | + "id": "of:0000ffffffff0003/20-of:0000ffffffff0008/10", | ||
5 | + "type": "direct", | ||
6 | + "online": true, | ||
7 | + "linkWidth": 2, | ||
8 | + "src": "of:0000ffffffff0003", | ||
9 | + "srcPort": "20", | ||
10 | + "dst": "of:0000ffffffff0008", | ||
11 | + "dstPort": "10", | ||
12 | + "props" : { | ||
13 | + "BW": "90 Gb" | ||
14 | + } | ||
15 | + } | ||
16 | +} |
1 | +{ | ||
2 | + "event": "updateLink", | ||
3 | + "payload": { | ||
4 | + "id": "of:0000ffffffff0008/10-of:0000ffffffff0003/20", | ||
5 | + "type": "direct", | ||
6 | + "online": true, | ||
7 | + "linkWidth": 2, | ||
8 | + "src": "of:0000ffffffff0008", | ||
9 | + "srcPort": "10", | ||
10 | + "dst": "of:0000ffffffff0003", | ||
11 | + "dstPort": "20", | ||
12 | + "props" : { | ||
13 | + "BW": "90 Gb" | ||
14 | + } | ||
15 | + } | ||
16 | +} |
-
Please register or login to post a comment