I am currently building some python tools, which use the https-API in order to configure a set of VyOS routers.
One of my main goals is to automatically generate a meshed Wireguard network.
In order to fully achieve this, I would need access to the "generate" and "show" commands from op mode.
show wireguard keypairs pubkey default
generate wireguard default-keypair
I think "generate" is already provided in configsession.py, while "show" probably needs to be implemented. I am not sure, if there should be a more cleaner way.