GUI -- augmented hash parsing to include flags (after '?'), which are passed into view callbacks as a boolean map.
- moved event test files into sub directories
- prepared topo2.js for scenario choice via hash context and 'local' (and 'debug') flag.
- added 'simple' scenario: 2 switches, 1 link, and 2 hosts.
- augmented topo event dispatch for yet-to-be-implemented event handlers.
- implemented addHost() event handler.
Change-Id: I06b032684fd4d5f85262d13d58ad10edae23b3ed
diff --git a/web/gui/src/main/webapp/json/ev/startup/scenario.json b/web/gui/src/main/webapp/json/ev/startup/scenario.json
new file mode 100644
index 0000000..37939ca0
--- /dev/null
+++ b/web/gui/src/main/webapp/json/ev/startup/scenario.json
@@ -0,0 +1,10 @@
+{
+ "comments": [
+ "This scenario steps through adding devices and links.",
+ "(Typical 'start-ip' of the view.)"
+ ],
+ "title": "Startup Scenario",
+ "params": {
+ "lastAuto": 32
+ }
+}
\ No newline at end of file