prisma-configure-mesh


Nameprisma-configure-mesh JSON
Version 1.1.0b1 PyPI version JSON
download
home_pagehttps://github.com/ebob9/prisma_configure_mesh
SummaryUtility for changing from Hub/Spoke to Regional, Full, or Custom Mesh for Prisma SD-WAN.
upload_time2023-04-26 05:31:11
maintainer
docs_urlNone
authorAaron Edwards
requires_python
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # 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:
 1. Enable Full Mesh
    ```bash
    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$ 
    ```
    
 2. Enable Hub/Spoke mode (Disable Full Mesh)
    ```bash
    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$ 
    ```
    
 3. Enable Regional Mesh (Selective Full Mesh or Hub/Spoke within a Region)
    ```bash
    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.                          |


            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/ebob9/prisma_configure_mesh",
    "name": "prisma-configure-mesh",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "",
    "author": "Aaron Edwards",
    "author_email": "prisma_configure_mesh@ebob9.com",
    "download_url": "https://files.pythonhosted.org/packages/1a/1a/f580075c075bde3708faf1d20731148987c9d795e178bb18ebfc77ca8a47/prisma_configure_mesh-1.1.0b1.tar.gz",
    "platform": null,
    "description": "# Prisma Configure Mesh\nUtility for changing from Hub/Spoke to Regional, Full, or Custom Mesh for Prisma SD-WAN.\n\n#### Synopsis\nEnables simply and flexibly creating Partial, Selective, or Full mesh topologies via a utility.\n\n#### Features\n - Quick one choice Full Mesh or Hub/Spoke config.\n - Detailed Partial/Selective Mesh wizard\n\n#### Requirements\n* Active CloudGenix Account\n* Python >= 3.7\n* Python modules:\n    * CloudGenix Python SDK >= 6.2.1b1 - <https://github.com/CloudGenix/sdk-python>\n    * Progressbar2 >= 3.53.1 - <https://github.com/WoLpH/python-progressbar>\n\n#### License\nMIT\n\n#### Installation:\n - **PIP:** `pip install prisma_configure_mesh`. After install, `prisma_configure_mesh` script should be placed in the Python\n Scripts directory. \n - **Github:** Download files to a local directory, manually run `prisma_configure_mesh.py` scripts. \n\n### Examples of usage:\n 1. Enable Full Mesh\n    ```bash\n    edwards-mbp-pro:prisma_configure_mesh aaron$ ./prisma_configure_mesh.py \n\n    Choose Prisma SD-WAN Network Meshing Stance:\n    1: Full Mesh\n    2: Regional Mesh\n    3: Hub/Spoke Links Only\n    4: Custom Mesh\n    \n    Choose a Number or (Q)uit: 1\n    \n    Checking network state before moving to Full Mesh.\n    Loading VPN topology information for 28 sites, please wait.\n    100%|##################################################################################################################################################################################|Time:  0:00:03\n    \n    Changing the Prisma SD-WAN mode to \"Full Mesh\" will Create:\n        341 NEW Public WAN Branch-Branch VPN Mesh Links\n        21 NEW Private WAN Branch-Branch VPN Mesh Links\n    \n    Are you sure? [N]: y\n    \n    Deploying 362 Branch-Branch VPN Mesh Links..\n    100%|##################################################################################################################################################################################|Time:  0:00:41\n    \n    Prisma SD-WAN Fabric is now in Full Mesh mode.\n    edwards-mbp-pro:prisma_configure_mesh aaron$ \n    ```\n    \n 2. Enable Hub/Spoke mode (Disable Full Mesh)\n    ```bash\n    edwards-mbp-pro:prisma_configure_mesh aaron$ ./prisma_configure_mesh.py \n\n\n    Choose Prisma SD-WAN Network Meshing Stance:\n    1: Full Mesh\n    2: Regional Mesh\n    3: Hub/Spoke Links Only\n    4: Custom Mesh\n    \n    Choose a Number or (Q)uit: 3\n    \n    Checking network state before moving to Hub/Spoke only.\n    Loading VPN topology information for 28 sites, please wait.\n    100%|##################################################################################################################################################################################|Time:  0:00:04\n    \n    Changing the Prisma SD-WAN mode to \"Hub and Spoke\" will Remove:\n        341 Public WAN Branch-Branch VPN Mesh Links\n        21 Private WAN Branch-Branch VPN Mesh Links\n    \n    Are you sure? [N]: y\n    \n    Removing 362 Branch-Branch VPN Mesh Links..\n    100%|##################################################################################################################################################################################|Time:  0:00:42\n    \n    Prisma SD-WAN Fabric is now in Hub/Spoke mode.\n    edwards-mbp-pro:prisma_configure_mesh aaron$ \n    ```\n    \n 3. Enable Regional Mesh (Selective Full Mesh or Hub/Spoke within a Region)\n    ```bash\n    edwards-mbp-pro:prisma_configure_mesh aaron$ ./prisma_configure_mesh.py \n    \n    Choose Prisma SD-WAN Network Meshing Stance:\n    1: Full Mesh\n    2: Regional Mesh\n    3: Hub/Spoke Links Only\n    4: Custom Mesh\n    \n    Choose a Number or (Q)uit: 2\n    Loading VPN topology information for 42 sites, please wait.\n    100%|#######################################################################################################################################################################|Time:  0:00:08\n    \n    Select Region to change Meshing Stance:\n    1: CHINA (5 sites): Current mode: Hub/Spoke\n    2: Denver (2 sites): Current mode: Hub/Spoke\n    3: East Coast Branches (8 sites): Current mode: Hub/Spoke\n    4: West Coast Branches (13 sites): Current mode: Full Mesh\n    5: Apply Changes\n    \n    (Note: 2 Regions were below minimum site membership (2) and ignored: MK, test)\n    \n    Choose a Number or (Q)uit: 2\n    Region Denver:\n        Sites: 2\n        Current mode: Hub/Spoke\n    \n    Select an action for this region:\n    1: Change to Full Mesh\n    2: Return to previous menu\n    \n    Choose a Number or (Q)uit: 1\n    \n    Select Region to change Meshing Stance:\n    1: CHINA (5 sites): Current mode: Hub/Spoke\n    2: *Denver (2 sites): Pending change to: Full Mesh\n    3: East Coast Branches (8 sites): Current mode: Hub/Spoke\n    4: West Coast Branches (13 sites): Current mode: Full Mesh\n    5: Apply Changes\n    \n    (Note: 2 Regions were below minimum site membership (2) and ignored: MK, test)\n    \n    Choose a Number or (Q)uit: 4\n    Region West Coast Branches:\n        Sites: 13\n        Current mode: Full Mesh\n    \n    Select an action for this region:\n    1: Change to Hub/Spoke\n    2: Return to previous menu\n    \n    Choose a Number or (Q)uit: 1\n    \n    Select Region to change Meshing Stance:\n    1: CHINA (5 sites): Current mode: Hub/Spoke\n    2: *Denver (2 sites): Pending change to: Full Mesh\n    3: East Coast Branches (8 sites): Current mode: Hub/Spoke\n    4: *West Coast Branches (13 sites): Pending change to: Hub/Spoke\n    5: Apply Changes\n    \n    (Note: 2 Regions were below minimum site membership (2) and ignored: MK, test)\n    \n    Choose a Number or (Q)uit: 1\n    Region CHINA:\n        Sites: 5\n        Current mode: Hub/Spoke\n    \n    Select an action for this region:\n    1: Change to Full Mesh\n    2: Return to previous menu\n    \n    Choose a Number or (Q)uit: 1\n    \n    Select Region to change Meshing Stance:\n    1: *CHINA (5 sites): Pending change to: Full Mesh\n    2: *Denver (2 sites): Pending change to: Full Mesh\n    3: East Coast Branches (8 sites): Current mode: Hub/Spoke\n    4: *West Coast Branches (13 sites): Pending change to: Hub/Spoke\n    5: Apply Changes\n    \n    (Note: 2 Regions were below minimum site membership (2) and ignored: MK, test)\n    \n    Choose a Number or (Q)uit: 5\n    \n    Pending Prisma SD-WAN Regional Mesh changes will:\n        Create 19 NEW Public WAN Branch-Branch VPN Mesh Links\n        Create 4 NEW Private WAN Branch-Branch VPN Mesh Links\n        Remove 235 EXISTING Public WAN Branch-Branch VPN Mesh Links\n        Remove 1 EXISTING Private WAN Branch-Branch VPN Mesh Links\n    \n    Are you sure? [N]: y\n    \n    Deploying 23 new and removing 236 existing Branch-Branch VPN Mesh Links..\n    100%|#######################################################################################################################################################################|Time:  0:00:39\n    \n    Prisma SD-WAN Fabric successfully updated the Regional Meshing stance.\n    edwards-mbp-pro:prisma_configure_mesh aaron$\n    ```\n \n### Caveats and known issues:\n - *If you have a LARGER network (>500 sites) - Please reach out to support to coordinate enabling full mesh*\n    - Selective/Partial mesh is usually the most effective and has the best performance/scale ratio.\n\n#### Version\n| Version   | Build  | Changes                                   |\n|-----------|--------|-------------------------------------------|\n| **1.1.0** | **b1** | Updated with better Regional Mesh support |\n| **1.0.0** | **b1** | Initial Release.                          |\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Utility for changing from Hub/Spoke to Regional, Full, or Custom Mesh for Prisma SD-WAN.",
    "version": "1.1.0b1",
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "1a1af580075c075bde3708faf1d20731148987c9d795e178bb18ebfc77ca8a47",
                "md5": "703e511f2e2c8ff32726fb37546d558b",
                "sha256": "1e9bd32d0d0cd204b8cb6d383f358a5c099a021380792767b1693edc9bddd462"
            },
            "downloads": -1,
            "filename": "prisma_configure_mesh-1.1.0b1.tar.gz",
            "has_sig": false,
            "md5_digest": "703e511f2e2c8ff32726fb37546d558b",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 28593,
            "upload_time": "2023-04-26T05:31:11",
            "upload_time_iso_8601": "2023-04-26T05:31:11.396805Z",
            "url": "https://files.pythonhosted.org/packages/1a/1a/f580075c075bde3708faf1d20731148987c9d795e178bb18ebfc77ca8a47/prisma_configure_mesh-1.1.0b1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-04-26 05:31:11",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "ebob9",
    "github_project": "prisma_configure_mesh",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "prisma-configure-mesh"
}
        
Elapsed time: 0.11139s