Available from V7.3.5
rConfig Oxidized Import Tool
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.
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:
This means faster, repeatable imports that slot right into your existing toolchain—no clicks required!
Let’s break down the import flow:
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 commandExample:
# Add mappings interactivelyphp 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:
router1.local:iosswitch2.local:ios:admin:cisco123fw1.local:asa:admin:cisco123:enable_pw
What happens under the hood:
rconfig_import.json
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:
php artisan rconfig:oxidized-device-mappings --add
php artisan rconfig:oxidized-load-devices /path/to/hosts.txt
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.
--dry-run
to spot errors early.Happy importing! Got feedback or questions? Give us a shout on Slack or open an issue on GitHub.