Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
jrbalderrama committed Jun 19, 2018
1 parent ac7000b commit 6fca3d4
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions orchestrator/tasks.py
Original file line number Diff line number Diff line change
@@ -1,29 +1,24 @@
import itertools
import json
import os
import sys
import pathlib
import uuid
from os import path

from enoslib.api import run_ansible, generate_inventory, emulate_network, \
validate_network, reset_network
# NOTE()msimonin) dropping the chameleon support temporary
#from enoslib.infra.enos_chameleonkvm.provider import Chameleonkvm
# from enoslib.infra.enos_chameleonkvm.provider import Chameleonkvm
from enoslib.infra.enos_g5k.provider import G5k
from enoslib.infra.enos_vagrant.provider import Enos_vagrant
from enoslib.infra.enos_static.provider import Static
from enoslib.infra.enos_vagrant.provider import Enos_vagrant
from enoslib.task import enostask

from orchestrator.constants import BACKUP_DIR, ANSIBLE_DIR, DRIVER, VERSION, MODE
from orchestrator.ombt import OmbtClient, OmbtController, OmbtServer, \
RabbitMQConf, QdrConf
from orchestrator.qpid_dispatchgen import get_conf, generate, round_robin

if sys.version_info[0] < 3:
import pathlib2 as pathlib
else:
import pathlib


def shard_value(value, shards, include_zero=False):
"""Shard a value in multiple values.
Expand Down

0 comments on commit 6fca3d4

Please sign in to comment.