neutron-vpnaas/neutron_vpnaas/cmd/__init__.py
Ihar Hrachyshka e6c88f5602 Explicitly monkey patch VPN agent
Don't rely on l3_agent entry point in neutron to do it for the agent.

There are plans [1] to move eventlet monkey patching into a separate
location other than neutron.agent.l3_agent. That means we won't be able
to rely on base l3_agent module to be monkey patched for us.

This patch mimics the tree structure used in neutron to keep eventlet
patched services in single place. Even though there is only one agent in
tree that needs monkey patching, it's better to keep things uniformly
with neutron, and allow to introduce more agents later without
explicitly adding another call to monkey_patch() for those.

[1]: I2bc16ca4422c01d64e9fac4910214dbb0d0326ff

Change-Id: I2d7081dbd4cb532332e3b66667bb8c71aa5a6658
2015-02-18 21:21:33 +00:00

0 lines
Python