X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=src%2Femuvim%2Fapi%2Frest%2Fnetwork.py;h=9aab1e606eda51ad56788f8ca2170866c8599b51;hb=c9abfbec5b0e0ae589c8ad66426e207fbe2385b1;hp=bce10fcb29a71a8de37e3b4c047710261719e3b0;hpb=afccf2a6a1a99bf691b7d64360ef78ab1690fca5;p=osm%2Fvim-emu.git diff --git a/src/emuvim/api/rest/network.py b/src/emuvim/api/rest/network.py index bce10fc..9aab1e6 100755 --- a/src/emuvim/api/rest/network.py +++ b/src/emuvim/api/rest/network.py @@ -38,7 +38,7 @@ from flask import request import json import networkx -logging.basicConfig(level=logging.DEBUG) +logging.basicConfig() CORS_HEADER = {'Access-Control-Allow-Origin': '*'} @@ -90,7 +90,6 @@ class NetworkAction(Resource): if data is None: data = {} - logging.info("data: {}".format(data)) vnf_src_name = data.get("vnf_src_name") vnf_dst_name = data.get("vnf_dst_name") vnf_src_interface = data.get("vnf_src_interface") @@ -150,4 +149,4 @@ class DrawD3jsgraph(Resource): links.append(edge_dict) json = {"nodes":nodes, "links":links} - return json, 200, CORS_HEADER \ No newline at end of file + return json, 200, CORS_HEADER