Fix consts imports

Also, made some minor changes to imports orders to fit PEP8

Change-Id: I1596989cac61602a3f417c9d60774354f5650424
This commit is contained in:
Nir Magnezi 2018-03-28 12:31:49 +03:00
parent b23f3719b4
commit 5d12c4acbe
108 changed files with 131 additions and 123 deletions

View File

@ -39,9 +39,10 @@ implement the Context API: the *setup()* method that creates a flavor and the
from rally.task import context from rally.task import context
from rally.common import logging from rally.common import logging
from rally import consts
from rally.plugins.openstack import osclients from rally.plugins.openstack import osclients
from rally_openstack import consts
LOG = logging.getLogger(__name__) LOG = logging.getLogger(__name__)

View File

@ -213,9 +213,9 @@ method:
import shlex import shlex
import subprocess import subprocess
from rally import consts
from rally.task import hook from rally.task import hook
from rally_openstack import consts
@hook.configure(name="simple_sys_call") @hook.configure(name="simple_sys_call")
class SimpleSysCallHook(hook.Hook): class SimpleSysCallHook(hook.Hook):
@ -318,9 +318,9 @@ This example shows the code of the existing Event trigger:
.. code-block:: python .. code-block:: python
from rally import consts
from rally.task import trigger from rally.task import trigger
from rally_openstack import consts
@trigger.configure(name="event") @trigger.configure(name="event")
class EventTrigger(trigger.Trigger): class EventTrigger(trigger.Trigger):

View File

@ -32,7 +32,8 @@ and implement its API (the *_run_scenario()* method):
import random import random
from rally.task import runner from rally.task import runner
from rally import consts
from rally_openstack import consts
@runner.configure(name="random_times") @runner.configure(name="random_times")

View File

@ -31,11 +31,12 @@ clients:
.. code-block:: python .. code-block:: python
from rally import consts
from rally.plugins.openstack import scenario from rally.plugins.openstack import scenario
from rally.task import atomic from rally.task import atomic
from rally.task import validation from rally.task import validation
from rally_openstack import consts
@validation.add("required_services", services=[consts.Service.NOVA]) @validation.add("required_services", services=[consts.Service.NOVA])
@validation.add("required_platform", platform="openstack", users=True) @validation.add("required_platform", platform="openstack", users=True)

View File

@ -13,10 +13,10 @@
import random import random
from rally.common import validation from rally.common import validation
from rally import consts
from rally import exceptions from rally import exceptions
from rally.task import context from rally.task import context
from rally_openstack import consts
from rally_openstack import osclients from rally_openstack import osclients

View File

@ -17,11 +17,11 @@ import time
from rally.common import logging from rally.common import logging
from rally.common import utils as rutils from rally.common import utils as rutils
from rally.common import validation from rally.common import validation
from rally import consts
from rally import exceptions from rally import exceptions
from rally.task import context from rally.task import context
from six import moves from six import moves
from rally_openstack import consts
from rally_openstack.scenarios.ceilometer import utils as ceilo_utils from rally_openstack.scenarios.ceilometer import utils as ceilo_utils

View File

@ -15,10 +15,10 @@
from rally.common import logging from rally.common import logging
from rally.common import utils from rally.common import utils
from rally.common import validation from rally.common import validation
from rally import consts
from rally.task import context from rally.task import context
from rally_openstack.cleanup import manager as resource_manager from rally_openstack.cleanup import manager as resource_manager
from rally_openstack import consts
from rally_openstack import osclients from rally_openstack import osclients
from rally_openstack.services.storage import block from rally_openstack.services.storage import block

View File

@ -13,10 +13,10 @@
# under the License. # under the License.
from rally.common import utils as rutils from rally.common import utils as rutils
from rally import consts
from rally.task import context from rally.task import context
from rally_openstack.cleanup import manager as resource_manager from rally_openstack.cleanup import manager as resource_manager
from rally_openstack import consts
from rally_openstack import osclients from rally_openstack import osclients
from rally_openstack.services.storage import block from rally_openstack.services.storage import block

View File

@ -14,9 +14,9 @@
# under the License. # under the License.
from rally.common import validation from rally.common import validation
from rally import consts
from rally_openstack.cleanup import manager from rally_openstack.cleanup import manager
from rally_openstack import consts
@validation.configure("check_cleanup_resources") @validation.configure("check_cleanup_resources")

View File

@ -17,11 +17,11 @@ import pkgutil
from rally.common import utils as rutils from rally.common import utils as rutils
from rally.common import validation from rally.common import validation
from rally import consts
from rally import exceptions from rally import exceptions
from rally.task import context from rally.task import context
from rally_openstack.cleanup import manager as resource_manager from rally_openstack.cleanup import manager as resource_manager
from rally_openstack import consts
from rally_openstack import osclients from rally_openstack import osclients
from rally_openstack.scenarios.heat import utils as heat_utils from rally_openstack.scenarios.heat import utils as heat_utils

View File

@ -14,10 +14,10 @@
from rally.common import utils as rutils from rally.common import utils as rutils
from rally.common import validation from rally.common import validation
from rally import consts
from rally.task import context from rally.task import context
from rally_openstack.cleanup import manager as resource_manager from rally_openstack.cleanup import manager as resource_manager
from rally_openstack import consts
from rally_openstack.scenarios.designate import utils from rally_openstack.scenarios.designate import utils

View File

@ -14,10 +14,10 @@
from rally.common import logging from rally.common import logging
from rally.common import utils as rutils from rally.common import utils as rutils
from rally import consts
from rally.task import context from rally.task import context
from rally_openstack.cleanup import manager as resource_manager from rally_openstack.cleanup import manager as resource_manager
from rally_openstack import consts
from rally_openstack import osclients from rally_openstack import osclients
from rally_openstack.scenarios.ec2 import utils as ec2_utils from rally_openstack.scenarios.ec2 import utils as ec2_utils
from rally_openstack import types from rally_openstack import types

