<?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 mgmt_cli script to add interfaces in API / CLI Discussion</title>
    <link>https://community.checkpoint.com/t5/API-CLI-Discussion/mgmt-cli-script-to-add-interfaces/m-p/76126#M4426</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm looking at deploying a few clusters with 15-20 vlans each. Running 80.30. I was wondering if I could do a batch job via a csv source file?&lt;/P&gt;&lt;P&gt;Is there a script that I could use to do this please?&lt;/P&gt;</description>
    <pubDate>Sun, 23 Feb 2020 18:31:55 GMT</pubDate>
    <dc:creator>Hybrid_Theory</dc:creator>
    <dc:date>2020-02-23T18:31:55Z</dc:date>
    <item>
      <title>mgmt_cli script to add interfaces</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/mgmt-cli-script-to-add-interfaces/m-p/76126#M4426</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm looking at deploying a few clusters with 15-20 vlans each. Running 80.30. I was wondering if I could do a batch job via a csv source file?&lt;/P&gt;&lt;P&gt;Is there a script that I could use to do this please?&lt;/P&gt;</description>
      <pubDate>Sun, 23 Feb 2020 18:31:55 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/mgmt-cli-script-to-add-interfaces/m-p/76126#M4426</guid>
      <dc:creator>Hybrid_Theory</dc:creator>
      <dc:date>2020-02-23T18:31:55Z</dc:date>
    </item>
    <item>
      <title>Re: mgmt_cli script to add interfaces</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/mgmt-cli-script-to-add-interfaces/m-p/76129#M4427</link>
      <description>The API does not support manipulating cluster objects until R80.40.&lt;BR /&gt;At a minimum, you would need to upgrade to that release.&lt;BR /&gt;At a high level, I suspect you'd have to add the interfaces to the cluster members via the API then add them to the cluster object itself.</description>
      <pubDate>Sun, 23 Feb 2020 20:18:11 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/mgmt-cli-script-to-add-interfaces/m-p/76129#M4427</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2020-02-23T20:18:11Z</dc:date>
    </item>
    <item>
      <title>Re: mgmt_cli script to add interfaces</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/mgmt-cli-script-to-add-interfaces/m-p/76130#M4428</link>
      <description>&lt;P&gt;Why not include some new argument for adding new VLAN on cluster (or maybe also on the gateway), to configure VLAN directly to the member(s) ?&lt;/P&gt;
&lt;P&gt;Not only to include it in Topology (like it is done today), but made it posible to do it directly on the members ?&lt;/P&gt;
&lt;P&gt;If we have to specify all needed fields (interface, VLAN, IP), why not use this to automate it further ?&lt;/P&gt;
&lt;P&gt;Something like to add new optional parameter "-push-to-gateway" which will configure VLAN also on the machine(s).&lt;/P&gt;
&lt;P&gt;Just an idea &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 23 Feb 2020 21:17:30 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/mgmt-cli-script-to-add-interfaces/m-p/76130#M4428</guid>
      <dc:creator>JozkoMrkvicka</dc:creator>
      <dc:date>2020-02-23T21:17:30Z</dc:date>
    </item>
    <item>
      <title>Re: mgmt_cli script to add interfaces</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/mgmt-cli-script-to-add-interfaces/m-p/76131#M4429</link>
      <description>&lt;P&gt;Thanks guys,&lt;/P&gt;&lt;P&gt;I've read this linke here: &lt;A href="https://sc1.checkpoint.com/documents/latest/APIs/index.html#cli/add-simple-cluster~v1.6%20" target="_blank"&gt;https://sc1.checkpoint.com/documents/latest/APIs/index.html#cli/add-simple-cluster~v1.6%20&lt;/A&gt;&lt;/P&gt;&lt;P&gt;(Pic attached).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also saw this thread: &lt;A href="https://community.checkpoint.com/t5/API-CLI-Discussion-and-Samples/Adding-simple-GW-with-several-network-interfaces-using-Web/m-p/32862#M2034" target="_blank"&gt;https://community.checkpoint.com/t5/API-CLI-Discussion-and-Samples/Adding-simple-GW-with-several-network-interfaces-using-Web/m-p/32862#M2034&lt;/A&gt;&lt;/P&gt;&lt;P&gt;This is very helpful, but it requires all the fields to be in the script. I'm trying to list all the attributes in each column, then call a script with a loop or something to add them. Surely people have dome something similar? &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 23 Feb 2020 22:59:15 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/mgmt-cli-script-to-add-interfaces/m-p/76131#M4429</guid>
      <dc:creator>Hybrid_Theory</dc:creator>
      <dc:date>2020-02-23T22:59:15Z</dc:date>
    </item>
    <item>
      <title>Re: mgmt_cli script to add interfaces</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/mgmt-cli-script-to-add-interfaces/m-p/76137#M4431</link>
      <description>With the gateway API, you should be able to configure the VLANs via API as well.&lt;BR /&gt;However the Gateway API doesn't come by default until R80.40 (must be installed).&lt;BR /&gt;It's also a separate API call,&lt;BR /&gt;I agree, it'd be nice if you could do it with a single API call.</description>
      <pubDate>Mon, 24 Feb 2020 01:00:41 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/mgmt-cli-script-to-add-interfaces/m-p/76137#M4431</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2020-02-24T01:00:41Z</dc:date>
    </item>
  </channel>
</rss>

