Added shortest-path computation tool:

admin@deva-onos1:~/ONOS/web$ ./get_network_graph.py shortest-path 00:00:00:00:00:00:02:01 00:00:00:00:00:00:04:01
[
    {
        "src-switch": "00:00:00:00:00:00:02:01",
        "src-port": 51,
        "dst-switch": "00:00:00:00:00:00:01:02",
        "dst-port": 4
    },
    {
        "src-switch": "00:00:00:00:00:00:01:02",
        "src-port": 3,
        "dst-switch": "00:00:00:00:00:00:01:03",
        "dst-port": 2
    },
    {
        "src-switch": "00:00:00:00:00:00:01:03",
        "src-port": 3,
        "dst-switch": "00:00:00:00:00:00:01:04",
        "dst-port": 2
    },
    {
        "src-switch": "00:00:00:00:00:00:01:04",
        "src-port": 5,
        "dst-switch": "00:00:00:00:00:00:04:01",
        "dst-port": 26
    }
]

Removed extra (empty) new line in the web/get_datagrid_ngevents.py output

Change-Id: I5ac8981447fbe26a26b812e8d811f902665123d7
diff --git a/web/get_datagrid_ngevents.py b/web/get_datagrid_ngevents.py
index 34c3338..f7ef7d4 100755
--- a/web/get_datagrid_ngevents.py
+++ b/web/get_datagrid_ngevents.py
@@ -33,7 +33,7 @@
 # Sample output:
 
 def print_datagrid_map(parsedResult):
-  print '%s' % (parsedResult)
+  print '%s' % (parsedResult),
 
 def get_datagrid_map():
   try: