[root@bogon good]# /usr/bin/python -m pdb /usr/bin/neutron-server --config-file /usr/share/neutron/neutron-dist.conf --config-dir /usr/share/neutron/server --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugin.ini --config-dir /etc/neutron/conf.d/common --config-dir /etc/neutron/conf.d/neutron-server --log-file /
var/log/neutron/
server.log
> /usr/bin/neutron-server(
4)<module>
()
->
import sys
(Pdb) b /usr/lib/python2.
7/site-packages/networking_generic_switch/generic_switch_mech.py:
554
Breakpoint 1 at /usr/lib/python2.
7/site-packages/networking_generic_switch/generic_switch_mech.py:
554
(Pdb) b /usr/lib/python2.
7/site-packages/networking_generic_switch/generic_switch_mech.py:
75
Breakpoint 2 at /usr/lib/python2.
7/site-packages/networking_generic_switch/generic_switch_mech.py:
75
(Pdb) c
/usr/lib/python2.
7/site-packages/paste/deploy/loadwsgi.py:
22: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
return pkg_resources.EntryPoint.parse(
"x=" +
s).load(False)
> /usr/lib/python2.
7/site-packages/networking_generic_switch/generic_switch_mech.py(
554)GenericSwitchDriver()
->
def _get_devices_by_physnet(self, physnet):
(Pdb)
> /usr/lib/python2.7/site-packages/networking_generic_switch/generic_switch_mech.py(554)GenericSwitchDriver()->{‘__module__‘: ‘networking_g...c_switch_mech‘, ‘__return__‘: {‘__module__‘: ‘networking_g...c_switch_mech‘, ‘__return__‘: {‘__module__‘: ‘networking_g...c_switch_mech‘, ‘__return__‘: {‘__module__‘: ‘networking_g...c_switch_mech‘, ‘__return__‘: {‘__module__‘: ‘networking_g...c_switch_mech‘, ‘__return__‘: {‘__module__‘: ‘networking_g...c_switch_mech‘, ‘__return__‘: {...}, ‘_get_devices_by_physnet‘: <functio...aaa8a0c8>, ‘_is_port_bound‘: <staticm...aaa9c980>, ...}, ‘_get_devices_by_physnet‘: <functio...aaa8a0c8>, ‘_is_port_bound‘: <staticm...aaa9c980>, ...}, ‘_get_devices_by_physnet‘: <functio...aaa8a0c8>, ‘_is_port_bound‘: <staticm...aaa9c980>, ...}, ‘_get_devices_by_physnet‘: <functio...aaa8a0c8>, ‘_is_port_bound‘: <staticm...aaa9c980>, ...}, ‘_get_devices_by_physnet‘: <functio...aaa8a0c8>, ‘_is_port_bound‘: <staticm...aaa9c980>, ...}, ‘_get_devices_by_physnet‘: <functio...aaa8a0c8>, ‘_is_port_bound‘: <staticm...aaa9c980>, ...}
pdb /usr/bin/neutron-server
标签:ice file fun def bre targe lib config paste