projects
/
osm
/
vim-emu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #225 from stevenvanrossem/master
[osm/vim-emu.git]
/
src
/
emuvim
/
api
/
rest
/
network.py
diff --git
a/src/emuvim/api/rest/network.py
b/src/emuvim/api/rest/network.py
index
f68507c
..
bce10fc
100755
(executable)
--- a/
src/emuvim/api/rest/network.py
+++ b/
src/emuvim/api/rest/network.py
@@
-81,10
+81,9
@@
class NetworkAction(Resource):
# no check if vnfs are really connected to this datacenter...
try:
# check json payload
# no check if vnfs are really connected to this datacenter...
try:
# check json payload
- logging.
info
("json: {}".format(request.json))
- logging.
info
("args: {}".format(request.args))
+ logging.
debug
("json: {}".format(request.json))
+ logging.
debug
("args: {}".format(request.args))
- # when called directly with curl via REST
data = request.json
if data is None:
data = request.args
data = request.json
if data is None:
data = request.args