<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Cloud Guard: Automated firewall Cluster Deployment with auto-scaling option in API / CLI Discussion</title>
    <link>https://community.checkpoint.com/t5/API-CLI-Discussion/CloudGuard-Automated-firewall-Cluster-Deployment-with-auto/m-p/39484#M2465</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;nice, THX&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 04 Mar 2018 09:46:43 GMT</pubDate>
    <dc:creator>HeikoAnkenbrand</dc:creator>
    <dc:date>2018-03-04T09:46:43Z</dc:date>
    <item>
      <title>CloudGuard: Automated firewall Cluster Deployment with auto-scaling option</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/CloudGuard-Automated-firewall-Cluster-Deployment-with-auto/m-p/39480#M2461</link>
      <description>&lt;P&gt;If you are playing with the API's, you will realise there is no API call yet available for Cluster Deployment. In the meantime, with little help from R&amp;amp;D, we've created this automation script: "vsecClusterObject.sh"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The script run from the management server and as many functions available. We leverage DBEDIT code and API Calls to help automate the cluster deployment and auto-scaling.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here the function available:&lt;/P&gt;
&lt;P&gt;# &lt;STRONG&gt;createClusterObject&amp;nbsp; &amp;nbsp;&lt;/STRONG&gt;(4 variables needed):&lt;BR /&gt;This will create the cluster object: &lt;STRONG&gt;CreateClusterObject&lt;/STRONG&gt; &lt;SPAN style="color: #ff0000;"&gt;Cluster_Name&lt;/SPAN&gt; &lt;SPAN style="color: #00ffff;"&gt;Cluster_IP &lt;/SPAN&gt;&lt;SPAN style="color: #00ff00;"&gt;SYNC_Network&lt;/SPAN&gt; &lt;SPAN style="color: #ff9900;"&gt;SYNC_Netmask&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;EX:&lt;/P&gt;
&lt;P&gt;./vsecClusterObject.sh &lt;STRONG&gt;createClusterObject&lt;/STRONG&gt; vSECCluster 192.168.1.14 1.1.1.0 255.255.255.0&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;# Adding Member 1:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;# &lt;STRONG&gt;createMemberObject&amp;nbsp;&lt;/STRONG&gt;(8 Variables):&lt;BR /&gt;This will add member 1 into the cluster object&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;createMemberObject&lt;/STRONG&gt; &lt;SPAN style="color: #ff6600;"&gt;Cluster_Name&lt;/SPAN&gt; &lt;SPAN style="color: #00ffff;"&gt;Member_Name &lt;/SPAN&gt;&lt;SPAN style="color: #99cc00;"&gt;Management_IP&lt;/SPAN&gt; &lt;SPAN style="color: #339966;"&gt;Management_Netmask&lt;/SPAN&gt; &lt;SPAN style="color: #33cccc;"&gt;Sync_IP&lt;/SPAN&gt; &lt;SPAN style="color: #3366ff;"&gt;Sync_Mask&lt;/SPAN&gt; &lt;SPAN style="color: #800080;"&gt;External_IP&lt;/SPAN&gt; &lt;SPAN style="color: #cc99ff;"&gt;External_Netmask&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;EX:&lt;/P&gt;
&lt;P&gt;./vsecClusterObject.sh createMemberObject vSECCluster member1 192.168.1.15 255.255.255.0 1.1.1.2 255.255.255.0 192.168.2.40 255.255.255.0&lt;/P&gt;
&lt;P&gt;./vsecClusterObject.sh createSICWithObject vSECCluster member1 MXEydzNlNHI=&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;# Adding Member 2:&lt;BR /&gt;&lt;SPAN&gt;This will add member 2 into the cluster object&lt;/SPAN&gt;&lt;BR /&gt;./vsecClusterObject.sh &lt;STRONG&gt;createMemberObject&lt;/STRONG&gt; vSECCluster member2 192.168.1.16 255.255.255.0 1.1.1.3 255.255.255.0 192.168.2.41 255.255.255.0&lt;BR /&gt;./vsecClusterObject.sh &lt;STRONG&gt;createSICWithObject&lt;/STRONG&gt; vSECCluster member2 MXEydzNlNHI=&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;# &lt;STRONG&gt;createSICWithObject&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;This function create the SIC with previously defined cluster member. &lt;SPAN style="color: #ff9900;"&gt;&lt;STRONG&gt;IMPORTANT NOTE: SIC password needs to be encoded in base64&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Once the members are added into the cluster object, we need to define the virtual IP (VIP). This second script do the job:&lt;/P&gt;
&lt;P&gt;vip.sh &lt;SPAN style="color: #ff9900;"&gt;Cluster_Name&lt;/SPAN&gt; &lt;SPAN style="color: #00ff00;"&gt;VIP&lt;/SPAN&gt; &lt;SPAN style="color: #ff00ff;"&gt;Interface_Name&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;EX: for a Cluster with 3 interfaces, we call the script 3 times:&lt;/P&gt;
&lt;P&gt;./vip.sh vSECCluster 192.168.1.14 eth0&lt;BR /&gt;./vip.sh vSECCluster 1.1.1.1 eth1 # NEED VIP ON SYNC INTERFACE FOR AUTOSCALEUP AND DOWN option&lt;BR /&gt;./vip.sh vSECCluster 192.168.2.39 eth2&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Now its time to push the policy:&lt;/P&gt;
&lt;P&gt;# pushing Policy:&lt;BR /&gt;&lt;STRONG&gt;installPolicyOnObject&lt;/STRONG&gt; &lt;SPAN style="color: #ff9900;"&gt;Cluster_Name&lt;/SPAN&gt; &lt;SPAN style="color: #00ff00;"&gt;Policy_Package_Name&lt;/SPAN&gt;&lt;BR /&gt;./vsecClusterObject.sh installPolicyOnObject vSECCLuster AutomationTest&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Now we have a cluster with two members auto deployed. This open up the door for Auto-Scaling. Since we have a HA cluster deployed, we can add a cluster member and switch the cluster mode to LoadSharing. This part of the&amp;nbsp; script doing this function:&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;#!/bin/bash&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;#&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;# First, we need to&amp;nbsp;add cluster member 3:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;echo "=========================="&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;echo "Adding member3 to cluster "&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;echo "=========================="&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;./vsecClusterObject.sh createMemberObject vSECCluster member3 192.168.1.17 255.255.255.0 1.1.1.4 255.255.255.0 192.168.2.42 255.255.255.0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;./vsecClusterObject.sh createSICWithObject vSECCluster member3 MXEydzNlNHI=&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;./vsecClusterObject.sh installPolicyOnObject vSECCLuster AutomationTest&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;echo "=========================="&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;echo "=========================="&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;echo "set cluster in LoadSharingMode"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;./vsecClusterObject.sh setHAMode vSECCluster LoadSharing&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;echo "=========================="&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;# 5&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;# pushing Policy:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;echo "=========================="&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;echo "Installing policy..."&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;echo "=========================="&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;./vsecClusterObject.sh installPolicyOnObject vSECCLuster AutomationTest&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We now have a cluster of 3 members in loadsharing mode.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To Scale-Down we just need to delete member3 and switch back to HA mode:&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;#!/bin/bash&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;echo "=========================="&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;echo "Scaling down..."&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;echo "=========================="&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;./vsecClusterObject.sh &lt;STRONG&gt;setHAMode&lt;/STRONG&gt; vSECCluster HighAvailability&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;./vsecClusterObject.sh &lt;STRONG&gt;deleteMemberObject&lt;/STRONG&gt; member3 vSECCluster&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;echo "=========================="&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;echo "Installing policy..."&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;echo "=========================="&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;./vsecClusterObject.sh installPolicyOnObject vSECCLuster AutomationTest&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;One way to orchestrate is if by using Ansible and calling those scripts with SSH command on the management server. See attached Ansible Document for an how to. For a quick test, Here is a bash script example to call all those functions:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;create.sh&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;#!/bin/bash&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;# 1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;# Creating cluster Object:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;echo "=========================="&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;echo "Creating cluster object..."&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;echo "=========================="&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;./vsecClusterObject.sh createClusterObject vSECCluster 192.168.1.14 1.1.1.0 255.255.255.0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;echo "=========================="&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;# 2&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;# Adding Member 1:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;echo "=========================="&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;echo "Adding member1 to cluster "&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;echo "=========================="&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;./vsecClusterObject.sh createMemberObject vSECCluster member1 192.168.1.15 255.255.255.0 1.1.1.2 255.255.255.0 192.168.2.40 255.255.255.0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;./vsecClusterObject.sh createSICWithObject vSECCluster member1 MXEydzNlNHI=&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;echo "=========================="&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;# 3&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;# Adding Member 2:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;echo "=========================="&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;echo "Adding member2 to cluster "&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;echo "=========================="&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;./vsecClusterObject.sh createMemberObject vSECCluster member2 192.168.1.16 255.255.255.0 1.1.1.3 255.255.255.0 192.168.2.41 255.255.255.0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;./vsecClusterObject.sh createSICWithObject vSECCluster member2 MXEydzNlNHI=&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;echo "=========================="&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;# 4&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;# Creating Cluster Virtual IP:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;echo "==========================="&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;echo "Creating cluster virtual IP"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;echo "==========================="&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;mgmt_cli login --root true &amp;gt; login.txt&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;./vip.sh vSECCluster 192.168.1.14 eth0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;./vip.sh vSECCluster 1.1.1.1 eth1 # NEED VIP ON SYNC INTERFACE FOR AUTOSCALEUP AND DOWN&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;./vip.sh vSECCluster 192.168.2.39 eth2&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;mgmt_cli publish -s login.txt&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;mgmt_cli logout -s login.txt&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;rm login.txt&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;echo "=========================="&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;# 5&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;# pushing Policy:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;echo "=========================="&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;echo "Installing policy..."&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;echo "=========================="&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;./vsecClusterObject.sh installPolicyOnObject vSECCLuster AutomationTest&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;I hope you enjoy and happy Scripting!&amp;nbsp;&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For the full list of White Papers, &lt;A href="https://community.checkpoint.com/t5/General-Topics/White-Papers-Publishing-Project/m-p/53242#M10603" target="_blank"&gt;go here&lt;/A&gt;.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jul 2019 12:32:09 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/CloudGuard-Automated-firewall-Cluster-Deployment-with-auto/m-p/39480#M2461</guid>
      <dc:creator>Nicolas_Boisse</dc:creator>
      <dc:date>2019-07-08T12:32:09Z</dc:date>
    </item>
    <item>
      <title>Re: Cloud Guard: Automated firewall Cluster Deployment with auto-scaling option</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/CloudGuard-Automated-firewall-Cluster-Deployment-with-auto/m-p/39481#M2462</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nice &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://community.checkpoint.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Feb 2018 20:11:18 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/CloudGuard-Automated-firewall-Cluster-Deployment-with-auto/m-p/39481#M2462</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2018-02-12T20:11:18Z</dc:date>
    </item>
    <item>
      <title>Re: Cloud Guard: Automated firewall Cluster Deployment with auto-scaling option</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/CloudGuard-Automated-firewall-Cluster-Deployment-with-auto/m-p/39482#M2463</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Excellent work! You master&amp;nbsp;the API and JQ really good.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;Please be careful using the "generic-objects" API, it is not supported and it will be dismissed in the future, once the new gateway/cluster schema changes.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Take a look at our Ansible development kit on GitHub:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://github.com/CheckPoint-APIs-Team/cpAnsible" title="https://github.com/CheckPoint-APIs-Team/cpAnsible"&gt;GitHub - CheckPoint-APIs-Team/cpAnsible: Ansible module provides control over a Check Point Management server using Chec…&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can try and further leverage it for your future uses.&lt;/P&gt;&lt;P&gt;Robert.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Feb 2018 10:59:24 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/CloudGuard-Automated-firewall-Cluster-Deployment-with-auto/m-p/39482#M2463</guid>
      <dc:creator>Robert_Decker</dc:creator>
      <dc:date>2018-02-19T10:59:24Z</dc:date>
    </item>
    <item>
      <title>Re: Cloud Guard: Automated firewall Cluster Deployment with auto-scaling option</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/CloudGuard-Automated-firewall-Cluster-Deployment-with-auto/m-p/39483#M2464</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Robert&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Feb 2018 19:35:14 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/CloudGuard-Automated-firewall-Cluster-Deployment-with-auto/m-p/39483#M2464</guid>
      <dc:creator>Nicolas_Boisse</dc:creator>
      <dc:date>2018-02-21T19:35:14Z</dc:date>
    </item>
    <item>
      <title>Re: Cloud Guard: Automated firewall Cluster Deployment with auto-scaling option</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/CloudGuard-Automated-firewall-Cluster-Deployment-with-auto/m-p/39484#M2465</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;nice, THX&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Mar 2018 09:46:43 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/CloudGuard-Automated-firewall-Cluster-Deployment-with-auto/m-p/39484#M2465</guid>
      <dc:creator>HeikoAnkenbrand</dc:creator>
      <dc:date>2018-03-04T09:46:43Z</dc:date>
    </item>
    <item>
      <title>Re: Cloud Guard: Automated firewall Cluster Deployment with auto-scaling option</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/CloudGuard-Automated-firewall-Cluster-Deployment-with-auto/m-p/39485#M2466</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great material, thanks Nicolas!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 May 2018 14:37:33 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/CloudGuard-Automated-firewall-Cluster-Deployment-with-auto/m-p/39485#M2466</guid>
      <dc:creator>Jim_Oqvist</dc:creator>
      <dc:date>2018-05-11T14:37:33Z</dc:date>
    </item>
    <item>
      <title>Re: Cloud Guard: Automated firewall Cluster Deployment with auto-scaling option</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/CloudGuard-Automated-firewall-Cluster-Deployment-with-auto/m-p/39486#M2467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As R80.20 is in EA stage, I would expect that the API will support Cluster handling.&lt;/P&gt;&lt;P&gt;In fact this is not true and R80.20 API (version 1.2) cannot do anything with Cluster deployment.&lt;/P&gt;&lt;P&gt;Any plans on that ? For example &lt;A _jive_internal="true" href="https://community.checkpoint.com/thread/6564-manipulate-cluster-object-with-api"&gt;create new VLANs using API&lt;/A&gt; ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 Jun 2018 19:09:05 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/CloudGuard-Automated-firewall-Cluster-Deployment-with-auto/m-p/39486#M2467</guid>
      <dc:creator>JozkoMrkvicka</dc:creator>
      <dc:date>2018-06-24T19:09:05Z</dc:date>
    </item>
    <item>
      <title>Re: Cloud Guard: Automated firewall Cluster Deployment with auto-scaling option</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/CloudGuard-Automated-firewall-Cluster-Deployment-with-auto/m-p/39487#M2468</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jozko,&lt;/P&gt;&lt;P&gt;The development of new gateway/cluster/vsx objects is still in progress.&lt;/P&gt;&lt;P&gt;This is a major shift from R77.x into R80.x and it takes time.&lt;/P&gt;&lt;P&gt;Once these objects&amp;nbsp;development will be completed, it will also include full API support.&lt;/P&gt;&lt;P&gt;Robert.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 Jun 2018 20:48:20 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/CloudGuard-Automated-firewall-Cluster-Deployment-with-auto/m-p/39487#M2468</guid>
      <dc:creator>Robert_Decker</dc:creator>
      <dc:date>2018-06-24T20:48:20Z</dc:date>
    </item>
    <item>
      <title>Re: Cloud Guard: Automated firewall Cluster Deployment with auto-scaling option</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/CloudGuard-Automated-firewall-Cluster-Deployment-with-auto/m-p/39488#M2469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for letting us know that this topic is still ongoing &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://community.checkpoint.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;P&gt;Hope it will be included in R80.30.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jun 2018 18:57:11 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/CloudGuard-Automated-firewall-Cluster-Deployment-with-auto/m-p/39488#M2469</guid>
      <dc:creator>JozkoMrkvicka</dc:creator>
      <dc:date>2018-06-25T18:57:11Z</dc:date>
    </item>
    <item>
      <title>Re: Cloud Guard: Automated firewall Cluster Deployment with auto-scaling option</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/CloudGuard-Automated-firewall-Cluster-Deployment-with-auto/m-p/39489#M2470</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great stuff. New API commands needs a lot of time and this seems to be a great option.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Sep 2018 06:29:05 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/CloudGuard-Automated-firewall-Cluster-Deployment-with-auto/m-p/39489#M2470</guid>
      <dc:creator>Joachim_Zint1</dc:creator>
      <dc:date>2018-09-06T06:29:05Z</dc:date>
    </item>
    <item>
      <title>Re: Cloud Guard: Automated firewall Cluster Deployment with auto-scaling option</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/CloudGuard-Automated-firewall-Cluster-Deployment-with-auto/m-p/54764#M3539</link>
      <description>&lt;P&gt;&lt;SPAN&gt;When we can FINALLY expect such a&amp;nbsp;&lt;/SPAN&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;basic feature&lt;/STRONG&gt;&lt;/FONT&gt;&lt;SPAN&gt;&amp;nbsp;like manipulating Cluster objects within R80 ? R80.30 is GA, without any single API command for this purpose. What a shame.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 30 May 2019 20:26:58 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/CloudGuard-Automated-firewall-Cluster-Deployment-with-auto/m-p/54764#M3539</guid>
      <dc:creator>JozkoMrkvicka</dc:creator>
      <dc:date>2019-05-30T20:26:58Z</dc:date>
    </item>
    <item>
      <title>Re: Cloud Guard: Automated firewall Cluster Deployment with auto-scaling option</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/CloudGuard-Automated-firewall-Cluster-Deployment-with-auto/m-p/55437#M3573</link>
      <description>&lt;P&gt;&lt;SPAN&gt;The cluster API was supposed to be released in R80.30 M1. This is postponed to R80.40 version.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jun 2019 18:07:04 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/CloudGuard-Automated-firewall-Cluster-Deployment-with-auto/m-p/55437#M3573</guid>
      <dc:creator>Nicolas_Boisse</dc:creator>
      <dc:date>2019-06-10T18:07:04Z</dc:date>
    </item>
    <item>
      <title>Re: Cloud Guard: Automated firewall Cluster Deployment with auto-scaling option</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/CloudGuard-Automated-firewall-Cluster-Deployment-with-auto/m-p/55441#M3575</link>
      <description>&lt;P&gt;Let me start off by saying there are not many people aware of your fix to add network interface on R80 mgmt servers, pretty key in my opinion if you are trying to do any automation and want to work with existing objects.&amp;nbsp; For instance I have a WAN tier set of devices that I need to be able to add/remove interfaces to on the management side and there is no native API.&amp;nbsp; I've been struggling a bit to get your code to work on a single simple-gateway object, not a cluster.&amp;nbsp; Would really appreciate your help as support has really been unhelpful up to this point.&lt;/P&gt;&lt;P&gt;You code in question is below:&lt;/P&gt;&lt;P&gt;# set cluster and members with newly created interfaces&lt;BR /&gt;mgmt_cli set generic-object uid $cluster_uid interfaces.add.create "com.checkpoint.objects.classes.dummy.CpmiClusterInterface" interfaces.add.owned-object.netmask "255.255.255.0" interfaces.add.owned-object.ipaddr $vip_ip interfaces.add.owned-object.memberNetwork.create "com.checkpoint.objects.classes.dummy.CpmiSubnet" interfaces.add.owned-object.memberNetwork.owned-object.netmask "255.255.255.0" interfaces.add.owned-object.memberNetwork.owned-object.ipaddr $cluster_net_ip interfaces.add.owned-object.officialname $interface_name interfaces.add.owned-object.monitoredByCluster true interfaces.add.owned-object.ifindex $if_index --format json --session-file login.txt &amp;gt; cluster_set_response.json&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you let me know what this API/CLI call would like for a single gateway.&amp;nbsp; just can't seem to get it right!&lt;/P&gt;&lt;P&gt;Would be very thankful!&amp;nbsp; Cheers,&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jun 2019 19:08:25 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/CloudGuard-Automated-firewall-Cluster-Deployment-with-auto/m-p/55441#M3575</guid>
      <dc:creator>Mark_Colatosti</dc:creator>
      <dc:date>2019-06-10T19:08:25Z</dc:date>
    </item>
    <item>
      <title>Re: Cloud Guard: Automated firewall Cluster Deployment with auto-scaling option</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/CloudGuard-Automated-firewall-Cluster-Deployment-with-auto/m-p/55444#M3577</link>
      <description>&lt;P&gt;Hi Mark,&lt;/P&gt;
