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 ✭

All,

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
Reply

Best Answer

  • CORRECT ANSWER
    JaimeJaime SonicWall Employee
    Accepted Answer

    Hi @Tytec,

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

    https://github.com/jaimeesc/sonicos_api_mass_edit_s2s_vpn_example

    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.

Answers

Sign In or Register to comment.