Signed-off-by: YAMAMOTO Takashi <[email protected]> --- bin/ryu-manager | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-)
diff --git a/bin/ryu-manager b/bin/ryu-manager index d53906b..1e8d3aa 100755 --- a/bin/ryu-manager +++ b/bin/ryu-manager @@ -20,6 +20,15 @@ import gevent from gevent import monkey monkey.patch_all() +# TODO: +# Right now, we have our own patched copy of ovs python bindings +# Once our modification is upstreamed and widely deployed, +# use it +# +# NOTE: this modifies sys.path and thus affects the following imports. +# eg. openstack.common.cfg. +import ryu.contrib + from openstack.common import cfg import logging import sys @@ -33,12 +42,6 @@ from ryu.app import wsgi from ryu.base.app_manager import AppManager from ryu.controller import controller -# TODO: -# Right now, we have our own patched copy of ovs python bindings -# Once our modification is upstreamed and widely deployed, -# use it -import ryu.contrib - CONF = cfg.CONF CONF.register_cli_opts([ -- 1.7.12 ------------------------------------------------------------------------------ Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb _______________________________________________ Ryu-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ryu-devel
