Skip to content

Management Commands

Management commands are thin wrappers that delegate to the service layer. Run them with uv run --no-sync python manage.py <command>.

micboard.management

Source

micboard.management.commands

Source

micboard.management.commands.archive_audit_logs

Source

Management command to archive and prune audit logs.

Command

Bases: BaseCommand

Source

add_arguments(parser: Any) -> Any

Source

handle(*args: Any, **options: Any) -> None

Source

micboard.management.commands.audit_admin

Source

Audit the live Django admin registry for configuration and query risks.

Command

Bases: BaseCommand

Source

Expose the admin audit service through Django’s command interface.

add_arguments(parser: CommandParser) -> None

Source

Register the supported audit filters and check selectors.

handle(*args: Any, **options: Any) -> None

Source

Validate options, run the service, and render its typed report.

micboard.management.commands.audit_regulatory_coverage

Source

Management command to audit regulatory coverage for all devices.

Checks every active WirelessChassis and RFChannel for:

  1. Assigned Regulatory Domain (via Location)
  2. Configured Band Plan
  3. Regulatory Coverage for Band Plan range
  4. Regulatory Coverage for operating frequencies

Usage: uv run –no-sync python manage.py audit_regulatory_coverage [–fix]

Command

Bases: BaseCommand

Source

add_arguments(parser: Any) -> Any

Source

handle(*args: Any, **options: Any) -> None

Source

audit_chassis(fix_mode: Any) -> Any

Source

Audit WirelessChassis band plans and regulatory domains.

audit_channels() -> Any

Source

Audit active RFChannel frequencies.

micboard.management.commands.diagnostic_api_health_check

Source

HealthChecker

Source

Perform health checks on Shure System API.

check_connectivity() -> Any

Source

check_devices() -> Any

Source

check_discovery_ips() -> Any

Source

check_api_endpoints() -> Any

Source

check_client_config() -> Any

Source

Source

run(full: bool = False) -> Any

Source

Command

Bases: BaseCommand

Source

add_arguments(parser: Any) -> Any

Source

handle(*args: Any, **options: Any) -> None

Source

micboard.management.commands.discovery_add_devices

Source

Submit validated IP addresses to a manufacturer’s discovery workflow.

Command

Bases: BaseCommand

Source

Validate operator-supplied addresses and submit them through the service layer.

add_arguments(parser: Any) -> None

Source

Register bounded discovery candidate options.

handle(*args: Any, **options: Any) -> None

Source

Submit a bounded, canonical address list without direct network probing.

micboard.management.commands.import_devices

Source

Management command to import Shure devices from System API into Django models.

Command

Bases: BaseCommand

Source

add_arguments(parser: Any) -> Any

Source

handle(*args: Any, **options: Any) -> None

Source

micboard.management.commands.import_efis_regulations

Source

Management command to import EFIS regulatory data.

Imports frequency band data from the ECO Frequency Information System (EFIS). Can be run manually or scheduled via cron/tasks.

Command

Bases: BaseCommand

Source

Import EFIS regulatory data.

add_arguments(parser: Any) -> Any

Source

handle(*args: Any, **options: Any) -> None

Source

micboard.management.commands.init_settings

Source

Management command to initialize settings registry with definitions.

Command

Bases: BaseCommand

Source

Initialize settings definitions.

add_arguments(parser: Any) -> Any

Source

handle(*args: Any, **options: Any) -> None

Source

micboard.management.commands.poll_devices

Source

Management command to poll device APIs using the service layer.

Command

Bases: BaseCommand

Source

Poll manufacturer APIs for device data and update models.

Uses the manufacturer inventory sync to coordinate between manufacturer plugins, model updates, and real-time broadcasts.

add_arguments(parser: Any) -> Any

Source

handle(*args: Any, **options: Any) -> None

Source

micboard.management.commands.realtime_status

Source

Management command to check and display real-time connection status.

Command

Bases: BaseCommand

Source

add_arguments(parser: Any) -> None

Source

handle(*args: Any, **options: Any) -> None

Source

micboard.management.commands.realtime_subscribe

Source

Start the bounded realtime subscription supervisor from the command line.

Command

Bases: BaseCommand

Source

Thin foreground adapter for the realtime subscription runner.

add_arguments(parser: CommandParser) -> None

Source

Register the manufacturer and optional single-device selectors.

handle(*args: Any, **options: Any) -> None

Source

Resolve the manufacturer and run the singleton supervisor for its transport.

micboard.management.commands.seed_demo_data

Source

Management command that seeds the demonstration dataset.

Command

Bases: BaseCommand

Source

Create a small, self-consistent demonstration dataset.

add_arguments(parser: Any) -> None

Source

Register the optional read-only account password.

handle(*_args: Any, **options: Any) -> None

Source

Delegate to the seeding service and report what it produced.

micboard.management.commands.set_logging_mode

Source

Management command to set audit logging verbosity mode.

Command

Bases: BaseCommand

Source

add_arguments(parser: Any) -> Any

Source

handle(*args: Any, **options: Any) -> None

Source

micboard.management.commands.sync_discovery

Source

Management command to synchronize discovery between Django and manufacturer APIs.

This command pushes DiscoveredDevice IPs from Django to manufacturer APIs (like Shure System API) and then pulls device data back to Django. Django Micboard is the “source of truth” for device IPs.

Command

Bases: BaseCommand

Source

add_arguments(parser: Any) -> Any

Source

handle(*args: Any, **options: Any) -> None

Source