switch from openstack.common.cfg to oslo.config.cfg
Signed-off-by: YAMAMOTO Takashi <yamamoto@valinux.co.jp> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
This commit is contained in:
parent
998feb1b40
commit
0af7056b7d
bin
ryu
@ -26,10 +26,10 @@ monkey.patch_all()
|
||||
# use it
|
||||
#
|
||||
# NOTE: this modifies sys.path and thus affects the following imports.
|
||||
# eg. openstack.common.cfg.
|
||||
# eg. oslo.config.cfg.
|
||||
import ryu.contrib
|
||||
|
||||
from openstack.common import cfg
|
||||
from oslo.config import cfg
|
||||
import logging
|
||||
import sys
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
from openstack.common import cfg
|
||||
from oslo.config import cfg
|
||||
import logging
|
||||
|
||||
from quantumclient import client as q_client
|
||||
|
@ -16,7 +16,7 @@
|
||||
|
||||
import collections
|
||||
import gevent
|
||||
from openstack.common import cfg
|
||||
from oslo.config import cfg
|
||||
import logging
|
||||
import netaddr
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
from openstack.common import cfg
|
||||
from oslo.config import cfg
|
||||
import logging
|
||||
import webob.dec
|
||||
|
||||
|
@ -15,7 +15,7 @@
|
||||
# limitations under the License.
|
||||
|
||||
import contextlib
|
||||
from openstack.common import cfg
|
||||
from oslo.config import cfg
|
||||
import logging
|
||||
import gevent
|
||||
import traceback
|
||||
|
@ -17,7 +17,7 @@
|
||||
global flags
|
||||
"""
|
||||
|
||||
from openstack.common import cfg
|
||||
from oslo.config import cfg
|
||||
|
||||
CONF = cfg.CONF
|
||||
|
||||
|
@ -19,7 +19,7 @@ slimmed down version of OVSBridge in quantum agent
|
||||
"""
|
||||
|
||||
import functools
|
||||
from openstack.common import cfg
|
||||
from oslo.config import cfg
|
||||
import logging
|
||||
|
||||
import ryu.exception as ryu_exc
|
||||
|
@ -14,7 +14,7 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
from openstack.common import cfg
|
||||
from oslo.config import cfg
|
||||
import inspect
|
||||
import logging
|
||||
import logging.handlers
|
||||
|
Loading…
x
Reference in New Issue
Block a user