码迷,mamicode.com
首页 > 系统相关 > 详细

Eclipse debug neutron-server

时间:2016-05-11 14:53:54      阅读:236      评论:0      收藏:0      [点我收藏+]

标签:

 

kill neutron-server in screen by ctr-c q-svc

cp /usr/local/bin/neutron-server opt/stack/neutron/bin/neutron-server.py

/opt/stack/neutron/bin$ chmod 644 neutron-server.py

F5 flash neutron project in eclipse

 

diff --git a/neutron/common/eventlet_utils.py b/neutron/common/eventlet_utils.py
index cf995d5..2056562 100644
--- a/neutron/common/eventlet_utils.py
+++ b/neutron/common/eventlet_utils.py
@@ -29,4 +29,4 @@ def monkey_patch():
         #       eventletmonkey_patch-breaks
         eventlet.monkey_patch(os=False, thread=False)
     else:
-        eventlet.monkey_patch()
+        eventlet.monkey_patch(os=False, thread=False)

 

debug configurations

project = neutron

Main Modle = ${workspace_loc:neutron/bin/neutron-server.py}

Arguments = --config-file /etc/neutron/neutron.conf  --config-file /etc/neutron/plugins/ml2/ml2_conf.ini

 

F5 step in

F6 next step

F7 step out

 

neutron.plugins.ml2.plugin.Ml2Plugin.get_subnets

Eclipse debug neutron-server

标签:

原文地址:http://www.cnblogs.com/allcloud/p/5481715.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!