View File

@ -16,10 +16,10 @@ from rally.common import cfg
from rally.common import logging from rally.common import logging
from rally.common import utils as rutils from rally.common import utils as rutils
from rally.common import validation from rally.common import validation
from rally import consts
from rally.task import context from rally.task import context
from rally_openstack.cleanup import manager as resource_manager from rally_openstack.cleanup import manager as resource_manager
from rally_openstack import consts
from rally_openstack import osclients from rally_openstack import osclients
from rally_openstack.services.image import image from rally_openstack.services.image import image

View File

@ -15,10 +15,10 @@
from rally.common import utils as rutils from rally.common import utils as rutils
from rally.common import validation from rally.common import validation
from rally import consts
from rally.task import context from rally.task import context
from rally_openstack.cleanup import manager as resource_manager from rally_openstack.cleanup import manager as resource_manager
from rally_openstack import consts
from rally_openstack.scenarios.heat import utils as heat_utils from rally_openstack.scenarios.heat import utils as heat_utils

View File

@ -17,10 +17,10 @@ from rally.common import broker
from rally.common import cfg from rally.common import cfg
from rally.common import logging from rally.common import logging
from rally.common import validation from rally.common import validation
from rally import consts
from rally import exceptions from rally import exceptions
from rally.task import context from rally.task import context
from rally_openstack import consts
from rally_openstack import osclients from rally_openstack import osclients
from rally_openstack.services.identity import identity from rally_openstack.services.identity import identity

View File

@ -21,10 +21,10 @@ from rally.common import cfg
from rally.common import logging from rally.common import logging
from rally.common import utils as rutils from rally.common import utils as rutils
from rally.common import validation from rally.common import validation
from rally import consts
from rally import exceptions from rally import exceptions
from rally.task import context from rally.task import context
from rally_openstack import consts
from rally_openstack import credential from rally_openstack import credential
from rally_openstack import osclients from rally_openstack import osclients
from rally_openstack.services.identity import identity from rally_openstack.services.identity import identity

View File

@ -23,9 +23,9 @@ from cryptography.x509 import oid
from rally.common import utils as rutils from rally.common import utils as rutils
from rally.common import validation from rally.common import validation
from rally import consts
from rally.task import context from rally.task import context
from rally_openstack import consts
from rally_openstack.scenarios.magnum import utils as magnum_utils from rally_openstack.scenarios.magnum import utils as magnum_utils

View File

@ -14,10 +14,10 @@
from rally.common import utils as rutils from rally.common import utils as rutils
from rally.common import validation from rally.common import validation
from rally import consts
from rally.task import context from rally.task import context
from rally_openstack.cleanup import manager as resource_manager from rally_openstack.cleanup import manager as resource_manager
from rally_openstack import consts
from rally_openstack.scenarios.magnum import utils as magnum_utils from rally_openstack.scenarios.magnum import utils as magnum_utils

View File

@ -14,10 +14,10 @@
from rally.common import utils as rutils from rally.common import utils as rutils
from rally.common import validation from rally.common import validation
from rally import consts
from rally.task import context from rally.task import context
from rally_openstack.cleanup import manager as resource_manager from rally_openstack.cleanup import manager as resource_manager
from rally_openstack import consts
from rally_openstack.scenarios.magnum import utils as magnum_utils from rally_openstack.scenarios.magnum import utils as magnum_utils
from rally_openstack.scenarios.nova import utils as nova_utils from rally_openstack.scenarios.nova import utils as nova_utils

View File

@ -16,10 +16,10 @@
from rally.common import cfg from rally.common import cfg
from rally.common import utils from rally.common import utils
from rally.common import validation from rally.common import validation
from rally import consts as rally_consts
from rally.task import context from rally.task import context
from rally_openstack.cleanup import manager as resource_manager from rally_openstack.cleanup import manager as resource_manager
from rally_openstack import consts as rally_consts
from rally_openstack.contexts.manila import consts from rally_openstack.contexts.manila import consts
from rally_openstack.scenarios.manila import utils as manila_utils from rally_openstack.scenarios.manila import utils as manila_utils

View File

@ -17,11 +17,11 @@ from rally.common import cfg
from rally.common import logging from rally.common import logging
from rally.common import utils from rally.common import utils
from rally.common import validation from rally.common import validation
from rally import consts as rally_consts
from rally import exceptions from rally import exceptions
from rally.task import context from rally.task import context
from rally_openstack.cleanup import manager as resource_manager from rally_openstack.cleanup import manager as resource_manager
from rally_openstack import consts as rally_consts
from rally_openstack.contexts.manila import consts from rally_openstack.contexts.manila import consts
from rally_openstack.scenarios.manila import utils as manila_utils from rally_openstack.scenarios.manila import utils as manila_utils

View File

@ -16,10 +16,10 @@
from rally.common import cfg from rally.common import cfg
from rally.common import utils from rally.common import utils
from rally.common import validation from rally.common import validation
from rally import consts as rally_consts
from rally.task import context from rally.task import context
from rally_openstack.cleanup import manager as resource_manager from rally_openstack.cleanup import manager as resource_manager
from rally_openstack import consts as rally_consts
from rally_openstack.contexts.manila import consts from rally_openstack.contexts.manila import consts
from rally_openstack.scenarios.manila import utils as manila_utils from rally_openstack.scenarios.manila import utils as manila_utils

View File

@ -16,9 +16,9 @@ from six import moves
from rally.common import utils as rutils from rally.common import utils as rutils
from rally.common import validation from rally.common import validation
from rally import consts
from rally.task import context from rally.task import context
from rally_openstack import consts
from rally_openstack.scenarios.monasca import utils as monasca_utils from rally_openstack.scenarios.monasca import utils as monasca_utils

