Change oslo package names according to the latest oslo release 2.0.0
Also requirements have modified to reflect the latest oslo packages. Change-Id: I5f5e28ef183dfbafc8c1215ef92d55f6358de27d
This commit is contained in:
parent
be966dbdf9
commit
8763b5db06
@ -13,7 +13,7 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
from oslo.config import cfg
|
||||
from oslo_config import cfg
|
||||
from stevedore import driver
|
||||
from stevedore import named
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
||||
# limitations under the License.
|
||||
import os
|
||||
|
||||
from oslo.config import cfg
|
||||
from oslo_config import cfg
|
||||
|
||||
from poppy import bootstrap
|
||||
from poppy.common import cli
|
||||
|
@ -16,7 +16,7 @@
|
||||
import os
|
||||
import socket
|
||||
|
||||
from oslo.config import cfg
|
||||
from oslo_config import cfg
|
||||
|
||||
from poppy import bootstrap
|
||||
from poppy.openstack.common import log
|
||||
|
@ -23,7 +23,7 @@ class DistributedTaskDriverBase(object):
|
||||
"""Interface definition for distributed task queue driver.
|
||||
|
||||
:param conf: Configuration containing options for this driver.
|
||||
:type conf: `oslo.config.ConfigOpts`
|
||||
:type conf: `oslo_config.ConfigOpts`
|
||||
"""
|
||||
def __init__(self, conf):
|
||||
self._conf = conf
|
||||
|
@ -15,7 +15,7 @@
|
||||
|
||||
import logging
|
||||
|
||||
from oslo.config import cfg
|
||||
from oslo_config import cfg
|
||||
from taskflow.jobs import backends as job_backends
|
||||
from taskflow.persistence import backends as persistence_backends
|
||||
|
||||
|
@ -13,7 +13,7 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
from oslo.config import cfg
|
||||
from oslo_config import cfg
|
||||
from taskflow.patterns import graph_flow
|
||||
from taskflow.patterns import linear_flow
|
||||
from taskflow import retry
|
||||
|
@ -13,7 +13,7 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
from oslo.config import cfg
|
||||
from oslo_config import cfg
|
||||
from taskflow.patterns import graph_flow
|
||||
from taskflow.patterns import linear_flow
|
||||
from taskflow import retry
|
||||
|
@ -13,7 +13,7 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
from oslo.config import cfg
|
||||
from oslo_config import cfg
|
||||
from taskflow.patterns import graph_flow
|
||||
from taskflow.patterns import linear_flow
|
||||
|
||||
|
@ -13,7 +13,7 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
from oslo.config import cfg
|
||||
from oslo_config import cfg
|
||||
from taskflow.patterns import graph_flow
|
||||
from taskflow.patterns import linear_flow
|
||||
from taskflow import retry
|
||||
|
@ -13,7 +13,7 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
from oslo.config import cfg
|
||||
from oslo_config import cfg
|
||||
from taskflow.patterns import linear_flow
|
||||
|
||||
from poppy.distributed_task.taskflow.task import update_service_state_tasks
|
||||
|
@ -14,7 +14,7 @@
|
||||
# limitations under the License.
|
||||
|
||||
|
||||
from oslo.utils import uuidutils
|
||||
from oslo_utils import uuidutils
|
||||
from taskflow.conductors import single_threaded
|
||||
from taskflow import engines
|
||||
from taskflow.listeners import logging as logging_listener
|
||||
|
@ -16,7 +16,7 @@
|
||||
import json
|
||||
import requests
|
||||
|
||||
from oslo.config import cfg
|
||||
from oslo_config import cfg
|
||||
from taskflow import task
|
||||
|
||||
from poppy.distributed_task.utils import memoized_controllers
|
||||
|
@ -16,7 +16,7 @@
|
||||
import json
|
||||
import time
|
||||
|
||||
from oslo.config import cfg
|
||||
from oslo_config import cfg
|
||||
from taskflow import task
|
||||
|
||||
from poppy.distributed_task.taskflow.task import common
|
||||
|
@ -16,7 +16,7 @@
|
||||
import json
|
||||
import time
|
||||
|
||||
from oslo.config import cfg
|
||||
from oslo_config import cfg
|
||||
from taskflow import task
|
||||
|
||||
from poppy.distributed_task.utils import exc_loader
|
||||
|
@ -15,7 +15,7 @@
|
||||
|
||||
import json
|
||||
|
||||
from oslo.config import cfg
|
||||
from oslo_config import cfg
|
||||
from taskflow import task
|
||||
|
||||
from poppy.distributed_task.utils import memoized_controllers
|
||||
|
@ -15,7 +15,7 @@
|
||||
|
||||
import json
|
||||
|
||||
from oslo.config import cfg
|
||||
from oslo_config import cfg
|
||||
from taskflow import task
|
||||
|
||||
from poppy.distributed_task.utils import memoized_controllers
|
||||
|
@ -16,7 +16,7 @@
|
||||
import json
|
||||
import time
|
||||
|
||||
from oslo.config import cfg
|
||||
from oslo_config import cfg
|
||||
from taskflow import task
|
||||
|
||||
from poppy.distributed_task.taskflow.task import common
|
||||
|
@ -14,7 +14,7 @@
|
||||
# limitations under the License.
|
||||
|
||||
|
||||
from oslo.config import cfg
|
||||
from oslo_config import cfg
|
||||
|
||||
from poppy import bootstrap
|
||||
from poppy.openstack.common import log
|
||||
|
@ -31,7 +31,7 @@ class DNSDriverBase(object):
|
||||
CDN provider url.
|
||||
|
||||
:param conf: Configuration containing options for this driver.
|
||||
:type conf: `oslo.config.ConfigOpts`
|
||||
:type conf: `oslo_config.ConfigOpts`
|
||||
"""
|
||||
|
||||
def __init__(self, conf):
|
||||
|
@ -15,7 +15,7 @@
|
||||
|
||||
"""DNS Provider implementation."""
|
||||
|
||||
from oslo.config import cfg
|
||||
from oslo_config import cfg
|
||||
import pyrax
|
||||
|
||||
from poppy.dns import base
|
||||
|
@ -17,7 +17,7 @@ import json
|
||||
import random
|
||||
|
||||
import jsonpatch
|
||||
from oslo.config import cfg
|
||||
from oslo_config import cfg
|
||||
|
||||
from poppy.common import errors
|
||||
from poppy.distributed_task.taskflow.flow import create_service
|
||||
|
@ -36,7 +36,7 @@ import os
|
||||
import sys
|
||||
import traceback
|
||||
|
||||
from oslo.config import cfg
|
||||
from oslo_config import cfg
|
||||
import six
|
||||
from six import moves
|
||||
|
||||
@ -124,7 +124,7 @@ generic_log_opts = [
|
||||
|
||||
DEFAULT_LOG_LEVELS = ['amqp=WARN', 'amqplib=WARN', 'boto=WARN',
|
||||
'qpid=WARN', 'sqlalchemy=WARN', 'suds=INFO',
|
||||
'oslo.messaging=INFO', 'iso8601=WARN',
|
||||
'oslo_messaging=INFO', 'iso8601=WARN',
|
||||
'requests.packages.urllib3.connectionpool=WARN',
|
||||
'urllib3.connectionpool=WARN', 'websocket=WARN']
|
||||
|
||||
|
@ -18,7 +18,7 @@
|
||||
import json
|
||||
|
||||
from akamai import edgegrid
|
||||
from oslo.config import cfg
|
||||
from oslo_config import cfg
|
||||
import requests
|
||||
|
||||
from poppy.openstack.common import log
|
||||
|
@ -29,7 +29,7 @@ class ProviderDriverBase(object):
|
||||
loaded from the config file.
|
||||
|
||||
:param conf: Configuration containing options for this driver.
|
||||
:type conf: `oslo.config.ConfigOpts`
|
||||
:type conf: `oslo_config.ConfigOpts`
|
||||
"""
|
||||
|
||||
def __init__(self, conf):
|
||||
|
@ -16,7 +16,7 @@
|
||||
"""CloudFront CDN Provider implementation."""
|
||||
|
||||
import boto
|
||||
from oslo.config import cfg
|
||||
from oslo_config import cfg
|
||||
import requests
|
||||
|
||||
from poppy.openstack.common import log as logging
|
||||
|
@ -16,7 +16,7 @@
|
||||
"""Fastly CDN Provider implementation."""
|
||||
|
||||
import fastly
|
||||
from oslo.config import cfg
|
||||
from oslo_config import cfg
|
||||
import requests
|
||||
|
||||
from poppy.openstack.common import log as logging
|
||||
|
@ -16,7 +16,7 @@
|
||||
"""Max CDN Provider implementation."""
|
||||
|
||||
import maxcdn
|
||||
from oslo.config import cfg
|
||||
from oslo_config import cfg
|
||||
import requests
|
||||
|
||||
from poppy.openstack.common import log as logging
|
||||
|
@ -15,7 +15,7 @@
|
||||
|
||||
import abc
|
||||
|
||||
from oslo.config import cfg
|
||||
from oslo_config import cfg
|
||||
import six
|
||||
|
||||
|
||||
@ -38,7 +38,7 @@ class StorageDriverBase(object):
|
||||
loaded from the config file.
|
||||
|
||||
:param conf: Configuration containing options for this driver.
|
||||
:type conf: `oslo.config.ConfigOpts`
|
||||
:type conf: `oslo_config.ConfigOpts`
|
||||
"""
|
||||
|
||||
def __init__(self, conf):
|
||||
|
@ -26,7 +26,7 @@ from cassandra import cluster
|
||||
from cassandra import policies
|
||||
from cassandra import query
|
||||
from cdeploy import migrator
|
||||
from oslo.config import cfg
|
||||
from oslo_config import cfg
|
||||
|
||||
from poppy.openstack.common import log as logging
|
||||
from poppy.storage import base
|
||||
|
@ -19,7 +19,7 @@ from poppy.openstack.common import log as logging
|
||||
from poppy.storage import base
|
||||
from poppy.storage.mockdb import controllers
|
||||
|
||||
from oslo.config import cfg
|
||||
from oslo_config import cfg
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
|
@ -26,7 +26,7 @@ no common way to specify / pass configuration files
|
||||
to the WSGI app when it is called from other apps.
|
||||
"""
|
||||
|
||||
from oslo.config import cfg
|
||||
from oslo_config import cfg
|
||||
|
||||
from poppy import bootstrap
|
||||
|
||||
|
@ -23,7 +23,7 @@ class TransportDriverBase(object):
|
||||
"""Base class for Transport Drivers to document the expected interface.
|
||||
|
||||
:param conf: configuration instance
|
||||
:type conf: oslo.config.cfg.CONF
|
||||
:type conf: oslo_config.cfg.CONF
|
||||
"""
|
||||
|
||||
def __init__(self, conf, manager):
|
||||
|
@ -16,7 +16,7 @@
|
||||
import json
|
||||
import uuid
|
||||
|
||||
from oslo.config import cfg
|
||||
from oslo_config import cfg
|
||||
import pecan
|
||||
from pecan import hooks
|
||||
|
||||
|
@ -15,7 +15,7 @@
|
||||
|
||||
from wsgiref import simple_server
|
||||
|
||||
from oslo.config import cfg
|
||||
from oslo_config import cfg
|
||||
import pecan
|
||||
|
||||
from poppy.openstack.common import log
|
||||
|
@ -13,7 +13,7 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
from oslo.config import cfg
|
||||
from oslo_config import cfg
|
||||
import pecan
|
||||
from pecan import hooks
|
||||
|
||||
|
@ -12,4 +12,6 @@ python-keystoneclient>=0.4.1
|
||||
WebOb>=1.2.3,<1.3
|
||||
stevedore>=0.10
|
||||
six>=1.4.1
|
||||
oslo.config>=1.2.0
|
||||
oslo.config>=2.0.0
|
||||
oslo.serialization>=1.7.0
|
||||
oslo.utils>=2.0.0
|
||||
|
@ -1,4 +1,5 @@
|
||||
oslosphinx
|
||||
sphinx
|
||||
sphinxcontrib-pecanwsme
|
||||
sphinxcontrib-httpdomain
|
||||
sphinxcontrib-httpdomain
|
||||
oslo.i18n>=2.1.0
|
@ -16,7 +16,7 @@
|
||||
import os
|
||||
|
||||
import fixtures
|
||||
from oslo.config import cfg
|
||||
from oslo_config import cfg
|
||||
import testtools
|
||||
|
||||
|
||||
|
@ -16,7 +16,7 @@
|
||||
import os
|
||||
|
||||
import mock
|
||||
from oslo.config import cfg
|
||||
from oslo_config import cfg
|
||||
import webtest
|
||||
|
||||
from poppy import bootstrap
|
||||
|
@ -21,7 +21,7 @@ except ImportError:
|
||||
import uuid
|
||||
|
||||
import ddt
|
||||
from oslo.config import cfg
|
||||
from oslo_config import cfg
|
||||
import pecan
|
||||
|
||||
from poppy.transport.pecan.controllers import base as c_base
|
||||
|
@ -6,7 +6,7 @@ hacking
|
||||
mock
|
||||
nose
|
||||
openstack.nose_plugin
|
||||
oslotest
|
||||
oslotest>=1.9.0
|
||||
requests
|
||||
testrepository
|
||||
testtools
|
||||
|
@ -15,7 +15,7 @@
|
||||
|
||||
"""Unittests for TaskFlow distributed_task driver implementation."""
|
||||
|
||||
from oslo.config import cfg
|
||||
from oslo_config import cfg
|
||||
|
||||
from poppy.distributed_task.taskflow import driver
|
||||
from tests.unit import base
|
||||
|
@ -16,7 +16,7 @@
|
||||
"""Unittests for TaskFlow distributed_task service_controller."""
|
||||
|
||||
import mock
|
||||
from oslo.config import cfg
|
||||
from oslo_config import cfg
|
||||
|
||||
from poppy.distributed_task.taskflow import driver
|
||||
from tests.unit import base
|
||||
|
@ -16,7 +16,7 @@
|
||||
"""Unittests for Rackspace DNS Provider implementation."""
|
||||
|
||||
import mock
|
||||
from oslo.config import cfg
|
||||
from oslo_config import cfg
|
||||
import pyrax
|
||||
|
||||
from poppy.dns.rackspace import driver
|
||||
|
@ -17,7 +17,7 @@ import uuid
|
||||
|
||||
import ddt
|
||||
import mock
|
||||
from oslo.config import cfg
|
||||
from oslo_config import cfg
|
||||
import pyrax.exceptions as exc
|
||||
|
||||
from poppy.dns.rackspace import driver
|
||||
|
@ -15,7 +15,7 @@
|
||||
|
||||
import os
|
||||
|
||||
from oslo.config import cfg
|
||||
from oslo_config import cfg
|
||||
|
||||
from poppy import bootstrap
|
||||
from poppy.manager.default import flavors
|
||||
|
@ -17,7 +17,7 @@ import os
|
||||
import uuid
|
||||
|
||||
import mock
|
||||
from oslo.config import cfg
|
||||
from oslo_config import cfg
|
||||
|
||||
from poppy.manager.default import driver
|
||||
from poppy.manager.default import flavors
|
||||
|
@ -19,7 +19,7 @@ import uuid
|
||||
|
||||
import ddt
|
||||
import mock
|
||||
from oslo.config import cfg
|
||||
from oslo_config import cfg
|
||||
import requests
|
||||
|
||||
from poppy.distributed_task.taskflow.task import common
|
||||
|
@ -17,7 +17,7 @@ import random
|
||||
|
||||
import ddt
|
||||
import mock
|
||||
from oslo.config import cfg
|
||||
from oslo_config import cfg
|
||||
|
||||
from poppy.provider.akamai import driver
|
||||
from tests.unit import base
|
||||
|
@ -16,7 +16,7 @@
|
||||
|
||||
import boto
|
||||
import mock
|
||||
from oslo.config import cfg
|
||||
from oslo_config import cfg
|
||||
|
||||
from poppy.common import util
|
||||
from poppy.provider.cloudfront import driver
|
||||
|
@ -15,7 +15,7 @@
|
||||
|
||||
import fastly
|
||||
import mock
|
||||
from oslo.config import cfg
|
||||
from oslo_config import cfg
|
||||
|
||||
from poppy.common import util
|
||||
from poppy.provider.fastly import driver
|
||||
|
@ -16,7 +16,7 @@
|
||||
import os
|
||||
|
||||
import mock
|
||||
from oslo.config import cfg
|
||||
from oslo_config import cfg
|
||||
|
||||
from poppy.common import util
|
||||
from poppy.provider.maxcdn import driver
|
||||
|
@ -18,7 +18,7 @@ import uuid
|
||||
|
||||
import ddt
|
||||
import mock
|
||||
from oslo.config import cfg
|
||||
from oslo_config import cfg
|
||||
|
||||
from poppy.provider.maxcdn import driver
|
||||
from poppy.provider.maxcdn import services
|
||||
|
@ -13,7 +13,7 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
from oslo.config import cfg
|
||||
from oslo_config import cfg
|
||||
|
||||
from poppy.provider.mock import driver
|
||||
from tests.unit import base
|
||||
|
@ -17,7 +17,7 @@ import ssl
|
||||
|
||||
import cassandra
|
||||
import mock
|
||||
from oslo.config import cfg
|
||||
from oslo_config import cfg
|
||||
|
||||
from poppy.storage.cassandra import driver
|
||||
from poppy.storage.cassandra import flavors
|
||||
|
@ -18,7 +18,7 @@ import uuid
|
||||
import cassandra
|
||||
import ddt
|
||||
import mock
|
||||
from oslo.config import cfg
|
||||
from oslo_config import cfg
|
||||
|
||||
from poppy.model import flavor as model_flavor
|
||||
from poppy.storage.cassandra import driver
|
||||
|
@ -23,7 +23,7 @@ except ImportError: # pragma: no cover
|
||||
import cassandra
|
||||
import ddt
|
||||
import mock
|
||||
from oslo.config import cfg
|
||||
from oslo_config import cfg
|
||||
|
||||
from poppy.model.helpers import provider_details
|
||||
from poppy.storage.cassandra import driver
|
||||
|
@ -13,7 +13,7 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
from oslo.config import cfg
|
||||
from oslo_config import cfg
|
||||
|
||||
from poppy.storage.mockdb import driver
|
||||
from tests.unit import base
|
||||
|
@ -17,7 +17,7 @@ import uuid
|
||||
|
||||
import ddt
|
||||
import mock
|
||||
from oslo.config import cfg
|
||||
from oslo_config import cfg
|
||||
|
||||
from poppy.storage.mockdb import driver
|
||||
from poppy.storage.mockdb import flavors
|
||||
|
@ -15,7 +15,7 @@
|
||||
|
||||
import uuid
|
||||
|
||||
from oslo.config import cfg
|
||||
from oslo_config import cfg
|
||||
|
||||
from poppy.storage.mockdb import driver
|
||||
from poppy.storage.mockdb import services
|
||||
|
@ -16,7 +16,7 @@
|
||||
import os
|
||||
|
||||
import mock
|
||||
from oslo.config import cfg
|
||||
from oslo_config import cfg
|
||||
|
||||
from poppy import bootstrap
|
||||
from tests.unit import base
|
||||
|
@ -16,7 +16,7 @@
|
||||
# import os
|
||||
|
||||
# import mock
|
||||
# from oslo.config import cfg
|
||||
# from oslo_config import cfg
|
||||
|
||||
# from poppy.transport import pecan
|
||||
# from tests.unit import base
|
||||
|
Loading…
x
Reference in New Issue
Block a user