From dad988484dc1f95193f49ef9b456bf84254d0e92 Mon Sep 17 00:00:00 2001 From: peusterm Date: Fri, 12 Apr 2019 15:10:19 +0200 Subject: [PATCH] Disabled monkey patching to unblock LLCM and REST APIs again. Change-Id: I2bac649900ce45e754b9cfbe6ecec8af019cadb3 Signed-off-by: peusterm --- src/emuvim/dcemulator/net.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/emuvim/dcemulator/net.py b/src/emuvim/dcemulator/net.py index 9e491b3..6258543 100755 --- a/src/emuvim/dcemulator/net.py +++ b/src/emuvim/dcemulator/net.py @@ -31,7 +31,7 @@ import os import json import networkx as nx from subprocess import Popen -from gevent import monkey +# from gevent import monkey from mininet.net import Containernet from mininet.node import OVSSwitch, OVSKernelSwitch, Docker, RemoteController from mininet.cli import CLI @@ -42,7 +42,7 @@ from emuvim.dcemulator.node import Datacenter, EmulatorCompute from emuvim.dcemulator.resourcemodel import ResourceModelRegistrar # ensure correct functionality of all gevent based REST servers -monkey.patch_all() +# monkey.patch_all() # setup logging LOG = logging.getLogger("dcemulator.net") -- 2.25.1