View File

@ -15,10 +15,10 @@
from rally.common import utils from rally.common import utils
from rally.common import validation from rally.common import validation
from rally import consts
from rally.task import context from rally.task import context
from rally_openstack.cleanup import manager as resource_manager from rally_openstack.cleanup import manager as resource_manager
from rally_openstack import consts
from rally_openstack.scenarios.murano import utils as murano_utils from rally_openstack.scenarios.murano import utils as murano_utils

View File

@ -19,11 +19,11 @@ import zipfile
from rally.common import fileutils from rally.common import fileutils
from rally.common import utils from rally.common import utils
from rally.common import validation from rally.common import validation
from rally import consts
from rally import exceptions from rally import exceptions
from rally.task import context from rally.task import context
from rally_openstack.cleanup import manager as resource_manager from rally_openstack.cleanup import manager as resource_manager
from rally_openstack import consts
from rally_openstack import osclients from rally_openstack import osclients

View File

@ -14,9 +14,9 @@
from rally.common import utils from rally.common import utils
from rally.common import validation from rally.common import validation
from rally import consts
from rally.task import context from rally.task import context
from rally_openstack import consts
from rally_openstack import osclients from rally_openstack import osclients
from rally_openstack.wrappers import network as network_wrapper from rally_openstack.wrappers import network as network_wrapper

View File

@ -16,9 +16,9 @@
from rally.common import logging from rally.common import logging
from rally.common import utils from rally.common import utils
from rally.common import validation from rally.common import validation
from rally import consts
from rally.task import context from rally.task import context
from rally_openstack import consts
from rally_openstack import osclients from rally_openstack import osclients
from rally_openstack.wrappers import network as network_wrapper from rally_openstack.wrappers import network as network_wrapper

View File

@ -15,10 +15,10 @@
from rally.common import utils from rally.common import utils
from rally.common import validation from rally.common import validation
from rally import consts
from rally.task import context from rally.task import context
from rally_openstack.cleanup import manager as resource_manager from rally_openstack.cleanup import manager as resource_manager
from rally_openstack import consts
from rally_openstack.scenarios.neutron import utils as neutron_utils from rally_openstack.scenarios.neutron import utils as neutron_utils

View File

@ -12,10 +12,11 @@
from rally.common import logging from rally.common import logging
from rally.common import utils from rally.common import utils
from rally.common import validation from rally.common import validation
from rally import consts
from rally.task import context from rally.task import context
from rally_openstack import consts
from rally_openstack import osclients from rally_openstack import osclients
from rally_openstack.wrappers import network as network_wrapper from rally_openstack.wrappers import network as network_wrapper

View File

@ -16,10 +16,10 @@
from rally.common import logging from rally.common import logging
from rally.common import utils as rutils from rally.common import utils as rutils
from rally.common import validation from rally.common import validation
from rally import consts
from rally.task import context from rally.task import context
from rally_openstack.cleanup import manager as resource_manager from rally_openstack.cleanup import manager as resource_manager
from rally_openstack import consts
from rally_openstack import osclients from rally_openstack import osclients

View File

@ -15,9 +15,9 @@
from rally.common import logging from rally.common import logging
from rally.common import validation from rally.common import validation
from rally import consts
from rally.task import context from rally.task import context
from rally_openstack import consts
from rally_openstack.contexts.quotas import cinder_quotas from rally_openstack.contexts.quotas import cinder_quotas
from rally_openstack.contexts.quotas import designate_quotas from rally_openstack.contexts.quotas import designate_quotas
from rally_openstack.contexts.quotas import manila_quotas from rally_openstack.contexts.quotas import manila_quotas

View File

@ -16,12 +16,12 @@
from rally.common import cfg from rally.common import cfg
from rally.common import utils as rutils from rally.common import utils as rutils
from rally.common import validation from rally.common import validation
from rally import consts
from rally import exceptions from rally import exceptions
from rally.task import context from rally.task import context
from rally.task import utils as bench_utils from rally.task import utils as bench_utils
from rally_openstack.cleanup import manager as resource_manager from rally_openstack.cleanup import manager as resource_manager
from rally_openstack import consts
from rally_openstack.scenarios.sahara import utils from rally_openstack.scenarios.sahara import utils

View File

@ -14,11 +14,11 @@
from rally.common import utils as rutils from rally.common import utils as rutils
from rally.common import validation from rally.common import validation
from rally import consts
from rally import exceptions from rally import exceptions
from rally.task import context from rally.task import context
from rally_openstack.cleanup import manager as resource_manager from rally_openstack.cleanup import manager as resource_manager
from rally_openstack import consts
from rally_openstack import osclients from rally_openstack import osclients
from rally_openstack.scenarios.sahara import utils from rally_openstack.scenarios.sahara import utils
from rally_openstack.services.image import image as image_services from rally_openstack.services.image import image as image_services

View File

@ -18,10 +18,10 @@ from six.moves.urllib import parse
from rally.common import utils as rutils from rally.common import utils as rutils
from rally.common import validation from rally.common import validation
from rally import consts
from rally.task import context from rally.task import context
from rally_openstack.cleanup import manager as resource_manager from rally_openstack.cleanup import manager as resource_manager
from rally_openstack import consts
from rally_openstack import osclients from rally_openstack import osclients
from rally_openstack.scenarios.sahara import utils from rally_openstack.scenarios.sahara import utils
from rally_openstack.scenarios.swift import utils as swift_utils from rally_openstack.scenarios.swift import utils as swift_utils

View File

