<?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 Zone creation by API in Expedition Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/expedition-discussions/zone-creation-by-api/m-p/256073#M1346</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I'm using Expedition 1.1.12 and PanOs 8.1.7.&lt;/P&gt;
&lt;P&gt;Since some time I fail in creating the ZONES via Expedition/API.&lt;/P&gt;
&lt;P&gt;This while the creation of subinterfaces, Virtual router etc is working fine.&lt;/P&gt;
&lt;P&gt;When sending the zone config by API, following message is received:&lt;/P&gt;
&lt;P&gt;(if this zone config is removed out of the config, it's another one it's complaining about....)&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="EX_Zoneerror.png" style="width: 697px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/19405i0A593717CBF99464/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="EX_Zoneerror.png" alt="EX_Zoneerror.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;This while the subinterfaces are existing correctly and the were created by API.&lt;/P&gt;
&lt;P&gt;However on the related subinterfaces I notice the VSYS info is missing (should be vsys4 in this case):&lt;/P&gt;
&lt;P&gt;(vsys is set to none)&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="EX_subint.png" style="width: 800px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/19406i096BFB61D4847F73/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="EX_subint.png" alt="EX_subint.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;When entering each subinterface, the vsys is there, but it doesn't show up in Network/Interfaces overview (see previous screenshot).&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ex_subinterface.png" style="width: 601px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/19408iD862FE4568727C11/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Ex_subinterface.png" alt="Ex_subinterface.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;After clicking the drop down selector at Virtual System and selecting the very same item, the info appears in the overview (vsys is set to "GINET")&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="EX_Subintoverview2.png" style="width: 800px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/19409i3326904F5CF85CE9/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="EX_Subintoverview2.png" alt="EX_Subintoverview2.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Since I was suspecting this to be the root cause my zone creation issues, I've re-sent the API commands from Expedition, exactly as tried initially and it worked perfectly.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="EX_API.PNG" style="width: 800px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/19410i9608433653CF9391/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="EX_API.PNG" alt="EX_API.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Seems like a bug?&lt;/P&gt;
&lt;P&gt;But for now, I have a workaround.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Filip&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 04 Apr 2019 13:16:54 GMT</pubDate>
    <dc:creator>FilipElsen</dc:creator>
    <dc:date>2019-04-04T13:16:54Z</dc:date>
    <item>
      <title>Zone creation by API</title>
      <link>https://live.paloaltonetworks.com/t5/expedition-discussions/zone-creation-by-api/m-p/256073#M1346</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I'm using Expedition 1.1.12 and PanOs 8.1.7.&lt;/P&gt;
&lt;P&gt;Since some time I fail in creating the ZONES via Expedition/API.&lt;/P&gt;
&lt;P&gt;This while the creation of subinterfaces, Virtual router etc is working fine.&lt;/P&gt;
&lt;P&gt;When sending the zone config by API, following message is received:&lt;/P&gt;
&lt;P&gt;(if this zone config is removed out of the config, it's another one it's complaining about....)&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="EX_Zoneerror.png" style="width: 697px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/19405i0A593717CBF99464/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="EX_Zoneerror.png" alt="EX_Zoneerror.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;This while the subinterfaces are existing correctly and the were created by API.&lt;/P&gt;
&lt;P&gt;However on the related subinterfaces I notice the VSYS info is missing (should be vsys4 in this case):&lt;/P&gt;
&lt;P&gt;(vsys is set to none)&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="EX_subint.png" style="width: 800px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/19406i096BFB61D4847F73/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="EX_subint.png" alt="EX_subint.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;When entering each subinterface, the vsys is there, but it doesn't show up in Network/Interfaces overview (see previous screenshot).&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ex_subinterface.png" style="width: 601px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/19408iD862FE4568727C11/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Ex_subinterface.png" alt="Ex_subinterface.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;After clicking the drop down selector at Virtual System and selecting the very same item, the info appears in the overview (vsys is set to "GINET")&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="EX_Subintoverview2.png" style="width: 800px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/19409i3326904F5CF85CE9/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="EX_Subintoverview2.png" alt="EX_Subintoverview2.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Since I was suspecting this to be the root cause my zone creation issues, I've re-sent the API commands from Expedition, exactly as tried initially and it worked perfectly.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="EX_API.PNG" style="width: 800px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/19410i9608433653CF9391/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="EX_API.PNG" alt="EX_API.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Seems like a bug?&lt;/P&gt;
&lt;P&gt;But for now, I have a workaround.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Filip&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Apr 2019 13:16:54 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/expedition-discussions/zone-creation-by-api/m-p/256073#M1346</guid>
      <dc:creator>FilipElsen</dc:creator>
      <dc:date>2019-04-04T13:16:54Z</dc:date>
    </item>
    <item>
      <title>Re: Zone creation by API</title>
      <link>https://live.paloaltonetworks.com/t5/expedition-discussions/zone-creation-by-api/m-p/256638#M1362</link>
      <description>&lt;P&gt;could be a sequence issue - for example:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1- send the zone configs&lt;/P&gt;
&lt;P&gt;2-send the interface configs with the zone assignment&lt;/P&gt;</description>
      <pubDate>Mon, 08 Apr 2019 18:52:37 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/expedition-discussions/zone-creation-by-api/m-p/256638#M1362</guid>
      <dc:creator>sjanita</dc:creator>
      <dc:date>2019-04-08T18:52:37Z</dc:date>
    </item>
    <item>
      <title>Re: Zone creation by API</title>
      <link>https://live.paloaltonetworks.com/t5/expedition-discussions/zone-creation-by-api/m-p/256751#M1368</link>
      <description>&lt;P&gt;No -it isn't.&lt;/P&gt;
&lt;P&gt;I've tried every possible way around it.&lt;/P&gt;
&lt;P&gt;When sending the zones by API, they require the subinterfaces to be present.&lt;/P&gt;
&lt;P&gt;So the sequence and workaround is:&lt;/P&gt;
&lt;P&gt;1. sent the subint.&lt;/P&gt;
&lt;P&gt;2. sent the vrouter&lt;/P&gt;
&lt;P&gt;3. correct the subint to their vsys (just opening the subint config and re-select the vsys which was already present)&lt;/P&gt;
&lt;P&gt;4. commit&lt;/P&gt;
&lt;P&gt;5. sent the zones.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Apr 2019 07:06:48 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/expedition-discussions/zone-creation-by-api/m-p/256751#M1368</guid>
      <dc:creator>FilipElsen</dc:creator>
      <dc:date>2019-04-09T07:06:48Z</dc:date>
    </item>
  </channel>
</rss>

