<?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: R80 automation - VSX VS configuration using run-script in API / CLI Discussion</title>
    <link>https://community.checkpoint.com/t5/API-CLI-Discussion/R80-automation-VSX-VS-configuration-using-run-script/m-p/23488#M1446</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The actual API call is targeted at the management, but run-script has an argument that allows you to specify which gateways the script is run against.&amp;nbsp;&lt;/P&gt;&lt;P&gt;See:&amp;nbsp;&lt;A class="" href="https://sc1.checkpoint.com/documents/latest/APIs/index.html#cli/run-script~v1.2%20" title="https://sc1.checkpoint.com/documents/latest/APIs/index.html#cli/run-script~v1.2%20"&gt;Check Point - Management API reference: run-script&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm not sure in the case of a cluster if you specify the cluster or you must specify the individual nodes in that cluster.&lt;/P&gt;&lt;P&gt;Going to move this to &lt;A href="https://community.checkpoint.com/space/2003"&gt;Developers (Code Hub)&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Aug 2018 16:19:16 GMT</pubDate>
    <dc:creator>PhoneBoy</dc:creator>
    <dc:date>2018-08-30T16:19:16Z</dc:date>
    <item>
      <title>R80 automation - VSX VS configuration using run-script</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/R80-automation-VSX-VS-configuration-using-run-script/m-p/23486#M1444</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ref. an earlier discussion here on Check Mates&amp;nbsp;&lt;A href="https://community.checkpoint.com/thread/8929"&gt;R80 automation - VS logging settings through CLI/API&lt;/A&gt;&amp;nbsp;, thanks &lt;A href="https://community.checkpoint.com/migrated-users/2075"&gt;Dameon Welch Abernathy&lt;/A&gt;&amp;nbsp;and &lt;A href="https://community.checkpoint.com/migrated-users/2138"&gt;Valeri Loukine&lt;/A&gt; for your insights.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Took the time to migrate the code handling VSX VS creation&amp;nbsp;over from SSH/CLI scraping to REST, using the `run-script`&amp;nbsp;method[1]. It works great, except for custom parameters we discussed earlier.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Speaking of `run-script` - we are also automating BGP configuration and other things on the VSX VS nodes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to migrate that code&amp;nbsp;over to using REST as well, but it looks like&amp;nbsp;it's not possible&amp;nbsp;to specify a&amp;nbsp;VSX cluster node as the `run-script` &lt;EM&gt;target&lt;/EM&gt;&amp;nbsp;, only domain management servers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm probably missing something. Is SSH/CLI scraping still the best approach&amp;nbsp;for automating&amp;nbsp;VSX VS&amp;nbsp;configuration?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Fredrik Holmberg&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[1]&lt;A class="link-titled" href="https://sc1.checkpoint.com/documents/latest/APIs/index.html#cli/run-script~v1.2" title="https://sc1.checkpoint.com/documents/latest/APIs/index.html#cli/run-script~v1.2"&gt;Check Point - Management API reference&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Aug 2018 09:57:44 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/R80-automation-VSX-VS-configuration-using-run-script/m-p/23486#M1444</guid>
      <dc:creator>Fredrik_Holmber</dc:creator>
      <dc:date>2018-08-30T09:57:44Z</dc:date>
    </item>
    <item>
      <title>Re: R80 automation - VSX VS configuration using run-script</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/R80-automation-VSX-VS-configuration-using-run-script/m-p/23487#M1445</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you are welcome&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Aug 2018 14:04:15 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/R80-automation-VSX-VS-configuration-using-run-script/m-p/23487#M1445</guid>
      <dc:creator>_Val_</dc:creator>
      <dc:date>2018-08-30T14:04:15Z</dc:date>
    </item>
    <item>
      <title>Re: R80 automation - VSX VS configuration using run-script</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/R80-automation-VSX-VS-configuration-using-run-script/m-p/23488#M1446</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The actual API call is targeted at the management, but run-script has an argument that allows you to specify which gateways the script is run against.&amp;nbsp;&lt;/P&gt;&lt;P&gt;See:&amp;nbsp;&lt;A class="" href="https://sc1.checkpoint.com/documents/latest/APIs/index.html#cli/run-script~v1.2%20" title="https://sc1.checkpoint.com/documents/latest/APIs/index.html#cli/run-script~v1.2%20"&gt;Check Point - Management API reference: run-script&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm not sure in the case of a cluster if you specify the cluster or you must specify the individual nodes in that cluster.&lt;/P&gt;&lt;P&gt;Going to move this to &lt;A href="https://community.checkpoint.com/space/2003"&gt;Developers (Code Hub)&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Aug 2018 16:19:16 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/R80-automation-VSX-VS-configuration-using-run-script/m-p/23488#M1446</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2018-08-30T16:19:16Z</dc:date>
    </item>
    <item>
      <title>Re: R80 automation - VSX VS configuration using run-script</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/R80-automation-VSX-VS-configuration-using-run-script/m-p/23489#M1447</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks &lt;A href="https://community.checkpoint.com/migrated-users/2075"&gt;Dameon Welch Abernathy&lt;/A&gt;‌ , you pointed me in the right direction!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For `run-script` to work, first you need to &lt;EM&gt;login&lt;/EM&gt; to the&amp;nbsp;VSX cluster's domain, then set the &lt;EM&gt;target&amp;nbsp;&lt;/EM&gt;parameter in `run-script` to point to that VSX cluster domain's&amp;nbsp;management server... Learning by doing &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great weekend!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;- Fredrik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Aug 2018 11:42:18 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/R80-automation-VSX-VS-configuration-using-run-script/m-p/23489#M1447</guid>
      <dc:creator>Fredrik_Holmber</dc:creator>
      <dc:date>2018-08-31T11:42:18Z</dc:date>
    </item>
  </channel>
</rss>

