1
Development and Code Review / Re: Adding new DynDNS provider?
« on: December 25, 2021, 06:19:17 pm »
Looking through the commit history I found an example of the addition of a service:
https://github.com/opnsense/plugins/commit/ffa7ad54bc778a6cd804248a89f2740e92890135#diff-7163b855c3b4e1ef4141f32b9616f74b512c8b6cc44d63de6a74af55fa340592
I'm not familiar with this plugin, but based on that commit, I'd say adding a service is probably going to be similar. The main thing is the getting the correct API URL, and the inclusion of the error handler, then it's a simple matter of including it in the switch/case/if to get it to show up in the menu.
https://github.com/opnsense/plugins/commit/ffa7ad54bc778a6cd804248a89f2740e92890135#diff-7163b855c3b4e1ef4141f32b9616f74b512c8b6cc44d63de6a74af55fa340592
I'm not familiar with this plugin, but based on that commit, I'd say adding a service is probably going to be similar. The main thing is the getting the correct API URL, and the inclusion of the error handler, then it's a simple matter of including it in the switch/case/if to get it to show up in the menu.