add-gaia-template
Description
Create a new Gaia Gateway template for an account-id
.
If the Security Gateway is ready for deployment with its final configuration and deployment decisions, the under-construction
parameter should remain at its default (false
). In this configuration, the Security Gateway downloads its settings immediately from Zero Touch Allows users to manage the initial configurations of "Small Office" and "Gaia Gateways" easily and remotely. Settings from the Zero Touch Server replace the First Time Configuration Wizard. The Zero Touch Cloud Service runs a Web Portal and supports REST API. All actions are available through API calls. when it is claimed.
If the Security Gateway needs additional editing, under-construction
should be set to "true
" in the template to prevent downloads until the final configuration editing is complete.
The Gaia Gateway only has access to its template when it is being claimed. Edits to the template afterward have no effect on the Security Gateway.
Use the set-gaia-claimed-gateway-configuration
command to edit the Gaia Gateway before deployment and to change under-construction
to "false
" to allow the Zero Touch downloads to start.
Request URL
POST
https://zerotouch.checkpoint.com/ZeroTouch/web_api/v2/add-gaia-template
Request Headers
Parameter Name |
Type |
Description |
---|---|---|
|
application/json |
Send JSON object to use the API Web Services |
|
string token |
Session unique identifier as the response to the login request |
Request Body
Parameter Name |
Status |
Type |
Description |
---|---|---|---|
|
Mandatory |
string |
The new template's name |
|
Mandatory |
int |
The User Center account to which Security Gateways and templates belong |
|
Mandatory |
string |
Administrator password for the Security Gateway The |
|
Mandatory |
string |
Creating a Secure Internal Communication (SIC |
|
Mandatory |
string |
This is configured on the Security Gateway as a unique identifier to be recognized unambiguously by Zero Touch The string for the key is set at the Security Gateway's command line interface:
If there are repeated invalid entries of Set |
|
Mandatory |
int |
ID number of Gaia version from: |
|
Mandatory |
boolean |
If " |
|
Mandatory |
boolean |
If " |
|
Mandatory |
boolean |
A " Default value: |
|
Mandatory |
boolean |
Must be " |
|
Mandatory |
boolean |
Controls the Upload Consent Flag on the Security Gateway If " For R81.20 and higher, see sk175504 For R81.10 and lower, see sk111080 |
|
Mandatory |
boolean |
Controls the Download Consent Flag on the Security Gateway If " For R81.20 and higher, see sk175504 For R81.10 and lower, see sk111080 |
|
Mandatory |
string |
Time zone for the Security Gateway |
|
Optional |
boolean |
If " |
|
Optional |
int |
The template's unique identifier |
|
Optional |
string |
General comments |
|
Optional |
string |
CLI commands execute on the Security Gateway immediately after all other settings are applied In multiline CLISH scripts, use end line ("
Before executing the script, the Security Gateway locks the database automatically No need to add the |
|
Optional |
string |
The primary DNS server |
|
Optional |
string |
The secondary DNS server |
|
Optional |
string |
The tertiary DNS server |
|
Optional |
string |
Network Time Protocol for clock synchronization between computer systems
|
|
Optional |
string |
Network Time Protocol for clock synchronization between computer systems
|
|
Optional |
string |
The |
|
Optional |
string |
The |
|
Optional |
string |
Enter this IP address if |
|
Optional |
string |
IPv4 address |
|
Optional |
string |
IPv4's subnet mask |
|
Optional |
int |
Enter the mask length value if |
|
Optional |
string |
Enter the default gateway if |
|
Optional |
string |
Most recent version of Check Point's NTP servers is the string value " |
|
Optional |
string |
Most recent version of Check Point's NTP servers is the string value " |
|
Optional |
string |
IPv4's default gateway |
|
Optional |
string |
IP address of the proxy server |
|
Optional |
int |
Proxy port number for client connections ( |
Response
On Success, HTTP Return code: 200
Parameter Name |
Type |
Description |
---|---|---|
|
object |
Timestamps for creating a template |
|
object |
Timestamps for last modifying a template |
|
int |
The User Center account to which Security Gateways and templates belong |
|
int |
The template's unique identifier |
|
string |
IPv4's subnet mask |
|
boolean |
Must be " |
|
int |
Enter the mask length value if |
|
string |
Enter the default gateway if |
|
boolean |
A " Default value: |
|
string |
Network Time Protocol for clock synchronization between computer systems
|
|
string |
Most recent version of Check Point's NTP servers is the string value " |
|
string |
Network Time Protocol for clock synchronization between computer systems
|
|
string |
Most recent version of Check Point's NTP servers is the string value " |
|
string |
IPv4's default gateway |
|
string |
IP address of the proxy server |
|
int |
Proxy port number for client connections ( |
|
int |
ID number of Gaia version from: |
|
boolean |
If " |
|
string |
This is configured on the Security Gateway as a unique identifier to be recognized unambiguously by Zero Touch The string for the key is set at the Security Gateway's command line interface:
If there are repeated invalid entries of Set |
|
boolean |
If " |
|
string |
General comments |
|
string |
The |
|
string |
The |
|
string |
CLI commands execute on the Security Gateway immediately after all other settings are applied In multiline CLISH scripts, use end line ("
Before executing the script, the Security Gateway locks the database automatically No need to add the |
|
string |
Administrator password for the Security Gateway The |
|
boolean |
Controls the Upload Consent Flag on the Security Gateway If " For R81.20 and higher, see sk175504 For R81.10 and lower, see sk111080 |
|
string |
IPv4 address |
|
string |
Creating a Secure Internal Communication (SIC) activation key |
|
string |
The primary DNS server |
|
string |
The secondary DNS server |
|
string |
The tertiary DNS server |
|
boolean |
Controls the Download Consent Flag on the Security Gateway If " For R81.20 and higher, see sk175504 For R81.10 and lower, see sk111080 |
|
boolean |
If " |
|
string |
Enter this IP address if |
|
string |
Time zone for the Security Gateway |
|
string |
The template name |
creation-time
Parameter Name |
Type |
Description |
---|---|---|
|
int |
The value is the number of milliseconds that have elapsed since 00:00:00, 1 January 1970 |
|
string |
Date and time represented in international ISO 8601 format |
last-modify-time
Parameter Name |
Type |
Description |
---|---|---|
|
int |
The value is the number of milliseconds that have elapsed since 00:00:00, 1 January 1970 |
|
string |
Date and time represented in international ISO 8601 format |
On Failure, HTTP Return code: 400, 401, 500
Parameter Name |
Type |
Description |
---|---|---|
|
string |
Operation status |
|
List: string |
List of validation errors |
|
string |
Error code |
Request Example
{ "name": "Template B", "time-zone": "London, Europe (GMT)", "proxy-port": null, "account-id": 7899567, "template-id": 5222500, "comments": "My comments", "user-script": "", "upload-info": true, "ftw-sic-key": "y6y6y6", "dns-server1": "", "dns-server2": "", "dns-server3": "", "config-ipv6": false, "ntp1": "ntp.checkpoint.com", "ntp2": "ntp2.checkpoint.com", "identification-key": "k2k2k2", "creating-user": "user@domain.com", "last-modifying-user": "user@domain.com", "admin-password": "l9l9l9", "mgmt-eth-ip-address-ipv6": "", "mgmt-eth-ip-address-ipv4": "", "gaia-version-id": 4, "download-info": true, "cluster-member": false, "mgmt-eth-subnet-mask-ipv4": "", "mgmt-eth-mask-length-ipv6": "", "default-gateway-ipv6": "", "under-construction": false, "ntp1-version": "4", "ntp2-version": "4", "default-gateway-ipv4": "", "proxy-server": "", "force-reimage": false } |
Response Example
{ "account-id": 7899567, "template-id": 87352492, "mgmt-eth-subnet-mask-ipv4": "", "config-ipv6": false, "mgmt-eth-mask-length-ipv6": "", "default-gateway-ipv6": "", "under-construction": false, "ntp1": "ntp.checkpoint.com", "ntp1-version": "4", "ntp2": "ntp2.checkpoint.com", "ntp2-version": "4", "default-gateway-ipv4": "", "proxy-server": "", "force-reimage": false, "identification-key": "******", "comments": "My comments", "creating-user": "user@domain.com", "last-modifying-user": "user@domain.com", "user-script": "", "admin-password": "******", "upload-info": true, "mgmt-eth-ip-address-ipv4": "", "ftw-sic-key": "******", "dns-server1": "", "dns-server2": "", "dns-server3": "", "creation-time": { "posix": 1530099088, "iso-8601": "2018-06-27T11:31" }, "last-modify-time": { "posix": 1530099088, "iso-8601": "2018-06-27T11:31" }, "gaia-version-id": 4, "download-info": true, "cluster-member": false, "mgmt-eth-ip-address-ipv6": "", "proxy-port": null, "time-zone": "London, Europe (GMT)", "name": "Template B" } |