<?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: add vlan interface via set-simple-cluster not working in API / CLI Discussion</title>
    <link>https://community.checkpoint.com/t5/API-CLI-Discussion/add-vlan-interface-via-set-simple-cluster-not-working/m-p/136940#M6513</link>
    <description>&lt;P&gt;cpm.elg contains API failed logs. Try to check there for more details.&lt;/P&gt;</description>
    <pubDate>Tue, 21 Dec 2021 22:17:09 GMT</pubDate>
    <dc:creator>JuPo</dc:creator>
    <dc:date>2021-12-21T22:17:09Z</dc:date>
    <item>
      <title>add vlan interface via set-simple-cluster not working</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/add-vlan-interface-via-set-simple-cluster-not-working/m-p/134921#M6455</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;i need to add a vlan interface to a simple cluster (ClusterXL). I am using the REST API Interface of the Management server. The task is created successfully (HTTP 200 with task-id in return). However the task fails with the following message: "line 536:21, no viable alternative at input ':'"&lt;/P&gt;&lt;P&gt;I am using R80.40 (API version 1.6.1). For the API calls I am using ansible or postman.&lt;/P&gt;&lt;P&gt;Any idea how to troubleshoot this?&lt;/P&gt;&lt;P&gt;Here is the json from the api call:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{
    "name": "zzz",
    "interfaces": {
        "add": {
            "name": "bond3.3000",
            "comments": "iDMZ-ADC-WEB-Prod",
            "ipv4-address": "zzz",
            "ipv4-mask-length": "24",
            "ipv6-address": "zzz",
            "ipv6-mask-length": "64",
            "interface-type": "cluster",
            "topology": "internal",
            "topology-settings": {
                "interface-leads-to-dmz": "true",
                "ip-address-behind-this-interface": "network defined by the interface ip and net mask"
            },
            "anti-spoofing": "true",
            "security-zone": "true",
            "security-zone-settings": {
                "auto-calculated": "true"
            }
        }
    },
    "members": {
        "update": [
            {
                "name": "zzz",
                "interfaces": {
                    "name": "bond3.3000",
                    "ipv4-address": "zzz",
                    "ipv4-mask-length": "24",
                    "ipv6-address": "zzz",
                    "ipv6-mask-length": "64"
                }
            },
            {
                "name": "zzz",
                "interfaces": {
                    "name": "bond3.3000",
                    "ipv4-address": "zzz",
                    "ipv4-mask-length": "24",
                    "ipv6-address": "zzz",
                    "ipv6-mask-length": "64"
                }
            }
        ]
    }
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 381px;"&gt;&lt;img src="https://community.checkpoint.com/t5/image/serverpage/image-id/14383iE18F8AA4CFF7C94E/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 999px;"&gt;&lt;img src="https://community.checkpoint.com/t5/image/serverpage/image-id/14384iEB9ACA496EE750F4/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Nov 2021 15:24:18 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/add-vlan-interface-via-set-simple-cluster-not-working/m-p/134921#M6455</guid>
      <dc:creator>Christoph_Spatt</dc:creator>
      <dc:date>2021-11-25T15:24:18Z</dc:date>
    </item>
    <item>
      <title>Re: add vlan interface via set-simple-cluster not working</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/add-vlan-interface-via-set-simple-cluster-not-working/m-p/135178#M6459</link>
      <description>&lt;P&gt;Unfortunately, if you're adding an interface to an existing gateway object, you have to (re)add ALL the interfaces, not just the single one.&lt;BR /&gt;This was discussed previously in the community, though I can't find the precise thread.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Nov 2021 20:22:35 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/add-vlan-interface-via-set-simple-cluster-not-working/m-p/135178#M6459</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2021-11-29T20:22:35Z</dc:date>
    </item>
    <item>
      <title>Re: add vlan interface via set-simple-cluster not working</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/add-vlan-interface-via-set-simple-cluster-not-working/m-p/135220#M6461</link>
      <description>&lt;P&gt;The API call works on a cluster that just exists in SmartDashboard (no real devices, no SIC, etc).&lt;/P&gt;&lt;P&gt;I checked&amp;nbsp;cpm.elg and found some java stackt races and this message:&amp;nbsp;&lt;/P&gt;&lt;P&gt;25/11/21 13:25:47,593 ERROR objects.network.GatewayNetworkOverviewFactoryImpl [pool-7-thread-1]: Missing interface for member with uid [bdc0e2cc-739d-4ca8-a4da-2e4662812630] in network [bond3&lt;BR /&gt;.3000] of type [CLUSTER].&lt;BR /&gt;25/11/21 13:25:47,594 ERROR objects.network.GatewayNetworkOverviewFactoryImpl [pool-7-thread-1]: Missing interface for member with uid [304248d6-6163-4165-894f-f7f60eb98534] in network [bond3&lt;BR /&gt;.3000] of type [CLUSTER].&lt;/P&gt;</description>
      <pubDate>Tue, 30 Nov 2021 07:03:25 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/add-vlan-interface-via-set-simple-cluster-not-working/m-p/135220#M6461</guid>
      <dc:creator>Christoph_Spatt</dc:creator>
      <dc:date>2021-11-30T07:03:25Z</dc:date>
    </item>
    <item>
      <title>Re: add vlan interface via set-simple-cluster not working</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/add-vlan-interface-via-set-simple-cluster-not-working/m-p/136940#M6513</link>
      <description>&lt;P&gt;cpm.elg contains API failed logs. Try to check there for more details.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Dec 2021 22:17:09 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/add-vlan-interface-via-set-simple-cluster-not-working/m-p/136940#M6513</guid>
      <dc:creator>JuPo</dc:creator>
      <dc:date>2021-12-21T22:17:09Z</dc:date>
    </item>
  </channel>
</rss>

