<?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: Update multiple cluster interface at once in API / CLI Discussion</title>
    <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Update-multiple-cluster-interface-at-once/m-p/150671#M6864</link>
    <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/7"&gt;@PhoneBoy&lt;/a&gt;&amp;nbsp;!&lt;/P&gt;&lt;P&gt;To be sure...&lt;BR /&gt;interfaces.1.update.name is not supported?&lt;BR /&gt;So I have to execute X times mgmt_cli if I have to change X interfaces?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 13 Jun 2022 08:06:45 GMT</pubDate>
    <dc:creator>Daniel_</dc:creator>
    <dc:date>2022-06-13T08:06:45Z</dc:date>
    <item>
      <title>Update multiple cluster interface at once</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Update-multiple-cluster-interface-at-once/m-p/150476#M6855</link>
      <description>&lt;P&gt;Hello API-experts,&lt;/P&gt;&lt;P&gt;we are going to change our interface topology of our clusters to "defined by routes".&amp;nbsp; I tried it first with&lt;/P&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="php"&gt;set simple-cluster name $CLUSTER interfaces.update.name $INTERFACE interfaces.update.ip-address $IPV4 interfaces.update.network-mask $IPV4MASK interfaces.update.interface-type $INTERFACE_TYPE interfaces.update.topology-settings.ip-address-behind-this-interface "network defined by routing" interfaces.update.topology "internal"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;SPAN&gt;It's working fine but it takes a long time if we do this for every interface. How can I execute it in one step? Objects-batch seems to be the wrong way.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Using numbers (e.g. interfaces.1.update.name) are not supported. I can use "set" to generate everything from scratch but it's a lot more work to get the physical interfaces from the cluster nodes and build everything together in one command....&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;How can I optimize performance to do it one step?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;We are running R80.40 (on Management) with a normal ClusterXL (non VSX).&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks!&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Bye&lt;/DIV&gt;</description>
      <pubDate>Thu, 09 Jun 2022 08:52:47 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Update-multiple-cluster-interface-at-once/m-p/150476#M6855</guid>
      <dc:creator>Daniel_</dc:creator>
      <dc:date>2022-06-09T08:52:47Z</dc:date>
    </item>
    <item>
      <title>Re: Update multiple cluster interface at once</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Update-multiple-cluster-interface-at-once/m-p/150514#M6858</link>
      <description>&lt;P&gt;&lt;EM&gt;interfaces&lt;/EM&gt; is a list object, so just update with&amp;nbsp;&lt;EM&gt;interfaces.1.name ...&amp;nbsp;&lt;/EM&gt;interfaces.2.name, etc.&lt;/P&gt;
&lt;P&gt;Good luck!&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jun 2022 17:00:25 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Update-multiple-cluster-interface-at-once/m-p/150514#M6858</guid>
      <dc:creator>Art_Zalenekas</dc:creator>
      <dc:date>2022-06-09T17:00:25Z</dc:date>
    </item>
    <item>
      <title>Re: Update multiple cluster interface at once</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Update-multiple-cluster-interface-at-once/m-p/150554#M6859</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/44647"&gt;@Art_Zalenekas&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;&lt;EM&gt;interfaces&lt;/EM&gt; is a list object, so just update with&amp;nbsp;&lt;EM&gt;interfaces.1.name ...&amp;nbsp;&lt;/EM&gt;interfaces.2.name, etc.&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;If I use interfaces.1.name it doesn't update my settings. It's hard set. So I have to read current settings of all interfaces (inclusive physical IP-address from nodes which I have to get from another query and interfaces I didn't modify) and set everything again from scratch. Sure, it's possible but not very smart....&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jun 2022 10:50:13 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Update-multiple-cluster-interface-at-once/m-p/150554#M6859</guid>
      <dc:creator>Daniel_</dc:creator>
      <dc:date>2022-06-10T10:50:13Z</dc:date>
    </item>
    <item>
      <title>Re: Update multiple cluster interface at once</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Update-multiple-cluster-interface-at-once/m-p/150607#M6860</link>
      <description>&lt;P&gt;Unfortunately, if you modify interfaces with the API/CLI, you have to modify all of them or the changes won’t necessarily take.&lt;BR /&gt;This is a known limitation at the moment.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jun 2022 21:44:04 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Update-multiple-cluster-interface-at-once/m-p/150607#M6860</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2022-06-10T21:44:04Z</dc:date>
    </item>
    <item>
      <title>Re: Update multiple cluster interface at once</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Update-multiple-cluster-interface-at-once/m-p/150671#M6864</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/7"&gt;@PhoneBoy&lt;/a&gt;&amp;nbsp;!&lt;/P&gt;&lt;P&gt;To be sure...&lt;BR /&gt;interfaces.1.update.name is not supported?&lt;BR /&gt;So I have to execute X times mgmt_cli if I have to change X interfaces?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jun 2022 08:06:45 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Update-multiple-cluster-interface-at-once/m-p/150671#M6864</guid>
      <dc:creator>Daniel_</dc:creator>
      <dc:date>2022-06-13T08:06:45Z</dc:date>
    </item>
    <item>
      <title>Re: Update multiple cluster interface at once</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Update-multiple-cluster-interface-at-once/m-p/150701#M6866</link>
      <description>&lt;P&gt;Believe that is correct, yes.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jun 2022 16:03:17 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Update-multiple-cluster-interface-at-once/m-p/150701#M6866</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2022-06-13T16:03:17Z</dc:date>
    </item>
  </channel>
</rss>

