aha.provision.service

The Synapse aha.provision.service tool can be used to prepare provisioning entries in the AHA server.

Syntax

aha.provision.service is executed using python -m synapse.tools.aha.provision.service. The command usage is as follows:

python -m synapse.tools.aha.provision.service -h

usage: synapse.tools.aha.provision.service [-h] [--url URL] [--user USER]
                                           [--cellyaml CELLYAML]
                                           [--mirror MIRROR]
                                           [--dmon-port DMON_PORT]
                                           [--https-port HTTPS_PORT]
                                           [--only-url]
                                           svcname

A tool to prepare provisioning entries in the AHA server.

Examples:

    # provision a new service named 00.axon from within the AHA container.
    python -m synapse.tools.aha.provision.service 00.axon

    # provision a new service named 01.cortex as a mirror from within the AHA container.
    python -m synapse.tools.aha.provision.service 01.cortex --mirror 00.cortex

positional arguments:
  svcname               The name of the service relative to the AHA network.

options:
  -h, --help            show this help message and exit
  --url URL             The telepath URL to connect to the AHA service.
  --user USER           Provision the new service with the username.
  --cellyaml CELLYAML   Specify the path to a YAML file containing config
                        options for the service.
  --mirror MIRROR       Provision the new service as a mirror of the existing
                        AHA service.
  --dmon-port DMON_PORT
                        Provision the services SSL listener on a given port.
  --https-port HTTPS_PORT
                        Provision the services HTTPS listener on a given port.
  --only-url            Only output the URL upon successful execution