<?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 Help on structure on script to find host in Automation/API Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/help-on-structure-on-script-to-find-host/m-p/524214#M3273</link>
    <description>&lt;P&gt;&lt;BR /&gt;How would you achive this?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;So we have alot of vlans on alot of firewalls, vsys and vr. Our ipam is decent documented but it would be nice to make a api call to the firewalls to get the info insted. I would like to find the&lt;/P&gt;&lt;P&gt;Firewall and Zone where a specific ip is routed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is the way to loop through all the firewalls build a list of all the vrs on all the firewalls, and then do a route lookup (test fib lookup...) on each vr on the ip and find where is "connected"? And then parse the output and print it?&lt;/P&gt;&lt;P&gt;Or do you have a other alternative?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 15 Dec 2022 11:01:32 GMT</pubDate>
    <dc:creator>zol123</dc:creator>
    <dc:date>2022-12-15T11:01:32Z</dc:date>
    <item>
      <title>Help on structure on script to find host</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/help-on-structure-on-script-to-find-host/m-p/524214#M3273</link>
      <description>&lt;P&gt;&lt;BR /&gt;How would you achive this?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;So we have alot of vlans on alot of firewalls, vsys and vr. Our ipam is decent documented but it would be nice to make a api call to the firewalls to get the info insted. I would like to find the&lt;/P&gt;&lt;P&gt;Firewall and Zone where a specific ip is routed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is the way to loop through all the firewalls build a list of all the vrs on all the firewalls, and then do a route lookup (test fib lookup...) on each vr on the ip and find where is "connected"? And then parse the output and print it?&lt;/P&gt;&lt;P&gt;Or do you have a other alternative?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Dec 2022 11:01:32 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/help-on-structure-on-script-to-find-host/m-p/524214#M3273</guid>
      <dc:creator>zol123</dc:creator>
      <dc:date>2022-12-15T11:01:32Z</dc:date>
    </item>
    <item>
      <title>Re: Help on structure on script to find host</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/help-on-structure-on-script-to-find-host/m-p/526342#M3290</link>
      <description>&lt;P&gt;If you didn't want to write the whole thing, alternative approaches might include existing tooling. I think &lt;A href="https://www.batfish.org/" target="_self"&gt;Batfish&lt;/A&gt;&amp;nbsp;could model your network to potentially make path discovery or host discovery easier?&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jan 2023 14:48:15 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/help-on-structure-on-script-to-find-host/m-p/526342#M3290</guid>
      <dc:creator>JimmyHolland</dc:creator>
      <dc:date>2023-01-09T14:48:15Z</dc:date>
    </item>
  </channel>
</rss>

