Skip to main content

nautobot-app-ssot-lantronix

A Nautobot SSoT integration that keeps Nautobot current with the Lantronix SLC 9000, SLC 8000 and EMG console servers managed by Percepxion. Nobody has to type console server inventory into Nautobot by hand.

The Percepxion to Nautobot job reads Percepxion and:

  • creates each console server in Nautobot with the right device type, so its console server ports come from the device type
  • labels each console server port with the name configured on the console server, and describes it with the hostname of the attached device
  • records the port state and the attached device's type, model, OS version, serial, hostname and management IP in custom fields on the port, when the console server reports them
  • adds an Open console link on each port that launches an SSH session through the console server (ssh://<console server>:<base port + port number>)

The job never writes to Percepxion or to a console server, and never deletes anything in Nautobot. Like every SSoT job, it can run as a dry run that shows the diff without writing.

Two optional modules build on the synced data:

  • ServiceNow console paths: the stock nautobot-ssot ServiceNow job plus a "Connects to" relationship between each attached device and the console server port that reaches it.
  • Golden Config: a Nornir dispatcher that backs up SLC configuration with every secret masked, for Nautobot Golden Config backup, intended and compliance jobs.

The SSoT sync diff for a console server and its ports, read from Percepxion

Console server ports labeled with the name set on the console server and described with the attached device's hostname

A console server port with the attached device's details in custom fields, and an Open console button

Requirements

Nautobot 3.1 or later, below 4.0
nautobot-ssot 4.8 or later, below 5
Python 3.11 to 3.14
Percepxion Percepxion cloud or on-premises, and a Percepxion user with the tenant_user role in the organization you sync. No administrator role is needed.
Device types Lantronix SLC and EMG device types, imported before the first sync. The definitions are in docker/device-types.

Compatibility

nautobot-app-ssot-lantronix Nautobot nautobot-ssot Python
0.3.0 and later 3.1 and later 3.x 4.8 and later 4.x 3.11 to 3.14
0.1.0 to 0.2.0 3.1 and later 3.x 4.8 and later 4.x 3.10 to 3.14

CI runs the tests against Nautobot 3.1 and 3.2. Beyond nautobot-ssot, the core sync needs no other app or service. The optional ServiceNow module needs nautobot-ssot[servicenow], and the optional Golden Config module needs Nautobot Golden Config and a Netmiko release that includes the lantronix_itmgos driver.

Install

  1. Install the package into the Nautobot environment:

    pip install nautobot-app-ssot-lantronix
    

    To pin a version, install nautobot-app-ssot-lantronix==X.Y.Z with a version from the releases. For the ServiceNow module, install "nautobot-app-ssot-lantronix[servicenow]". For a Docker install, follow Docker instead of these steps.

  2. Enable and configure the app in nautobot_config.py (see Configuration).

  3. Run nautobot-server post_upgrade and restart Nautobot and its Celery worker.

  4. Import the device types for your hardware from docker/device-types with Devices > Device Types > Import, and create the location set as default_location.

  5. Run the job (see First sync).

On the first run the app creates the manufacturer Lantronix, the platform Lantronix ITM OS (network driver lantronix_itmgos), the device role you configure, the custom fields it writes and the Lantronix: Open console custom link, and reuses any that already exist.

Docker

This runs Nautobot 3.2 with nautobot-ssot and the app in Docker, including its database and Redis. You need Docker with Compose and a Percepxion user with the tenant_user role.

  1. Clone the repository and create your settings file:

    git clone https://github.com/Lantronix/nautobot-app-ssot-lantronix.git
    cd nautobot-app-ssot-lantronix/docker
    cp env.example .env
    
  2. Fill in every value in .env. Generate the secret key and passwords with openssl rand -hex 32, and the API token with openssl rand -hex 20.

  3. Build and start Nautobot. The first start runs the database migrations and can take several minutes.

    docker compose up -d --build
    
  4. Import the device types and create the Console Servers location. Running this again changes nothing that already exists.

    docker compose exec nautobot nautobot-server nbshell --command "exec(open('/opt/nautobot-lantronix/setup.py').read())"
    
  5. Open http://localhost:8080, sign in as admin with NAUTOBOT_SUPERUSER_PASSWORD, and follow First sync.

To use another port, set NAUTOBOT_PORT in .env. The stack runs as Compose project nautobot-lantronix, so its containers and database stay separate from any other Nautobot on the host.

First sync

  1. Go to Jobs > Jobs, edit Percepxion to Nautobot and enable it.
  2. Run it with Dryrun on to see the diff without writing anything.
  3. Run it again with Dryrun off.

Configuration

The Percepxion endpoint, organization and credentials come only from environment variables. They're never stored in the Nautobot database, job inputs or logs.

Variable
PERCEPXION_URL API base, for example https://api.percepxion.ai/api. Must use https://.
PERCEPXION_USERNAME, PERCEPXION_PASSWORD The Percepxion user the job signs in as
PERCEPXION_ORG_ID The Percepxion organization to sync
PERCEPXION_CA_BUNDLE Optional CA bundle for on-premises Percepxion
PLUGINS = ["nautobot_ssot", "nautobot_ssot_lantronix"]

PLUGINS_CONFIG = {
    "nautobot_ssot": {"hide_example_jobs": True},
    "nautobot_ssot_lantronix": {
        "default_location": "Main Site",   # location for new console servers (must exist)
        "default_role": "Console Server",
        "default_status": "Active",
        "ssh_base_port": 3000,             # change if you changed it on your console servers
        "model_rules": {},                 # see Device models
    },
}

A missing setting stops the job with an error that names the setting, never its value.

Device models

Percepxion reports an SLC 9000's model as its total number of serial ports and doesn't report the Ethernet switch module or the power supply type, so several SLC 9000 SKUs look the same in Percepxion. The job picks the device type from show sysconfig output stored in Percepxion (if anyone has run show sysconfig on the unit through Percepxion, in the console editor or a CLI job), then from model_rules, then from a single device type that matches the port counts. A rule maps MODEL|RJ45|USB to a device type, for fleets that buy one variant:

"model_rules": {"SLC9016|16|0": "lantronix-slc9016-16e"}

A device the job can't resolve isn't created; the job log names it and the candidate types. EMG units resolve from Percepxion data alone.

What the job changes in Nautobot

Object Job writes Job never changes
Console server (device) created with name, type, location, role, platform, serial and the Percepxion device ID; management IP in a custom field, never in IPAM location, role or type of an existing device
Console server port label (the port's name on the console server), description (attached device hostname), port state and attached-device custom fields name, cables, anything else

The console server is the source of truth for port labels and descriptions. A label edited by hand in Nautobot is overwritten on the next sync; rename the port on the console server instead. An existing Nautobot device is adopted only when it's a Lantronix device on the Lantronix platform (or none) whose serial matches, or that has no serial and the same name; anything else with the same name is reported and left alone.

Open console

The link builds ssh://<address>:<SSH base port + port number> from the device's primary IP, or the management address Percepxion reports. Your browser opens it with your SSH client and you sign in to the console server as yourself.

On the console server, direct SSH access is off by default on every port. Turn it on for the ports you want to reach, for example set deviceport port 1-48 sshin enable (answer yes to the confirmation).

ServiceNow console paths (optional)

With nautobot-ssot's ServiceNow integration enabled ("enable_servicenow": True under nautobot_ssot, with its instance and credential settings), the app registers Nautobot ⟹ ServiceNow (with console paths). It runs the stock device, interface, model and location sync, then adds a cmdb_rel_ci "Connects to::Connected by" relationship from each attached device to its console server, with the port number. Both CIs must already be in ServiceNow. The job never deletes records; links in ServiceNow with no Nautobot cable behind them are logged.

Set "servicenow_console_link_parent": "console_server" under nautobot_ssot_lantronix to make the console server the parent of each link instead.

Golden Config (optional)

With Nautobot Golden Config installed, map the platform's network driver to the app's dispatcher:

PLUGINS_CONFIG["nautobot_plugin_nornir"] = {
    "dispatcher_mapping": {
        "lantronix_itmgos": "nautobot_ssot_lantronix.golden_config.dispatcher.NetmikoLantronixItmgos",
    },
}

Backups use the console server's own configuration export and need a Netmiko release that includes the lantronix_itmgos driver. Every password, community and key is replaced with <secret hidden>, and a backup that can't be proven fully masked is refused rather than saved.

Troubleshooting

Symptom Check
Job isn't listed or can't run Jobs > Jobs: enable Percepxion to Nautobot after installing or upgrading the app
Job stays pending The Celery worker isn't running
Job shows Failed and you need the reason The Sync failed line in the job result's log, or the nautobot_ssot_lantronix.sync line in the worker log (docker compose logs worker). The job result's traceback has the full detail.
Job fails with a login error PERCEPXION_USERNAME and PERCEPXION_PASSWORD. Fix them and restart Nautobot and the worker.
Job fails with "Percepxion read failed" and an HTTP status The account needs the tenant_user role in PERCEPXION_ORG_ID. Check the organization ID matches the one in Percepxion.
Device missing after a sync The job log names each skipped device and why: ambiguous model, device type not imported, a duplicate name, or a conflict with an existing Nautobot device. Devices outside the configured organization are counted, not named.

Support

  • Bugs and feature requests: GitHub Issues. Include the app, Nautobot and nautobot-ssot versions, and the job log.
  • Questions about Percepxion or Lantronix console servers: Lantronix Technical Support.

License

Apache-2.0

Metadata

Release files for nautobot-app-ssot-lantronix 0.3.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nautobot-app-ssot-lantronix 0.3.2
File Size Uploaded Provenance Actions
nautobot_app_ssot_lantronix-0.3.2.tar.gz 69.6 kB With provenance Details for nautobot_app_ssot_lantronix-0.3.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for nautobot-app-ssot-lantronix 0.3.2
File Interpreter ABI Platform Actions
nautobot_app_ssot_lantronix-0.3.2-py3-none-any.whl Python 3 none any Details for nautobot_app_ssot_lantronix-0.3.2-py3-none-any.whl

Total release size: 157.5 kB

Release files / nautobot_app_ssot_lantronix-0.3.2.tar.gz

Download URL nautobot_app_ssot_lantronix-0.3.2.tar.gz
Size 69.6 kB
Tags Source
SHA-256 checksum
How to use checksums
6657a441cbcf0b083660055c9b9303b65db614480cafa917e6666fa685e8e76c
BLAKE2b-256 checksum
How to use checksums
f1a1bbab41c1b22d3a7ec3ccb1011680f3c327e19b646d6e1e22ccc6193ee8b0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.

Transparency log

Release files / nautobot_app_ssot_lantronix-0.3.2-py3-none-any.whl

Download URL nautobot_app_ssot_lantronix-0.3.2-py3-none-any.whl
Size 87.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
03f169b03099965b4177f3665d097ce08cd7522cb7656f5329e8ea9f717a21f5
BLAKE2b-256 checksum
How to use checksums
c4688ff2d4873cf4b98fc5c204d159133d73b6717083cb49971017feb9fdee89
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.

Transparency log

Security for nautobot-app-ssot-lantronix 0.3.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for nautobot_app_ssot_lantronix-0.3.2.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page