@ -17,11 +17,11 @@ import requests
from rally.common import utils as rutils from rally.common import utils as rutils
from rally.common import validation from rally.common import validation
from rally import consts
from rally import exceptions from rally import exceptions
from rally.task import context from rally.task import context
from rally_openstack.cleanup import manager as resource_manager from rally_openstack.cleanup import manager as resource_manager
from rally_openstack import consts
from rally_openstack import osclients from rally_openstack import osclients
from rally_openstack.scenarios.sahara import utils from rally_openstack.scenarios.sahara import utils

View File

@ -15,10 +15,10 @@
from rally.common import utils as rutils from rally.common import utils as rutils
from rally.common import validation from rally.common import validation
from rally import consts
from rally.task import context from rally.task import context
from rally_openstack.cleanup import manager as resource_manager from rally_openstack.cleanup import manager as resource_manager
from rally_openstack import consts
from rally_openstack import osclients from rally_openstack import osclients
from rally_openstack.scenarios.sahara import utils from rally_openstack.scenarios.sahara import utils
from rally_openstack.scenarios.swift import utils as swift_utils from rally_openstack.scenarios.swift import utils as swift_utils

View File

@ -12,9 +12,9 @@
from rally.common import utils as rutils from rally.common import utils as rutils
from rally.common import validation from rally.common import validation
from rally import consts
from rally.task import context from rally.task import context
from rally_openstack import consts
from rally_openstack.scenarios.senlin import utils as senlin_utils from rally_openstack.scenarios.senlin import utils as senlin_utils

View File

@ -15,10 +15,10 @@
from rally.common import logging from rally.common import logging
from rally.common import validation from rally.common import validation
from rally import consts
from rally import exceptions from rally import exceptions
from rally.task import context from rally.task import context
from rally_openstack import consts
from rally_openstack.contexts.swift import utils as swift_utils from rally_openstack.contexts.swift import utils as swift_utils
LOG = logging.getLogger(__name__) LOG = logging.getLogger(__name__)

View File

@ -20,9 +20,9 @@ import six
from rally.common import broker from rally.common import broker
from rally.common import logging from rally.common import logging
from rally.common import utils from rally.common import utils
from rally import consts
from rally.task import context from rally.task import context
from rally_openstack import consts
from rally_openstack import osclients from rally_openstack import osclients
from rally_openstack.scenarios.vm import vmtasks from rally_openstack.scenarios.vm import vmtasks
from rally_openstack.services.image import image from rally_openstack.services.image import image

View File

@ -17,10 +17,10 @@ import random
import six import six
from rally.common import validation from rally.common import validation
from rally import consts
from rally.task import context from rally.task import context
from rally_openstack.cleanup import manager as resource_manager from rally_openstack.cleanup import manager as resource_manager
from rally_openstack import consts
from rally_openstack import osclients from rally_openstack import osclients
from rally_openstack.scenarios.watcher import utils as watcher_utils from rally_openstack.scenarios.watcher import utils as watcher_utils
from rally_openstack import types from rally_openstack import types

View File

@ -15,9 +15,10 @@
from rally.common import logging from rally.common import logging
from rally.common import objects from rally.common import objects
from rally import consts
from rally.task import hook from rally.task import hook
from rally_openstack import consts
LOG = logging.getLogger(__name__) LOG = logging.getLogger(__name__)

View File

@ -16,15 +16,15 @@
import abc import abc
import os import os
from six.moves.urllib import parse
from rally.cli import envutils from rally.cli import envutils
from rally.common import cfg from rally.common import cfg
from rally.common import logging from rally.common import logging
from rally.common.plugin import plugin from rally.common.plugin import plugin
from rally.common import utils from rally.common import utils
from rally import consts
from rally import exceptions from rally import exceptions
from six.moves.urllib import parse
from rally_openstack import consts
LOG = logging.getLogger(__name__) LOG = logging.getLogger(__name__)

View File

@ -12,7 +12,8 @@
# License for the specific language governing permissions and limitations # License for the specific language governing permissions and limitations
# under the License. # under the License.
from rally import consts from rally_openstack import consts
from rally.task import atomic from rally.task import atomic
from rally.task import validation from rally.task import validation

View File

@ -12,9 +12,9 @@
# License for the specific language governing permissions and limitations # License for the specific language governing permissions and limitations
# under the License. # under the License.
from rally import consts
from rally.task import validation from rally.task import validation
from rally_openstack import consts
from rally_openstack import scenario from rally_openstack import scenario
from rally_openstack.scenarios.ceilometer import utils as ceiloutils from rally_openstack.scenarios.ceilometer import utils as ceiloutils

View File

@ -16,9 +16,9 @@
Scenarios for Ceilometer Events API. Scenarios for Ceilometer Events API.
""" """
from rally import consts
from rally.task import validation from rally.task import validation
from rally_openstack import consts
from rally_openstack import scenario from rally_openstack import scenario
from rally_openstack.scenarios.ceilometer import utils as cutils from rally_openstack.scenarios.ceilometer import utils as cutils
from rally_openstack.scenarios.keystone import basic as kbasic from rally_openstack.scenarios.keystone import basic as kbasic

View File

@ -12,9 +12,9 @@
# License for the specific language governing permissions and limitations # License for the specific language governing permissions and limitations
# under the License. # under the License.
from rally import consts
from rally.task import validation from rally.task import validation
from rally_openstack import consts
from rally_openstack import scenario from rally_openstack import scenario
from rally_openstack.scenarios.ceilometer import utils as ceiloutils from rally_openstack.scenarios.ceilometer import utils as ceiloutils

View File

@ -14,9 +14,9 @@
import json import json
from rally import consts
from rally.task import validation from rally.task import validation
from rally_openstack import consts
from rally_openstack import scenario from rally_openstack import scenario
from rally_openstack.scenarios.ceilometer import utils as ceiloutils from rally_openstack.scenarios.ceilometer import utils as ceiloutils

View File

