GUI -- [ONOS-347] - Suppress display of offline-devices (press the 'M' key).
- also minor cleanup of link "online" state, based on src/tgt nodes online state.
Change-Id: I6d4c634e4d9f7f994f9871b7c95e3264d6ada2bb
diff --git a/web/gui/src/main/webapp/json/ev/simple/ev_14_onos.json b/web/gui/src/main/webapp/json/ev/simple/ev_14_onos.json
new file mode 100644
index 0000000..9df9d61
--- /dev/null
+++ b/web/gui/src/main/webapp/json/ev/simple/ev_14_onos.json
@@ -0,0 +1,22 @@
+{
+ "event": "removeDevice",
+ "payload": {
+ "id": "of:0000ffffffff0003",
+ "type": "switch",
+ "online": false,
+ "location": {
+ "type": "latlng",
+ "lat": 40.7127,
+ "lng": -74.0059
+ },
+ "labels": [
+ "",
+ "sw-3",
+ "0000ffffffff0003"
+ ],
+ "metaUi": {
+ "x": 800,
+ "y": 280
+ }
+ }
+}
diff --git a/web/gui/src/main/webapp/json/ev/simple/ev_5_onos.json b/web/gui/src/main/webapp/json/ev/simple/ev_5_onos.json
index 6f390b5..755255a 100644
--- a/web/gui/src/main/webapp/json/ev/simple/ev_5_onos.json
+++ b/web/gui/src/main/webapp/json/ev/simple/ev_5_onos.json
@@ -3,6 +3,7 @@
"payload": {
"id": "of:0000ffffffff0003/21-of:0000ffffffff0008/20",
"type": "direct",
+ "online": true,
"linkWidth": 2,
"src": "of:0000ffffffff0003",
"srcPort": "21",
diff --git a/web/gui/src/main/webapp/json/ev/simple/scenario.json b/web/gui/src/main/webapp/json/ev/simple/scenario.json
index 4f2ae60..524377c 100644
--- a/web/gui/src/main/webapp/json/ev/simple/scenario.json
+++ b/web/gui/src/main/webapp/json/ev/simple/scenario.json
@@ -24,6 +24,7 @@
"10. update link (increase width, update props)",
"11. update link (reduce width, update props)",
"12. remove link",
- "13. remove host (10.0.0.17)"
+ "13. remove host (10.0.0.17)",
+ "13. remove device [3]"
]
}