OPNsense Forum

Archive => 24.1, 24.4 Legacy Series => Topic started by: Monju0525 on February 11, 2024, 05:03:28 PM

Title: Python script that converts pfsense isc config to opnsense kea config
Post by: Monju0525 on February 11, 2024, 05:03:28 PM
This use case converts pfsense isc-dhcp static leases xml to an opnsense kea-dhcpstatic lease xml. The pfsense isc and opnsense kea xml config are different. It is a limited conversion focused on DHCP static leases and saves the manual entry time into the kea gui.

Is there interest to post the two python scripts and the outputs?
Title: Re: Python script that converts pfsense isc config to opnsense kea config
Post by: cmccallu on February 12, 2024, 11:55:12 AM
Thanks mate that sounds interesting if you are able to post the scripts you have used!
Title: Re: Python script that converts pfsense isc config to opnsense kea config
Post by: gspannu on February 13, 2024, 01:37:55 AM
Yes, the scripts would be very handy !

If the code is hosted on Github, etc... then it would be even better as I am sure we will have many contributors here to make the whole migration process better and more feature rich.

Thanks...
Title: Re: Python script that converts pfsense isc config to opnsense kea config
Post by: Monju0525 on February 14, 2024, 01:02:38 AM
Okay, I will try to get it to GitHub with some sample data.

Update: https://github.com/patrick0525/Python-Opnsense