@ -12,9 +12,9 @@
# License for the specific language governing permissions and limitations # License for the specific language governing permissions and limitations
# under the License. # under the License.
from rally import consts
from rally.task import validation from rally.task import validation
from rally_openstack import consts
from rally_openstack import scenario from rally_openstack import scenario
from rally_openstack.scenarios.ceilometer import utils as ceiloutils from rally_openstack.scenarios.ceilometer import utils as ceiloutils

View File

@ -12,9 +12,9 @@
# License for the specific language governing permissions and limitations # License for the specific language governing permissions and limitations
# under the License. # under the License.
from rally import consts
from rally.task import validation from rally.task import validation
from rally_openstack import consts
from rally_openstack import scenario from rally_openstack import scenario
from rally_openstack.scenarios.ceilometer import utils as ceiloutils from rally_openstack.scenarios.ceilometer import utils as ceiloutils

View File

@ -13,9 +13,9 @@
# under the License. # under the License.
from rally.common import logging from rally.common import logging
from rally import consts
from rally.task import validation from rally.task import validation
from rally_openstack import consts
from rally_openstack import scenario from rally_openstack import scenario
from rally_openstack.scenarios.ceilometer import utils from rally_openstack.scenarios.ceilometer import utils

View File

@ -12,9 +12,9 @@
# License for the specific language governing permissions and limitations # License for the specific language governing permissions and limitations
# under the License. # under the License.
from rally import consts
from rally.task import validation from rally.task import validation
from rally_openstack import consts
from rally_openstack import scenario from rally_openstack import scenario
from rally_openstack.scenarios.ceilometer import utils as cutils from rally_openstack.scenarios.ceilometer import utils as cutils
from rally_openstack.scenarios.keystone import basic as kbasic from rally_openstack.scenarios.keystone import basic as kbasic

View File

@ -11,10 +11,9 @@
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations # License for the specific language governing permissions and limitations
# under the License. # under the License.
from rally import consts
from rally.task import validation from rally.task import validation
from rally_openstack import consts
from rally_openstack import scenario from rally_openstack import scenario
from rally_openstack.scenarios.cinder import utils as cinder_utils from rally_openstack.scenarios.cinder import utils as cinder_utils

View File

@ -12,9 +12,9 @@
# License for the specific language governing permissions and limitations # License for the specific language governing permissions and limitations
# under the License. # under the License.
from rally import consts
from rally.task import validation from rally.task import validation
from rally_openstack import consts
from rally_openstack import scenario from rally_openstack import scenario
from rally_openstack.scenarios.cinder import utils as cinder_utils from rally_openstack.scenarios.cinder import utils as cinder_utils

View File

@ -13,9 +13,9 @@
# under the License. # under the License.
from rally.common import logging from rally.common import logging
from rally import consts
from rally.task import validation from rally.task import validation
from rally_openstack import consts
from rally_openstack import scenario from rally_openstack import scenario
from rally_openstack.scenarios.cinder import utils as cinder_utils from rally_openstack.scenarios.cinder import utils as cinder_utils
from rally_openstack.services.storage import cinder_v2 from rally_openstack.services.storage import cinder_v2

View File

@ -16,12 +16,12 @@
import random import random
from rally.common import logging from rally.common import logging
from rally import consts
from rally import exceptions from rally import exceptions
from rally.task import atomic from rally.task import atomic
from rally.task import types from rally.task import types
from rally.task import validation from rally.task import validation
from rally_openstack import consts
from rally_openstack import scenario from rally_openstack import scenario
from rally_openstack.scenarios.cinder import utils as cinder_utils from rally_openstack.scenarios.cinder import utils as cinder_utils
from rally_openstack.scenarios.glance import images from rally_openstack.scenarios.glance import images

View File

@ -16,9 +16,9 @@
import random import random
from rally import consts
from rally.task import validation from rally.task import validation
from rally_openstack import consts
from rally_openstack import scenario from rally_openstack import scenario
from rally_openstack.scenarios.designate import utils from rally_openstack.scenarios.designate import utils

View File

@ -12,10 +12,10 @@
# License for the specific language governing permissions and limitations # License for the specific language governing permissions and limitations
# under the License. # under the License.
from rally import consts
from rally.task import types from rally.task import types
from rally.task import validation from rally.task import validation
from rally_openstack import consts
from rally_openstack import scenario from rally_openstack import scenario
from rally_openstack.scenarios.ec2 import utils from rally_openstack.scenarios.ec2 import utils

View File

@ -14,10 +14,10 @@
# under the License. # under the License.
from rally.common import logging from rally.common import logging
from rally import consts
from rally.task import types from rally.task import types
from rally.task import validation from rally.task import validation
from rally_openstack import consts
from rally_openstack import scenario from rally_openstack import scenario
from rally_openstack.scenarios.nova import utils as nova_utils from rally_openstack.scenarios.nova import utils as nova_utils
from rally_openstack.services.image import glance_v2 from rally_openstack.services.image import glance_v2

View File

@ -13,9 +13,9 @@
# under the License. # under the License.
from rally import consts
from rally.task import validation from rally.task import validation
from rally_openstack import consts
from rally_openstack import scenario from rally_openstack import scenario
from rally_openstack.scenarios.gnocchi import utils as gnocchiutils from rally_openstack.scenarios.gnocchi import utils as gnocchiutils

View File

@ -12,9 +12,9 @@
# License for the specific language governing permissions and limitations # License for the specific language governing permissions and limitations
# under the License. # under the License.
from rally import consts
from rally.task import validation from rally.task import validation
from rally_openstack import consts
from rally_openstack import scenario from rally_openstack import scenario
from rally_openstack.scenarios.gnocchi import utils as gnocchiutils from rally_openstack.scenarios.gnocchi import utils as gnocchiutils

View File

