Simon Hunt
Committed by Gerrit Code Review

Updated linkupdate test scenario to include 'expected' attribute.

Change-Id: I03e6f61e2b31df101690c68b68e39f3dd7917c6a
{
"event": "updateLink",
"payload": {
"id": "of:000000000000000b/2-of:000000000000000a/1",
"type": "direct",
"online": true,
"expected": false,
"linkWidth": 1.2,
"src": "of:000000000000000b",
"srcPort": "2",
"dst": "of:000000000000000a",
"dstPort": "1"
}
}
{
"event": "updateLink",
"payload": {
"id": "of:000000000000000a/1-of:000000000000000b/2",
"type": "direct",
"online": true,
"expected": false,
"linkWidth": 1.2,
"src": "of:000000000000000a",
"srcPort": "1",
"dst": "of:000000000000000b",
"dstPort": "2"
}
}
......@@ -4,6 +4,7 @@
"id": "of:000000000000000a/1-of:000000000000000b/2",
"type": "direct",
"online": true,
"expected": true,
"linkWidth": 1.2,
"src": "of:000000000000000a",
"srcPort": "1",
......
......@@ -4,6 +4,7 @@
"id": "of:000000000000000b/2-of:000000000000000a/1",
"type": "direct",
"online": true,
"expected": true,
"linkWidth": 1.2,
"src": "of:000000000000000b",
"srcPort": "2",
......
......@@ -4,6 +4,7 @@
"id": "of:000000000000000a/1-of:000000000000000b/2",
"type": "direct",
"online": false,
"expected": true,
"linkWidth": 1.2,
"src": "of:000000000000000a",
"srcPort": "1",
......
......@@ -4,6 +4,7 @@
"id": "of:000000000000000b/2-of:000000000000000a/1",
"type": "direct",
"online": false,
"expected": true,
"linkWidth": 1.2,
"src": "of:000000000000000b",
"srcPort": "2",
......
......@@ -4,6 +4,7 @@
"id": "of:000000000000000a/1-of:000000000000000b/2",
"type": "direct",
"online": true,
"expected": true,
"linkWidth": 1.2,
"src": "of:000000000000000a",
"srcPort": "1",
......
......@@ -4,6 +4,7 @@
"id": "of:000000000000000b/2-of:000000000000000a/1",
"type": "direct",
"online": true,
"expected": true,
"linkWidth": 1.2,
"src": "of:000000000000000b",
"srcPort": "2",
......