Utility for changing from Hub/Spoke to Regional, Full, or Custom Mesh for Prisma SD-WAN.
Project description
Prisma Configure Mesh
Utility for changing from Hub/Spoke to Regional, Full, or Custom Mesh for Prisma SD-WAN.
Synopsis
Enables simply and flexibly creating Partial, Selective, or Full mesh topologies via a utility.
Features
- Quick one choice Full Mesh or Hub/Spoke config.
- Detailed Partial/Selective Mesh wizard
Requirements
- Active CloudGenix Account
- Python >= 3.7
- Python modules:
- CloudGenix Python SDK >= 6.2.1b1 - https://github.com/CloudGenix/sdk-python
- Progressbar2 >= 3.53.1 - https://github.com/WoLpH/python-progressbar
License
MIT
Installation:
- PIP:
pip install prisma_configure_mesh
. After install,prisma_configure_mesh
script should be placed in the Python Scripts directory. - Github: Download files to a local directory, manually run
prisma_configure_mesh.py
scripts.
Examples of usage:
-
Enable Full Mesh
edwards-mbp-pro:prisma_configure_mesh aaron$ ./prisma_configure_mesh.py Choose Prisma SD-WAN Network Meshing Stance: 1: Full Mesh 2: Regional Mesh 3: Hub/Spoke Links Only 4: Custom Mesh Choose a Number or (Q)uit: 1 Checking network state before moving to Full Mesh. Loading VPN topology information for 28 sites, please wait. 100%|##################################################################################################################################################################################|Time: 0:00:03 Changing the Prisma SD-WAN mode to "Full Mesh" will Create: 341 NEW Public WAN Branch-Branch VPN Mesh Links 21 NEW Private WAN Branch-Branch VPN Mesh Links Are you sure? [N]: y Deploying 362 Branch-Branch VPN Mesh Links.. 100%|##################################################################################################################################################################################|Time: 0:00:41 Prisma SD-WAN Fabric is now in Full Mesh mode. edwards-mbp-pro:prisma_configure_mesh aaron$
-
Enable Hub/Spoke mode (Disable Full Mesh)
edwards-mbp-pro:prisma_configure_mesh aaron$ ./prisma_configure_mesh.py Choose Prisma SD-WAN Network Meshing Stance: 1: Full Mesh 2: Regional Mesh 3: Hub/Spoke Links Only 4: Custom Mesh Choose a Number or (Q)uit: 3 Checking network state before moving to Hub/Spoke only. Loading VPN topology information for 28 sites, please wait. 100%|##################################################################################################################################################################################|Time: 0:00:04 Changing the Prisma SD-WAN mode to "Hub and Spoke" will Remove: 341 Public WAN Branch-Branch VPN Mesh Links 21 Private WAN Branch-Branch VPN Mesh Links Are you sure? [N]: y Removing 362 Branch-Branch VPN Mesh Links.. 100%|##################################################################################################################################################################################|Time: 0:00:42 Prisma SD-WAN Fabric is now in Hub/Spoke mode. edwards-mbp-pro:prisma_configure_mesh aaron$
-
Enable Regional Mesh (Selective Full Mesh or Hub/Spoke within a Region)
edwards-mbp-pro:prisma_configure_mesh aaron$ ./prisma_configure_mesh.py Choose Prisma SD-WAN Network Meshing Stance: 1: Full Mesh 2: Regional Mesh 3: Hub/Spoke Links Only 4: Custom Mesh Choose a Number or (Q)uit: 2 Loading VPN topology information for 42 sites, please wait. 100%|#######################################################################################################################################################################|Time: 0:00:08 Select Region to change Meshing Stance: 1: CHINA (5 sites): Current mode: Hub/Spoke 2: Denver (2 sites): Current mode: Hub/Spoke 3: East Coast Branches (8 sites): Current mode: Hub/Spoke 4: West Coast Branches (13 sites): Current mode: Full Mesh 5: Apply Changes (Note: 2 Regions were below minimum site membership (2) and ignored: MK, test) Choose a Number or (Q)uit: 2 Region Denver: Sites: 2 Current mode: Hub/Spoke Select an action for this region: 1: Change to Full Mesh 2: Return to previous menu Choose a Number or (Q)uit: 1 Select Region to change Meshing Stance: 1: CHINA (5 sites): Current mode: Hub/Spoke 2: *Denver (2 sites): Pending change to: Full Mesh 3: East Coast Branches (8 sites): Current mode: Hub/Spoke 4: West Coast Branches (13 sites): Current mode: Full Mesh 5: Apply Changes (Note: 2 Regions were below minimum site membership (2) and ignored: MK, test) Choose a Number or (Q)uit: 4 Region West Coast Branches: Sites: 13 Current mode: Full Mesh Select an action for this region: 1: Change to Hub/Spoke 2: Return to previous menu Choose a Number or (Q)uit: 1 Select Region to change Meshing Stance: 1: CHINA (5 sites): Current mode: Hub/Spoke 2: *Denver (2 sites): Pending change to: Full Mesh 3: East Coast Branches (8 sites): Current mode: Hub/Spoke 4: *West Coast Branches (13 sites): Pending change to: Hub/Spoke 5: Apply Changes (Note: 2 Regions were below minimum site membership (2) and ignored: MK, test) Choose a Number or (Q)uit: 1 Region CHINA: Sites: 5 Current mode: Hub/Spoke Select an action for this region: 1: Change to Full Mesh 2: Return to previous menu Choose a Number or (Q)uit: 1 Select Region to change Meshing Stance: 1: *CHINA (5 sites): Pending change to: Full Mesh 2: *Denver (2 sites): Pending change to: Full Mesh 3: East Coast Branches (8 sites): Current mode: Hub/Spoke 4: *West Coast Branches (13 sites): Pending change to: Hub/Spoke 5: Apply Changes (Note: 2 Regions were below minimum site membership (2) and ignored: MK, test) Choose a Number or (Q)uit: 5 Pending Prisma SD-WAN Regional Mesh changes will: Create 19 NEW Public WAN Branch-Branch VPN Mesh Links Create 4 NEW Private WAN Branch-Branch VPN Mesh Links Remove 235 EXISTING Public WAN Branch-Branch VPN Mesh Links Remove 1 EXISTING Private WAN Branch-Branch VPN Mesh Links Are you sure? [N]: y Deploying 23 new and removing 236 existing Branch-Branch VPN Mesh Links.. 100%|#######################################################################################################################################################################|Time: 0:00:39 Prisma SD-WAN Fabric successfully updated the Regional Meshing stance. edwards-mbp-pro:prisma_configure_mesh aaron$
Caveats and known issues:
- If you have a LARGER network (>500 sites) - Please reach out to support to coordinate enabling full mesh
- Selective/Partial mesh is usually the most effective and has the best performance/scale ratio.
Version
Version | Build | Changes |
---|---|---|
1.1.0 | b1 | Updated with better Regional Mesh support |
1.0.0 | b1 | Initial Release. |
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file prisma_configure_mesh-1.1.0b1.tar.gz
.
File metadata
- Download URL: prisma_configure_mesh-1.1.0b1.tar.gz
- Upload date:
- Size: 28.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1e9bd32d0d0cd204b8cb6d383f358a5c099a021380792767b1693edc9bddd462 |
|
MD5 | 703e511f2e2c8ff32726fb37546d558b |
|
BLAKE2b-256 | 1a1af580075c075bde3708faf1d20731148987c9d795e178bb18ebfc77ca8a47 |