@ -12,9 +12,9 @@
# License for the specific language governing permissions and limitations # License for the specific language governing permissions and limitations
# under the License. # under the License.
from rally import consts
from rally.task import validation from rally.task import validation
from rally_openstack import consts
from rally_openstack import scenario from rally_openstack import scenario
from rally_openstack.scenarios.gnocchi import utils as gnocchiutils from rally_openstack.scenarios.gnocchi import utils as gnocchiutils

View File

@ -12,9 +12,9 @@
# License for the specific language governing permissions and limitations # License for the specific language governing permissions and limitations
# under the License. # under the License.
from rally import consts
from rally.task import validation from rally.task import validation
from rally_openstack import consts
from rally_openstack import scenario from rally_openstack import scenario
from rally_openstack.scenarios.gnocchi import utils as gnocchiutils from rally_openstack.scenarios.gnocchi import utils as gnocchiutils

View File

@ -12,9 +12,9 @@
# License for the specific language governing permissions and limitations # License for the specific language governing permissions and limitations
# under the License. # under the License.
from rally import consts
from rally.task import validation from rally.task import validation
from rally_openstack import consts
from rally_openstack import scenario from rally_openstack import scenario
from rally_openstack.scenarios.gnocchi import utils as gnocchiutils from rally_openstack.scenarios.gnocchi import utils as gnocchiutils

View File

@ -13,11 +13,11 @@
# License for the specific language governing permissions and limitations # License for the specific language governing permissions and limitations
# under the License. # under the License.
from rally import consts
from rally.task import atomic from rally.task import atomic
from rally.task import types from rally.task import types
from rally.task import validation from rally.task import validation
from rally_openstack import consts
from rally_openstack import scenario from rally_openstack import scenario
from rally_openstack.scenarios.heat import utils from rally_openstack.scenarios.heat import utils

View File

@ -14,9 +14,9 @@
# under the License. # under the License.
from rally.common import logging from rally.common import logging
from rally import consts
from rally.task import validation from rally.task import validation
from rally_openstack import consts
from rally_openstack import scenario from rally_openstack import scenario
from rally_openstack.scenarios.ironic import utils from rally_openstack.scenarios.ironic import utils

View File

@ -12,9 +12,9 @@
# License for the specific language governing permissions and limitations # License for the specific language governing permissions and limitations
# under the License. # under the License.
from rally import consts
from rally.task import validation from rally.task import validation
from rally_openstack import consts
from rally_openstack import scenario from rally_openstack import scenario
from rally_openstack.scenarios.magnum import utils from rally_openstack.scenarios.magnum import utils

View File

@ -12,9 +12,9 @@
# License for the specific language governing permissions and limitations # License for the specific language governing permissions and limitations
# under the License. # under the License.
from rally import consts
from rally.task import validation from rally.task import validation
from rally_openstack import consts
from rally_openstack import scenario from rally_openstack import scenario
from rally_openstack.scenarios.magnum import utils from rally_openstack.scenarios.magnum import utils
from rally_openstack.scenarios.nova import utils as nova_utils from rally_openstack.scenarios.nova import utils as nova_utils

View File

@ -12,10 +12,10 @@
# License for the specific language governing permissions and limitations # License for the specific language governing permissions and limitations
# under the License. # under the License.
from rally import consts
from rally.task import validation from rally.task import validation
import yaml import yaml
from rally_openstack import consts
from rally_openstack import scenario from rally_openstack import scenario
from rally_openstack.scenarios.magnum import utils from rally_openstack.scenarios.magnum import utils

View File

@ -14,9 +14,9 @@
# under the License. # under the License.
from rally.common import logging from rally.common import logging
from rally import consts
from rally.task import validation from rally.task import validation
from rally_openstack import consts
from rally_openstack.contexts.manila import consts as manila_consts from rally_openstack.contexts.manila import consts as manila_consts
from rally_openstack import scenario from rally_openstack import scenario
from rally_openstack.scenarios.manila import utils from rally_openstack.scenarios.manila import utils

View File

@ -14,12 +14,12 @@
import json import json
from rally import consts
from rally.task import types from rally.task import types
from rally.task import validation from rally.task import validation
import six import six
import yaml import yaml
from rally_openstack import consts
from rally_openstack import scenario from rally_openstack import scenario
from rally_openstack.scenarios.mistral import utils from rally_openstack.scenarios.mistral import utils

View File

@ -13,10 +13,10 @@
# License for the specific language governing permissions and limitations # License for the specific language governing permissions and limitations
# under the License. # under the License.
from rally import consts
from rally.task import types from rally.task import types
from rally.task import validation from rally.task import validation
from rally_openstack import consts
from rally_openstack import scenario from rally_openstack import scenario
from rally_openstack.scenarios.mistral import utils from rally_openstack.scenarios.mistral import utils

View File

@ -12,9 +12,9 @@
# License for the specific language governing permissions and limitations # License for the specific language governing permissions and limitations
# under the License. # under the License.
from rally import consts
from rally.task import validation from rally.task import validation
from rally_openstack import consts
from rally_openstack import scenario from rally_openstack import scenario
from rally_openstack.scenarios.monasca import utils as monascautils from rally_openstack.scenarios.monasca import utils as monascautils

View File

@ -13,9 +13,9 @@
# License for the specific language governing permissions and limitations # License for the specific language governing permissions and limitations
# under the License. # under the License.
from rally import consts
from rally.task import validation from rally.task import validation
from rally_openstack import consts
from rally_openstack import scenario from rally_openstack import scenario
from rally_openstack.scenarios.murano import utils from rally_openstack.scenarios.murano import utils

View File

@ -16,10 +16,10 @@
import os import os
from rally import consts
from rally.task import types from rally.task import types
from rally.task import validation from rally.task import validation
from rally_openstack import consts
from rally_openstack import scenario from rally_openstack import scenario
from rally_openstack.scenarios.murano import utils from rally_openstack.scenarios.murano import utils

