GUI -- added topo test scenario skeleton for showHighlights.
Change-Id: Ie2cf901bc37343618563b38b3825b03a4c0db668
diff --git a/web/gui/src/test/_karma/ev/badges/ev_1_addInstance.json b/web/gui/src/test/_karma/ev/badges/ev_1_addInstance.json
new file mode 100644
index 0000000..cdb9536
--- /dev/null
+++ b/web/gui/src/test/_karma/ev/badges/ev_1_addInstance.json
@@ -0,0 +1,14 @@
+{
+ "event": "addInstance",
+ "payload": {
+ "id": "ONOS",
+ "ip": "192.168.56.101",
+ "online": true,
+ "uiAttached": true,
+ "switches": 2,
+ "labels": [
+ "ONOS",
+ "192.168.56.101"
+ ]
+ }
+}
diff --git a/web/gui/src/test/_karma/ev/badges/ev_2_addDevice_s1.json b/web/gui/src/test/_karma/ev/badges/ev_2_addDevice_s1.json
new file mode 100644
index 0000000..2e9d30f
--- /dev/null
+++ b/web/gui/src/test/_karma/ev/badges/ev_2_addDevice_s1.json
@@ -0,0 +1,18 @@
+{
+ "event": "addDevice",
+ "payload": {
+ "id": "of:0000000000000001",
+ "type": "switch",
+ "online": true,
+ "master": "ONOS",
+ "labels": [
+ "",
+ "switch-1",
+ "of:0000000000000001"
+ ],
+ "metaUi": {
+ "x": 200,
+ "y": 200
+ }
+ }
+}
diff --git a/web/gui/src/test/_karma/ev/badges/ev_3_addDevice_s2.json b/web/gui/src/test/_karma/ev/badges/ev_3_addDevice_s2.json
new file mode 100644
index 0000000..79c04d3
--- /dev/null
+++ b/web/gui/src/test/_karma/ev/badges/ev_3_addDevice_s2.json
@@ -0,0 +1,18 @@
+{
+ "event": "addDevice",
+ "payload": {
+ "id": "of:0000000000000002",
+ "type": "switch",
+ "online": true,
+ "master": "ONOS",
+ "labels": [
+ "",
+ "switch-2",
+ "of:0000000000000002"
+ ],
+ "metaUi": {
+ "x": 400,
+ "y": 220
+ }
+ }
+}
diff --git a/web/gui/src/test/_karma/ev/badges/ev_4_addLink_1_2.json b/web/gui/src/test/_karma/ev/badges/ev_4_addLink_1_2.json
new file mode 100644
index 0000000..fb95283
--- /dev/null
+++ b/web/gui/src/test/_karma/ev/badges/ev_4_addLink_1_2.json
@@ -0,0 +1,16 @@
+{
+ "event": "addLink",
+ "payload": {
+ "id": "of:0000000000000001/5-of:0000000000000002/7",
+ "type": "direct",
+ "online": true,
+ "linkWidth": 2,
+ "src": "of:0000000000000001",
+ "srcPort": "5",
+ "dst": "of:0000000000000002",
+ "dstPort": "7",
+ "props" : {
+ "BW": "70 Gb"
+ }
+ }
+}
diff --git a/web/gui/src/test/_karma/ev/badges/ev_5_showHighlights_clear.json b/web/gui/src/test/_karma/ev/badges/ev_5_showHighlights_clear.json
new file mode 100644
index 0000000..615efd2
--- /dev/null
+++ b/web/gui/src/test/_karma/ev/badges/ev_5_showHighlights_clear.json
@@ -0,0 +1,8 @@
+{
+ "event": "showHighlights",
+ "payload": {
+ "devices": [],
+ "hosts": [],
+ "links": []
+ }
+}
diff --git a/web/gui/src/test/_karma/ev/badges/ev_6_showHighlights_stuff.json b/web/gui/src/test/_karma/ev/badges/ev_6_showHighlights_stuff.json
new file mode 100644
index 0000000..7e72853
--- /dev/null
+++ b/web/gui/src/test/_karma/ev/badges/ev_6_showHighlights_stuff.json
@@ -0,0 +1,14 @@
+{
+ "event": "showHighlights",
+ "payload": {
+ "devices": [],
+ "hosts": [],
+ "links": [
+ {
+ "css": "primary",
+ "id": "of:0000000000000001/5-of:0000000000000002/7",
+ "label": "Antz!"
+ }
+ ]
+ }
+}
diff --git a/web/gui/src/test/_karma/ev/badges/ev_7_showHighlights_clear.json b/web/gui/src/test/_karma/ev/badges/ev_7_showHighlights_clear.json
new file mode 100644
index 0000000..615efd2
--- /dev/null
+++ b/web/gui/src/test/_karma/ev/badges/ev_7_showHighlights_clear.json
@@ -0,0 +1,8 @@
+{
+ "event": "showHighlights",
+ "payload": {
+ "devices": [],
+ "hosts": [],
+ "links": []
+ }
+}
diff --git a/web/gui/src/test/_karma/ev/badges/scenario.json b/web/gui/src/test/_karma/ev/badges/scenario.json
new file mode 100644
index 0000000..0ca4f4f
--- /dev/null
+++ b/web/gui/src/test/_karma/ev/badges/scenario.json
@@ -0,0 +1,12 @@
+{
+ "comments": [
+ "Demo of adding badges to devices"
+ ],
+ "title": "Demo adding badges",
+ "params": {
+ "lastAuto": 5
+ },
+ "description": [
+ "Demonstrate the device badging feature."
+ ]
+}
diff --git a/web/gui/src/test/_karma/ev/traffic/scenario.json b/web/gui/src/test/_karma/ev/traffic/scenario.json
index 57c0373..4e7ce4f 100644
--- a/web/gui/src/test/_karma/ev/traffic/scenario.json
+++ b/web/gui/src/test/_karma/ev/traffic/scenario.json
@@ -1,6 +1,8 @@
{
"comments": [
- "Stepping through showTraffic"
+ "Stepping through showTraffic",
+ "NOTE: showTraffic event is deprecated",
+ " This needs to be re-worked to use showHighlights"
],
"title": "Show Traffic Scenario",
"params": {