<?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: Can't add tunnel interface created by restapi, to Security Zone using restapi. in General Topics</title>
    <link>https://live.paloaltonetworks.com/t5/general-topics/can-t-add-tunnel-interface-created-by-restapi-to-security-zone/m-p/601969#M119780</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/1334760821"&gt;@I.Miller&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When you open and close an object by clicking "OK" in the GUI, FW/Panorama seems to perform an internal validation or synchronization process that registers the object in the system. I've encountered similar behavior when using scripting mode and pasting a large series of set commands. I once had to "OK" a whole new config of over 500 objects so I understand the frustration.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want to handle this primarily via the API, I suggest trying a commit after creating the object, before attempting to attach it to another configuration (like a zone). This might help ensure that the object is fully registered and available for further assignments.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 16 Oct 2024 17:54:56 GMT</pubDate>
    <dc:creator>JayGolf</dc:creator>
    <dc:date>2024-10-16T17:54:56Z</dc:date>
    <item>
      <title>Can't add tunnel interface created by restapi, to Security Zone using restapi.</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/can-t-add-tunnel-interface-created-by-restapi-to-security-zone/m-p/599891#M119265</link>
      <description>&lt;P&gt;Using restapi to create IPSec tunnels for a new firewall attached to Panorama.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I create the tunnel interface using restapi. I can see the new interface successfully created in Panorama.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When I try to assign that interface to a Security Zone it fails with:&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;"Invalid Object: &amp;nbsp;Branch-VPN -&amp;gt; network -&amp;gt; layer3 'tunnel.781' is not a valid reference. &amp;nbsp;Branch-VPN -&amp;gt; network -&amp;gt; layer3 is invalid."&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;From Panorama I try to edit the security zone and add the interface but it isn't available on the drop down list. &lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;If I open the tunnel.781 interface and click close from Panorama, the interface then is available in the drop down list and I can successfully run the restapi process.&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;What is the web interface doing when you open the tunnel interface object, make no changes, then close it and how do I do it with restapi?&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Wed, 09 Oct 2024 14:29:34 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/can-t-add-tunnel-interface-created-by-restapi-to-security-zone/m-p/599891#M119265</guid>
      <dc:creator>I.Miller</dc:creator>
      <dc:date>2024-10-09T14:29:34Z</dc:date>
    </item>
    <item>
      <title>Re: Can't add tunnel interface created by restapi, to Security Zone using restapi.</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/can-t-add-tunnel-interface-created-by-restapi-to-security-zone/m-p/601969#M119780</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/1334760821"&gt;@I.Miller&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When you open and close an object by clicking "OK" in the GUI, FW/Panorama seems to perform an internal validation or synchronization process that registers the object in the system. I've encountered similar behavior when using scripting mode and pasting a large series of set commands. I once had to "OK" a whole new config of over 500 objects so I understand the frustration.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want to handle this primarily via the API, I suggest trying a commit after creating the object, before attempting to attach it to another configuration (like a zone). This might help ensure that the object is fully registered and available for further assignments.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Oct 2024 17:54:56 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/can-t-add-tunnel-interface-created-by-restapi-to-security-zone/m-p/601969#M119780</guid>
      <dc:creator>JayGolf</dc:creator>
      <dc:date>2024-10-16T17:54:56Z</dc:date>
    </item>
  </channel>
</rss>

