This module has been deprecated. Although the code is still working for our oldest model, it is not expected to work with the new Bastion API. Please use the new genvid-bastion and genvid-sdk tools.

class genvid.toolbox.AllInOneTool(**kwargs)

Bases: genvid.toolbox.runtime.RuntimeTool

Main tool for managing the all-in-one local environment for development.

Deprecated since version 1.7.0.

NAME = 'all-in-one'
DESCRIPTION = 'Set up all-in-one local environment.'
services = None

A LocalServiceInstaller used to manage the orchestration services


A mirror of GENVID_STATIC_BINDING for using static ports in a local configuration.


A mirror of GENVID_BASTION_INIT_FOLDER used to initialize Consul key-value store before starting up the bastion-api.

New in version 1.29.0.


Initialize Consul KV Store from configuration files.

This method:

  1. finds all .hcl and .json files directly under GENVID_BASTION_INIT_FOLDER in lexicographical order;
  2. loads them using load_config_template();
  3. registers them in Consul before loading the next file.

Changed in version 1.20.0: Non-functional refactoring to clarify intent.

Changed in version 1.29.0: Load the configuration from an external file.

Changed in version 1.33.0: Remove the dependency on ConfigTool.


Delegate to add_runtime_commands().

run_allinone_command(command, options)

Delegate to run_runtime_command().

class allinone.AllInOneTool

Implementation of genvid.toolbox.AllInOneTool