&lt;P&gt;First my code was for Cluster Object deployment. In your case, if you are using Simple Gateway deployment, don't use the Generic Object API.&lt;/P&gt;
&lt;P&gt;What version of Management server are you using? (.10 .20 or .30)&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Keep in mind that each release has its own version of API:&lt;/P&gt;
&lt;TABLE id="versions-releases" border="1"&gt;
&lt;THEAD class="grey-light"&gt;
&lt;TR&gt;
&lt;TH&gt;Management API Version&lt;/TH&gt;
&lt;TH&gt;Check Point Release&lt;/TH&gt;
&lt;/TR&gt;
&lt;/THEAD&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD&gt;v1.5&lt;/TD&gt;
&lt;TD&gt;&lt;A href="https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&amp;amp;solutionid=sk144293" target="_blank" rel="noopener"&gt;R80.30&lt;/A&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;v1.4&lt;/TD&gt;
&lt;TD&gt;&lt;A href="https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&amp;amp;solutionid=sk123473&amp;amp;partition=General&amp;amp;product=Security" target="_blank" rel="noopener"&gt;R80.20.M2&lt;/A&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;v1.3&lt;/TD&gt;
&lt;TD&gt;&lt;A href="https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&amp;amp;solutionid=sk122485" target="_blank" rel="noopener"&gt;R80.20&lt;/A&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;v1.2&lt;/TD&gt;
&lt;TD&gt;&lt;A href="https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&amp;amp;solutionid=sk123473&amp;amp;partition=General&amp;amp;product=Security" target="_blank" rel="noopener"&gt;R80.20.M1&lt;/A&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;v1.1&lt;/TD&gt;
&lt;TD&gt;&lt;A href="https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&amp;amp;solutionid=sk111841&amp;amp;partition=General&amp;amp;product=All%22" target="_blank" rel="noopener"&gt;R80.10&lt;/A&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;v1&lt;/TD&gt;
&lt;TD&gt;&lt;A href="https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&amp;amp;solutionid=sk108623&amp;amp;partition=General&amp;amp;product=Anti-Bot," target="_blank" rel="noopener"&gt;R80&lt;/A&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That been said, in the API call "add simple-gateway", you have the option to add interfaces/IP addresses in a simpler way.&lt;/P&gt;
&lt;P&gt;Something like this:&lt;/P&gt;
&lt;PRE class="code"&gt;mgmt_cli add simple-gateway name "gw1" color "yellow" ipv4-address "192.0.2.230" version "R80" one-time-password "aaaa" firewall true vpn true application-control true url-filtering true ips true anti-bot true anti-virus true threat-emulation true interfaces.1.name "eth0" interfaces.1.ipv4-address "192.0.2.230" interfaces.1.ipv4-network-mask "255.255.255.128" interfaces.1.anti-spoofing true interfaces.1.topology "EXTERNAL" interfaces.2.name "eth1" interfaces.2.ipv4-address "192.0.2.88" interfaces.2.ipv4-network-mask "255.255.255.0" interfaces.2.anti-spoofing true interfaces.2.topology "INTERNAL" --format json&lt;/PRE&gt;
&lt;P&gt;The online documentation is available here:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://sc1.checkpoint.com/documents/latest/APIs/index.html#cli/add-simple-gateway~v1.5%20" target="_blank"&gt;https://sc1.checkpoint.com/documents/latest/APIs/index.html#cli/add-simple-gateway~v1.5%20&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Hope this help.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Nicolas.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jun 2019 19:24:48 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/CloudGuard-Automated-firewall-Cluster-Deployment-with-auto/m-p/55444#M3577</guid>
      <dc:creator>Nicolas_Boisse</dc:creator>
      <dc:date>2019-06-10T19:24:48Z</dc:date>
    </item>
    <item>
      <title>Re: Cloud Guard: Automated firewall Cluster Deployment with auto-scaling option</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/CloudGuard-Automated-firewall-Cluster-Deployment-with-auto/m-p/55445#M3578</link>
      <description>&lt;P&gt;If the object is already there, use the "set simple-gateway" instead to change or add an interface:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://sc1.checkpoint.com/documents/latest/APIs/index.html#cli/set-simple-gateway~v1.5%20" target="_blank"&gt;https://sc1.checkpoint.com/documents/latest/APIs/index.html#cli/set-simple-gateway~v1.5%20&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jun 2019 19:55:59 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/CloudGuard-Automated-firewall-Cluster-Deployment-with-auto/m-p/55445#M3578</guid>
      <dc:creator>Nicolas_Boisse</dc:creator>
      <dc:date>2019-06-10T19:55:59Z</dc:date>
    </item>
    <item>
      <title>Re: Cloud Guard: Automated firewall Cluster Deployment with auto-scaling option</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/CloudGuard-Automated-firewall-Cluster-Deployment-with-auto/m-p/55446#M3579</link>
      <description>&lt;P&gt;Looks like I was inadvertantly grabbing some "Endpoint" uid instead of the gateway object uid, though commands were still succeeding to create an interface, it prevented me from successfully "set"/associating it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The following code seems to work and is simplified to not include additional cluster properties.&lt;/P&gt;&lt;P&gt;iac_gwnetadd=$(mgmt_cli add generic-object create "com.checkpoint.management.cdm.objects.interfaces.EthernetInterface" name $int_name gatewayOwner $cp-gateway_uid gatewayNetwork $gatewaynetobject_uid $ip_addr ipv4MaskLength $mask_len --format json)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your original article as everything else tried was pretty useless!&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jun 2019 19:59:59 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/CloudGuard-Automated-firewall-Cluster-Deployment-with-auto/m-p/55446#M3579</guid>
      <dc:creator>Mark_Colatosti</dc:creator>
      <dc:date>2019-06-10T19:59:59Z</dc:date>
    </item>
    <item>
      <title>Re: Cloud Guard: Automated firewall Cluster Deployment with auto-scaling option</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/CloudGuard-Automated-firewall-Cluster-Deployment-with-auto/m-p/55447#M3580</link>
      <description>&lt;P&gt;I'll do a quick test, but the API is explicit about all existing interfaces being deleted when using that call?!&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jun 2019 20:00:59 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/CloudGuard-Automated-firewall-Cluster-Deployment-with-auto/m-p/55447#M3580</guid>
      <dc:creator>Mark_Colatosti</dc:creator>
      <dc:date>2019-06-10T20:00:59Z</dc:date>
    </item>
    <item>
      <title>Re: Cloud Guard: Automated firewall Cluster Deployment with auto-scaling option</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/CloudGuard-Automated-firewall-Cluster-Deployment-with-auto/m-p/55448#M3581</link>
      <description>&lt;P&gt;I'm basically trying to simulate a "get interfaces without topology" or an interface add on a device that has 30+ interfaces and is expected to grow as we add alot of vpnt interfaces.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jun 2019 20:02:09 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/CloudGuard-Automated-firewall-Cluster-Deployment-with-auto/m-p/55448#M3581</guid>
      <dc:creator>Mark_Colatosti</dc:creator>
      <dc:date>2019-06-10T20:02:09Z</dc:date>
    </item>
    <item>
      <title>Re: Cloud Guard: Automated firewall Cluster Deployment with auto-scaling option</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/CloudGuard-Automated-firewall-Cluster-Deployment-with-auto/m-p/55449#M3582</link>
      <description>&lt;P&gt;Hi Mark, you still need to figure out the AntiSpooging configuration. Since this is not a cluster, you should use the Set simple-gateway instead of generic-object and set only what you want to change in the API call. You will able to handle the set interface + Anti-Spoofing in 1 call:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;mgmt_cli set simple-gateway name "gw1" interfaces.1.name "eth0" interfaces.1.ipv4-address "192.0.2.230" interfaces.1.ipv4-network-mask "255.255.255.128" interfaces.1.anti-spoofing true interfaces.1.topology "internal"&lt;/P&gt;