View File

@ -12,9 +12,9 @@
import random import random
from rally import consts
from rally.task import validation from rally.task import validation
from rally_openstack import consts
from rally_openstack import scenario from rally_openstack import scenario
from rally_openstack.scenarios.neutron import utils from rally_openstack.scenarios.neutron import utils

View File

@ -12,9 +12,9 @@
import random import random
from rally import consts
from rally.task import validation from rally.task import validation
from rally_openstack import consts
from rally_openstack import scenario from rally_openstack import scenario
from rally_openstack.scenarios.neutron import utils from rally_openstack.scenarios.neutron import utils

View File

@ -10,9 +10,9 @@
# License for the specific language governing permissions and limitations # License for the specific language governing permissions and limitations
# under the License. # under the License.
from rally import consts
from rally.task import validation from rally.task import validation
from rally_openstack import consts
from rally_openstack import scenario from rally_openstack import scenario
from rally_openstack.scenarios.neutron import utils from rally_openstack.scenarios.neutron import utils

View File

@ -13,9 +13,9 @@
# License for the specific language governing permissions and limitations # License for the specific language governing permissions and limitations
# under the License. # under the License.
from rally import consts
from rally.task import validation from rally.task import validation
from rally_openstack import consts
from rally_openstack import scenario from rally_openstack import scenario
from rally_openstack.scenarios.neutron import utils from rally_openstack.scenarios.neutron import utils

View File

@ -10,9 +10,9 @@
# License for the specific language governing permissions and limitations # License for the specific language governing permissions and limitations
# under the License. # under the License.
from rally import consts
from rally.task import validation from rally.task import validation
from rally_openstack import consts
from rally_openstack import scenario from rally_openstack import scenario
from rally_openstack.scenarios.neutron import utils from rally_openstack.scenarios.neutron import utils

View File

@ -13,9 +13,9 @@
# License for the specific language governing permissions and limitations # License for the specific language governing permissions and limitations
# under the License. # under the License.
from rally import consts
from rally.task import validation from rally.task import validation
from rally_openstack import consts
from rally_openstack import scenario from rally_openstack import scenario
from rally_openstack.scenarios.nova import utils from rally_openstack.scenarios.nova import utils

View File

@ -13,11 +13,11 @@
# License for the specific language governing permissions and limitations # License for the specific language governing permissions and limitations
# under the License. # under the License.
from rally import consts
from rally import exceptions from rally import exceptions
from rally.task import types from rally.task import types
from rally.task import validation from rally.task import validation
from rally_openstack import consts
from rally_openstack import scenario from rally_openstack import scenario
from rally_openstack.scenarios.nova import utils from rally_openstack.scenarios.nova import utils

View File

@ -13,9 +13,9 @@
# License for the specific language governing permissions and limitations # License for the specific language governing permissions and limitations
# under the License. # under the License.
from rally import consts
from rally.task import validation from rally.task import validation
from rally_openstack import consts
from rally_openstack import scenario from rally_openstack import scenario
from rally_openstack.scenarios.nova import utils from rally_openstack.scenarios.nova import utils

View File

@ -14,9 +14,9 @@
# under the License. # under the License.
from rally.common import logging from rally.common import logging
from rally import consts
from rally.task import validation from rally.task import validation
from rally_openstack import consts
from rally_openstack import scenario from rally_openstack import scenario
from rally_openstack.scenarios.nova import utils from rally_openstack.scenarios.nova import utils

View File

@ -13,9 +13,9 @@
# License for the specific language governing permissions and limitations # License for the specific language governing permissions and limitations
# under the License. # under the License.
from rally import consts
from rally.task import validation from rally.task import validation
from rally_openstack import consts
from rally_openstack import scenario from rally_openstack import scenario
from rally_openstack.scenarios.nova import utils from rally_openstack.scenarios.nova import utils

View File

@ -14,9 +14,9 @@
# under the License. # under the License.
from rally.common.plugin import plugin from rally.common.plugin import plugin
from rally import consts
from rally.task import validation from rally.task import validation
from rally_openstack import consts
from rally_openstack import scenario from rally_openstack import scenario
from rally_openstack.scenarios.nova import utils from rally_openstack.scenarios.nova import utils

View File

@ -14,10 +14,10 @@
# under the License. # under the License.
from rally.common import logging from rally.common import logging
from rally import consts
from rally.task import types from rally.task import types
from rally.task import validation from rally.task import validation
from rally_openstack import consts
from rally_openstack import scenario from rally_openstack import scenario
from rally_openstack.scenarios.nova import utils from rally_openstack.scenarios.nova import utils

View File

@ -14,9 +14,9 @@
# under the License. # under the License.
from rally.common import logging from rally.common import logging
from rally import consts
from rally.task import validation from rally.task import validation
from rally_openstack import consts
from rally_openstack import scenario from rally_openstack import scenario
from rally_openstack.scenarios.nova import utils from rally_openstack.scenarios.nova import utils

View File

@ -15,11 +15,11 @@
import jsonschema import jsonschema
from rally.common import logging from rally.common import logging
from rally import consts
from rally import exceptions as rally_exceptions from rally import exceptions as rally_exceptions
from rally.task import types from rally.task import types
from rally.task import validation from rally.task import validation
from rally_openstack import consts
from rally_openstack import scenario from rally_openstack import scenario
from rally_openstack.scenarios.cinder import utils as cinder_utils from rally_openstack.scenarios.cinder import utils as cinder_utils
from rally_openstack.scenarios.neutron import utils as neutron_utils from rally_openstack.scenarios.neutron import utils as neutron_utils

View File

