Added sample switch data, and augmented selection logic to fetch the detail data from the server.
Also used styled table for displaying properties.
diff --git a/web/gui/src/main/webapp/json/of_0000000000000002.json b/web/gui/src/main/webapp/json/of_0000000000000002.json
new file mode 100644
index 0000000..049329d
--- /dev/null
+++ b/web/gui/src/main/webapp/json/of_0000000000000002.json
@@ -0,0 +1,13 @@
+{
+ "comment": "sample device properties",
+ "id": "of:0000000000000002",
+ "propOrder": [ "name", "type", "dpid", "latitude", "longitude", "allowed" ],
+ "props": {
+ "allowed": true,
+ "latitude": 37.3,
+ "longitude": 121.9,
+ "name": "SJC-W10",
+ "dpid": "00:00:00:00:00:00:00:02",
+ "type": "Roadm"
+ }
+}