&lt;P&gt;You can use the UID instead of name if you prefer.&lt;/P&gt;
&lt;P&gt;To be tested in your lab first.&lt;/P&gt;
&lt;P&gt;Good luck &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Nicolas.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jun 2019 20:11:34 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/CloudGuard-Automated-firewall-Cluster-Deployment-with-auto/m-p/55449#M3582</guid>
      <dc:creator>Nicolas_Boisse</dc:creator>
      <dc:date>2019-06-10T20:11:34Z</dc:date>
    </item>
    <item>
      <title>Adding a network interface to a gateway, sample code that works</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/CloudGuard-Automated-firewall-Cluster-Deployment-with-auto/m-p/55454#M3583</link>
      <description>&lt;P&gt;#Get wan simplegateway uid:&lt;BR /&gt;iac_wan1gw_uid=$(mgmt_cli --port 4434 -r true show-generic-objects name "test-test" --format json | (${CPDIR}/jq/jq -r '.objects[] | select (.type == "simple-gateway") | .uid'))&lt;/P&gt;&lt;P&gt;# Add network interface to simplegateway&lt;BR /&gt;iac_wan1net1_uid=$(mgmt_cli --port 4434 -r true add generic-object create "com.checkpoint.management.cdm.objects.network.GatewayNetwork" name ${iac_int_name} clusterNetworkType "CLUSTER" gatewayOwner ${iac_wan1gw_uid} --format json | (${CPDIR}/jq/jq -r '.uid'))&lt;/P&gt;&lt;P&gt;# Add Ip address details, how to make this a point-to-point VPN connection?&lt;BR /&gt;mgmt_cli --port 4434 -r true add generic-object create "com.checkpoint.management.cdm.objects.interfaces.EthernetInterface" name ${iac_int_name} gatewayOwner ${iac_wan1gw_uid} gatewayNetwork ${iac_wan1net1_uid} ipv4Address ${iac_ipaddr} ipv4MaskLength 30&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note:&lt;/P&gt;&lt;P&gt;This creates an ethernet interface of unspecified topology.&amp;nbsp; Now if I could find out how to create a virtual VPN point-to-point interface!&amp;nbsp; Though I suspect this will still work....&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jun 2019 23:33:31 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/CloudGuard-Automated-firewall-Cluster-Deployment-with-auto/m-p/55454#M3583</guid>
      <dc:creator>Mark_Colatosti</dc:creator>
      <dc:date>2019-06-10T23:33:31Z</dc:date>
    </item>
  </channel>
</rss>

