You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
dvmhost/tools/dvmcfggen
Bryan Biedenkapp 973b4f1c2b
typo;
1 month ago
..
examples add support to dvmcfggen for logging configuration; add support to dvmcfggen for user supplied answers files to automate skipping certain wizard questions; 1 month ago
ANSWERS_FILE_USAGE.md typo; 1 month ago
EXAMPLES.md update gitignore to include some python stuff; add very very preliminary Python tool that helps generate dvmhost configurations; 2 months ago
QUICKREF.md update gitignore to include some python stuff; add very very preliminary Python tool that helps generate dvmhost configurations; 2 months ago
README.md update gitignore to include some python stuff; add very very preliminary Python tool that helps generate dvmhost configurations; 2 months ago
USAGE.md update gitignore to include some python stuff; add very very preliminary Python tool that helps generate dvmhost configurations; 2 months ago
__init__.py update gitignore to include some python stuff; add very very preliminary Python tool that helps generate dvmhost configurations; 2 months ago
answers_loader.py add support to dvmcfggen for logging configuration; add support to dvmcfggen for user supplied answers files to automate skipping certain wizard questions; 1 month ago
config_manager.py update gitignore to include some python stuff; add very very preliminary Python tool that helps generate dvmhost configurations; 2 months ago
dvmcfg update gitignore to include some python stuff; add very very preliminary Python tool that helps generate dvmhost configurations; 2 months ago
dvmcfg.py add support to dvmcfggen for logging configuration; add support to dvmcfggen for user supplied answers files to automate skipping certain wizard questions; 1 month ago
iden_table.py update gitignore to include some python stuff; add very very preliminary Python tool that helps generate dvmhost configurations; 2 months ago
network_ids.py update gitignore to include some python stuff; add very very preliminary Python tool that helps generate dvmhost configurations; 2 months ago
requirements.txt update gitignore to include some python stuff; add very very preliminary Python tool that helps generate dvmhost configurations; 2 months ago
templates.py update gitignore to include some python stuff; add very very preliminary Python tool that helps generate dvmhost configurations; 2 months ago
trunking_manager.py add support to dvmcfggen for logging configuration; add support to dvmcfggen for user supplied answers files to automate skipping certain wizard questions; 1 month ago
version.py update gitignore to include some python stuff; add very very preliminary Python tool that helps generate dvmhost configurations; 2 months ago
wizard.py add support to dvmcfggen for logging configuration; add support to dvmcfggen for user supplied answers files to automate skipping certain wizard questions; 1 month ago

README.md

dvmcfggen - DVMHost Configuration Generator

A comprehensive Python-based configuration utility for creating/managing DVMHost configurations, including support for multi-instance trunking configurations and automatic frequency planning.

Features

  • Complete Configuration Files: Generated configs include ALL 265+ parameters from DVMHost's config.example.yml
  • Interactive Wizard: Step-by-step guided configuration creation
  • Frequency Configuration: Automatic channel assignment and identity table generation
    • 6 preset frequency bands (800/700/900 MHz, UHF, VHF)
    • Automatic channel ID and channel number calculation
    • RX frequency calculation with offset support
    • Identity table (iden_table.dat) generation
  • Template System: Pre-configured templates for common deployments
    • Repeater/Hotspot (duplex)
    • Control Channels (P25/DMR)
    • Voice Channels
    • Conventional Repeater
  • Configuration Validation: Comprehensive validation of all parameters
  • Multi-Instance Trunking: Manage complete trunked systems
    • Automatic CC + VC configuration
    • Peer ID and port management
    • System-wide updates
    • Consistent frequency planning across all instances
  • CLI Interface: Command-line tools for automation
  • Rich Output: Beautiful terminal formatting and tables

Installation

cd dvmcfg
pip install -r requirements.txt

Quick Start

Interactive Wizard (Easiest!)

./dvmcfg wizard

The wizard guides you step-by-step through configuration creation with prompts and validation.

Create New Configuration (CLI)

./dvmcfg create --template hotspot --output /etc/dvm/config.yml

Create Trunked System

./dvmcfg trunk create --cc-port 62031 --vc-count 2 --base-dir /etc/dvm/trunked

Validate Configuration

./dvmcfg validate /etc/dvm/config.yml

Templates

  • repeater: Standalone repeater
  • control-channel: Dedicated control channel for trunking
  • voice-channel: Voice channel for trunking
  • conventional: Conventional repeater with channel grants

License

This project is licensed under the GPLv2 License - see the LICENSE file for details. Use of this project is intended, for amateur and/or educational use ONLY. Any other use is at the risk of user and all commercial purposes is strictly discouraged.

Powered by TurnKey Linux.