Example #1
0
from __future__ import print_function
import argparse
import json
import os

from environment import env

parser = argparse.ArgumentParser(
    formatter_class=argparse.ArgumentDefaultsHelpFormatter,
    description='Bring up onedata environment.')

parser.add_argument('-i',
                    '--image',
                    action='store',
                    default=env.default('image'),
                    help='the image to use for the components',
                    dest='image')

parser.add_argument('-bw',
                    '--bin-worker',
                    action='store',
                    default=env.default('bin_op_worker'),
                    help='the path to op_worker repository (precompiled)',
                    dest='bin_op_worker')

parser.add_argument('-bccm',
                    '--bin-ccm',
                    action='store',
                    default=env.default('bin_op_ccm'),
                    help='the path to op_ccm repository (precompiled)',
Example #2
0
from __future__ import print_function

import argparse
import json

from environment import env

parser = argparse.ArgumentParser(
    formatter_class=argparse.ArgumentDefaultsHelpFormatter,
    description='Bring up onedata environment.')

parser.add_argument(
    '-i', '--image',
    action='store',
    default=env.default('image'),
    help='the image to use for the components',
    dest='image')

parser.add_argument(
    '-ci', '--ceph-image',
    action='store',
    default=env.default('ceph_image'),
    help='the image to use for the ceph storages',
    dest='ceph_image')

parser.add_argument(
    '-si', '--s3-image',
    action='store',
    default=env.default('s3_image'),
    help='the image to use for the s3 storages',
Example #3
0
from __future__ import print_function

import argparse
import json

from environment import env

parser = argparse.ArgumentParser(
    formatter_class=argparse.ArgumentDefaultsHelpFormatter,
    description='Bring up onedata environment.')

parser.add_argument('-i',
                    '--image',
                    action='store',
                    default=env.default('image'),
                    help='the image to use for the components',
                    dest='image')

parser.add_argument('-ci',
                    '--ceph-image',
                    action='store',
                    default=env.default('ceph_image'),
                    help='the image to use for the ceph storages',
                    dest='ceph_image')

parser.add_argument('-si',
                    '--s3-image',
                    action='store',
                    default=env.default('s3_image'),
                    help='the image to use for the s3 storages',
Example #4
0
from __future__ import print_function
import argparse
import json
import os

from environment import env

parser = argparse.ArgumentParser(
    formatter_class=argparse.ArgumentDefaultsHelpFormatter,
    description='Bring up onedata environment.')

parser.add_argument('-i',
                    '--image',
                    action='store',
                    default=env.default('image'),
                    help='the image to use for the components',
                    dest='image')

parser.add_argument('-bw',
                    '--bin-worker',
                    action='store',
                    default=env.default('bin_op_worker'),
                    help='the path to op_worker repository (precompiled)',
                    dest='bin_op_worker')

parser.add_argument('-bcw',
                    '--bin-cluster-worker',
                    action='store',
                    default=env.default('bin_cluster_worker'),
                    help='the path to cluster_worker repository (precompiled)',
Example #5
0
    action='store',
    default=None,
    help='override of docker image for GlusterFS storages',
    dest='glusterfs_image')

parser.add_argument(
    '-wi', '--webdav-image',
    action='store',
    default=None,
    help='override of docker image for WebDAV storages',
    dest='webdav_image')

parser.add_argument(
    '-bw', '--bin-worker',
    action='store',
    default=env.default('bin_op_worker'),
    help='the path to op_worker repository (precompiled)',
    dest='bin_op_worker')

parser.add_argument(
    '-bcw', '--bin-cluster-worker',
    action='store',
    default=env.default('bin_cluster_worker'),
    help='the path to cluster_worker repository (precompiled)',
    dest='bin_cluster_worker')

parser.add_argument(
    '-bcm', '--bin-cm',
    action='store',
    default=env.default('bin_cluster_manager'),
    help='the path to cluster_manager repository (precompiled)',