# Connect to an OPNsenseConnect-OPNsense -Url 'https://opnsense.localdomain:8080' -Credential $apiCred -WebCredential $webCred -Verbose -Debug# Get the config.xml$xml = Backup-OPNsenseConfig -RRDdata# Add some packagesInstall-OPNsensePackage -Name 'unixODBC','xen-guest-tools' -Verbose# Install updates & RebootUpdate-OPNsense -Verbose
I am not experienced with PS but I can help you with the plugins I wrote. I'll have a deeper look
I'm slowly working my way through the api commands, implementing the low hanging fruit first: like the os-arp-scan plugin and new routes api.Since Quagga is depricated in 18.1 the api percentage mentioned in my OP is probably a bit higher than estimated. I'm not sure which OPNsense plugins are most popular to implement next. Any thoughts?
Quagga and FRR do have the same API. I have not changed it (API endpoints are the same as well as the data stored). So currently an API client for FRR is also an API client for quagga.
Another frequently used plugin is HAProxy (often used in combination with the Let's Encrypt plugin). This one might be complicated but from what I read here it feels like to be the most used plugin.
Get-OPNsenseItem -HAProxy Server -Filter 'web001' | Remove-OPNsenseItem