Merge branch 'master' of github.com:stevenvanrossem/son-emu
authorstevenvanrossem <steven.vanrossem@intec.ugent.be>
Fri, 3 Feb 2017 15:42:51 +0000 (16:42 +0100)
committerstevenvanrossem <steven.vanrossem@intec.ugent.be>
Fri, 3 Feb 2017 15:42:51 +0000 (16:42 +0100)
Conflicts:
src/emuvim/api/rest/network.py

dashboard/README.md [changed mode: 0644->0755]
dashboard/css/main.css [changed mode: 0644->0755]
dashboard/img/SONATA_new.png [changed mode: 0644->0755]
dashboard/index.html [changed mode: 0644->0755]
dashboard/js/main.js [changed mode: 0644->0755]
dashboard/son-emu-dashboard-screenshot.png [changed mode: 0644->0755]
misc/sonata-stress-service.son [changed mode: 0644->0755]
src/emuvim/api/rest/monitor.py
src/emuvim/api/rest/network.py

old mode 100644 (file)
new mode 100755 (executable)
old mode 100644 (file)
new mode 100755 (executable)
old mode 100644 (file)
new mode 100755 (executable)
old mode 100644 (file)
new mode 100755 (executable)
old mode 100644 (file)
new mode 100755 (executable)
old mode 100644 (file)
new mode 100755 (executable)
old mode 100644 (file)
new mode 100755 (executable)
index 6f99bdf..379c8d5 100755 (executable)
@@ -214,7 +214,7 @@ class MonitorLinkAction(Resource):
             return (str(c1) + " " + str(c2)), 200, CORS_HEADER
         except Exception as ex:
             logging.exception("API error.")
-            return ex.message, 500
+            return ex.message, 500, CORS_HEADER
 
 class MonitorSkewAction(Resource):
     """
index c4ab23f..10baa8f 100755 (executable)
@@ -38,6 +38,7 @@ from flask import request
 import json
 
 logging.basicConfig(level=logging.INFO)
+
 CORS_HEADER = {'Access-Control-Allow-Origin': '*'}
 
 # the global net is set from the topology file, and connected via connectDCNetwork function in rest_api_endpoint.py