@ -13,9 +13,9 @@
# License for the specific language governing permissions and limitations # License for the specific language governing permissions and limitations
# under the License. # under the License.
from rally import consts
from rally.task import validation from rally.task import validation
from rally_openstack import consts
from rally_openstack import scenario from rally_openstack import scenario
from rally_openstack.scenarios.nova import utils from rally_openstack.scenarios.nova import utils

View File

@ -13,9 +13,9 @@
# License for the specific language governing permissions and limitations # License for the specific language governing permissions and limitations
# under the License. # under the License.
from rally import consts
from rally.task import validation from rally.task import validation
from rally_openstack import consts
from rally_openstack import scenario from rally_openstack import scenario
from rally_openstack.scenarios.quotas import utils from rally_openstack.scenarios.quotas import utils

View File

@ -14,10 +14,10 @@
# under the License. # under the License.
from rally.common import logging from rally.common import logging
from rally import consts
from rally.task import types from rally.task import types
from rally.task import validation from rally.task import validation
from rally_openstack import consts
from rally_openstack import scenario from rally_openstack import scenario
from rally_openstack.scenarios.sahara import utils from rally_openstack.scenarios.sahara import utils

View File

@ -14,9 +14,9 @@
# under the License. # under the License.
from rally.common import logging from rally.common import logging
from rally import consts
from rally.task import validation from rally.task import validation
from rally_openstack import consts
from rally_openstack import scenario from rally_openstack import scenario
from rally_openstack.scenarios.sahara import utils from rally_openstack.scenarios.sahara import utils

View File

@ -13,10 +13,10 @@
# License for the specific language governing permissions and limitations # License for the specific language governing permissions and limitations
# under the License. # under the License.
from rally import consts
from rally.task import types from rally.task import types
from rally.task import validation from rally.task import validation
from rally_openstack import consts
from rally_openstack import scenario from rally_openstack import scenario
from rally_openstack.scenarios.sahara import utils from rally_openstack.scenarios.sahara import utils

View File

@ -19,11 +19,11 @@ from oslo_utils import uuidutils
from rally.common import cfg from rally.common import cfg
from rally.common import logging from rally.common import logging
from rally.common import utils as rutils from rally.common import utils as rutils
from rally import consts
from rally import exceptions from rally import exceptions
from rally.task import atomic from rally.task import atomic
from rally.task import utils from rally.task import utils
from rally_openstack import consts
from rally_openstack import scenario from rally_openstack import scenario
from rally_openstack.scenarios.sahara import consts as sahara_consts from rally_openstack.scenarios.sahara import consts as sahara_consts

View File

@ -10,9 +10,9 @@
# License for the specific language governing permissions and limitations # License for the specific language governing permissions and limitations
# under the License. # under the License.
from rally import consts
from rally.task import validation from rally.task import validation
from rally_openstack import consts
from rally_openstack import scenario from rally_openstack import scenario
from rally_openstack.scenarios.senlin import utils from rally_openstack.scenarios.senlin import utils

View File

@ -15,9 +15,9 @@
import tempfile import tempfile
from rally import consts
from rally.task import validation from rally.task import validation
from rally_openstack import consts
from rally_openstack import scenario from rally_openstack import scenario
from rally_openstack.scenarios.swift import utils from rally_openstack.scenarios.swift import utils

View File

@ -20,12 +20,12 @@ import pkgutil
from rally.common import logging from rally.common import logging
from rally.common import sshutils from rally.common import sshutils
from rally.common import validation from rally.common import validation
from rally import consts
from rally import exceptions from rally import exceptions
from rally.plugins.common import validators from rally.plugins.common import validators
from rally.task import atomic from rally.task import atomic
from rally.task import types from rally.task import types
from rally_openstack import consts
from rally_openstack import scenario from rally_openstack import scenario
from rally_openstack.scenarios.cinder import utils as cinder_utils from rally_openstack.scenarios.cinder import utils as cinder_utils
from rally_openstack.scenarios.vm import utils as vm_utils from rally_openstack.scenarios.vm import utils as vm_utils

View File

@ -11,10 +11,10 @@
# under the License. # under the License.
from rally.common import logging from rally.common import logging
from rally import consts
from rally.task import types from rally.task import types
from rally.task import validation from rally.task import validation
from rally_openstack import consts
from rally_openstack import scenario from rally_openstack import scenario
from rally_openstack.scenarios.watcher import utils from rally_openstack.scenarios.watcher import utils

View File

@ -20,18 +20,19 @@ import six
from glanceclient import exc as glance_exc from glanceclient import exc as glance_exc
from novaclient import exceptions as nova_exc from novaclient import exceptions as nova_exc
from rally.task import types
from rally.common import logging from rally.common import logging
from rally.common import validation from rally.common import validation
from rally.common import yamlutils as yaml from rally.common import yamlutils as yaml
from rally import consts
from rally import exceptions from rally import exceptions
from rally.plugins.common import validators from rally.plugins.common import validators
from rally.task import types
from rally_openstack import consts
from rally_openstack.contexts.keystone import roles from rally_openstack.contexts.keystone import roles
from rally_openstack.contexts.nova import flavors as flavors_ctx from rally_openstack.contexts.nova import flavors as flavors_ctx
from rally_openstack import types as openstack_types from rally_openstack import types as openstack_types
LOG = logging.getLogger(__name__) LOG = logging.getLogger(__name__)

View File

@ -15,17 +15,16 @@
import abc import abc
import itertools import itertools
import netaddr import netaddr
import six import six
from neutronclient.common import exceptions as neutron_exceptions
from rally.common import cfg from rally.common import cfg
from rally.common import logging from rally.common import logging
from rally.common import utils from rally.common import utils
from rally import consts
from rally import exceptions from rally import exceptions
from neutronclient.common import exceptions as neutron_exceptions from rally_openstack import consts
LOG = logging.getLogger(__name__) LOG = logging.getLogger(__name__)

Some files were not shown because too many files have changed in this diff Show More