Skip to content

ZeroTouch deployment of GAIA Gateways R8040 and above, all parameter are Hard coded. This is a demo script to abilities of Check Point API

Notifications You must be signed in to change notification settings

airani1346/zerotouch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 

Repository files navigation

About
zerotouch - 2020 zerotouch deployment HA Cluster R80.40 and above
this script is only a demo for Check Point API abilities. all parameter are "Hard coded"

Overview
This repository contains one powershell script.
zerops.ps1

Requirements
powershell 5.0 or newer.
line 4: put in your Management Server IP adress or FQDN
line 5: username and password with API call priviliges
line 6: zero touch portal username and password with priviliges on necessary UC

Usage
open powerhell console.
change to directory where you stored zerops.ps1 (file can be renamed)
execute script.

What does it do?
after editing the parameter in lines 4, 5 and 6 you can start the script.

Zero touch clish script per gateway: inside "ZTGW" function
Management Server Cluster Definition: inside "CreateCluster" function

after starting script you will see following menu

   1) Create Cluster Obj on Mgmt Create OTP and Publish
      a Cluster with two members are created
   2) ZT first and second GW
      script connects to Zero touch Portal
      gets a list of your UC
      gets a list of your Templates (Gaia and SMB)
      asks if you want to unclaim a mac address first
      gets a list of unclaimed mac addresses
      asks for gateway host name
      claimes mac adress with previously collected information
      gives you instruction "wait till DHCP port Blinks on your Gateway"
      shows you the activation link
            please open this link in browser and folow instruction
      asks you if you want to wait for process end or not.
            if you want to wait: it will jump into a loop until deployment status is equal "Finished"
   3) Create-Sic
      initiales SIC between Management Server and Gateways and waits till this process is finished
   4) Instal Policy
      starts and waits for policy push task to this Cluster
      policy name is hard coded in "installPolicy" function
   0) Exit

About

ZeroTouch deployment of GAIA Gateways R8040 and above, all parameter are Hard coded. This is a demo script to abilities of Check Point API

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published