Join the Conversation

To sign in, use your existing MySonicWall account. To create a free MySonicWall account click "Register".

SonicOS API with python3

TytecTytec Newbie ✭


Is anyone using python to talk with the SonicOS API? If so, what modules and tips would you be able to share? Thanks in advance!

Category: Developer Hub

Best Answer

    JaimeJaime SonicWall Employee
    Accepted Answer

    Hi @Tytec,

    Here's an example script to help get you started.

    This example script can mass-edit site to site and tunnel interface VPN policies to automate a change to multiple policies. You'll see how to authenticate, pull down current configuration, edit, and push changes back & commit via SonicOS API.

    Hope this helps.


Sign In or Register to comment.