Move files to new locations for oslo-config
This commit is contained in:
@@ -107,7 +107,7 @@ and --config-dir::
|
||||
self.register_cli_opts(opts)
|
||||
|
||||
Option values are parsed from any supplied config files using
|
||||
openstack.common.iniparser. If none are specified, a default set is used
|
||||
oslo.config.iniparser. If none are specified, a default set is used
|
||||
e.g. glance-api.conf and glance-common.conf::
|
||||
|
||||
glance-api.conf:
|
||||
@@ -220,7 +220,7 @@ log files::
|
||||
This module also contains a global instance of the CommonConfigOpts class
|
||||
in order to support a common usage pattern in OpenStack::
|
||||
|
||||
from openstack.common import cfg
|
||||
from oslo.config import cfg
|
||||
|
||||
opts = [
|
||||
cfg.StrOpt('bind_host', default='0.0.0.0'),
|
||||
@@ -268,7 +268,7 @@ import os
|
||||
import string
|
||||
import sys
|
||||
|
||||
from openstack.common import iniparser
|
||||
from oslo.config import iniparser
|
||||
|
||||
|
||||
class Error(Exception):
|
||||
@@ -23,7 +23,7 @@ import unittest
|
||||
|
||||
import stubout
|
||||
|
||||
from openstack.common.cfg import *
|
||||
from oslo.config.cfg import *
|
||||
|
||||
|
||||
class ExceptionsTestCase(unittest.TestCase):
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
import unittest
|
||||
|
||||
from openstack.common import iniparser
|
||||
from oslo.config import iniparser
|
||||
|
||||
|
||||
class TestParser(iniparser.BaseParser):
|
||||
@@ -14,7 +14,7 @@
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
from openstack.common import cfg
|
||||
from oslo.config import cfg
|
||||
|
||||
CONF = cfg.CONF
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
from openstack.common import cfg
|
||||
from oslo.config import cfg
|
||||
|
||||
CONF = cfg.CONF
|
||||
|
||||
|
||||
Reference in New Issue
Block a user