10 mins
V7 Pro
Available from V7.3.5
This tool allows you to import devices from Oxidized into rConfig. It includes commands for creating device mappings, loading devices from Oxidized, and importing them into rConfig.
Thinking of moving on from Oxidized? You’re not alone. While Oxidized excels at collecting device configs, rConfig supercharges your workflow with scheduling, templating, auditing, and rich reporting—all in one place. Our Oxidized Import Tool smooths the transition: in just a few commands you’ll map device types, parse your hosts file, and import everything straight into rConfig. No manual copy‑and‑pasting—just rapid, automated onboarding so you can focus on real network management.
We designed the Oxidized Import Tool as a CLI utility to keep it lean, scriptable, and automation‑friendly. With a CLI you can:
Integrate seamlessly into CI/CD pipelines or cron jobs
Run on headless servers without GUI overhead
Chain commands in scripts for fully automated workflows
Customize behavior easily via flags and options
This means faster, repeatable imports that slot right into your existing toolchain—no clicks required!
Speed : Go from hosts file to imported devices in minutes.
Consistency : Your Oxidized types map perfectly to rConfig settings every time.
Clarity : Dry‑run mode shows you exactly what’s coming—so no surprises.
Play
Let’s break down the import flow:
🔧 Create Device Mappings — Tell rConfig how to translate Oxidized types.
📂 Load Devices — Turn your Oxidized hosts file into rConfig‑ready JSON.
🚀 Import Devices — Push that JSON into rConfig and watch the magic happen.
Command : php artisan rconfig:oxidized-device-mappings
Kick off by mapping your Oxidized device types to rConfig’s templates, vendors, and categories.
Options :
--list
— See all existing mappings
--add
— Create a brand‑new mapping
--edit=TYPE
— Tweak an existing mapping
--delete=TYPE
— Remove a mapping you no longer need
--info
— Quick help for this command
Example :
# Add mappings interactively
php artisan rconfig:oxidized-device-mappings --add
Why it matters : Accurate mappings ensure devices import with the right prompts, tags, and settings—no manual clean‑up later.
Command : php artisan rconfig:oxidized-load-devices /path/to/hosts.txt
This step reads your Oxidized hosts file and spits out a tidy JSON file for rConfig.
Hosts File Format :
hostname:device_type[:username:password[:enable_password]]
Examples:
switch2.local:ios:admin:cisco123
fw1.local:asa:admin:cisco123:enable_pw
What happens under the hood:
✔️ Validates connectivity
🔄 Applies your mappings
📄 Generates rconfig_import.json
📝 Logs any hiccups for easy troubleshooting
Command : php artisan rconfig:oxidized-import-devices /path/to/rconfig_import.json
Time to bring your devices home:
Options :
--group=ID
— Assign all imported devices to a default group (default: 1)
--dry-run
— Preview the import without touching the database
--info
— Need a refresher? We’ve got you covered.
Import Flow :
🧐 Validate JSON structure
🔍 Check for existing devices
➕ Create new devices with the right templates
📑 Link tags, vendors, and categories
📥 Schedule immediate config grabs
Create mappings
php artisan rconfig:oxidized-device-mappings --add
Load hosts
php artisan rconfig:oxidized-load-devices /path/to/hosts.txt
Import JSON
php artisan rconfig:oxidized-import-devices --dry-run /path/to/rconfig_import.json
Feel free to swap --dry-run
for a live run when you’re ready.
Start with --dry-run
to spot errors early.
Pre-create credential sets in rConfig to avoid hiccups.
Double‑check mappings when a device fails—typos happen!
Keep your JSON files for audit trails and rollbacks.
Logs are your friend : validation errors point you straight to the problem.
Happy importing! Got feedback or questions? Give us a shout on Slack or open an issue on GitHub.