<?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 Ansible - Show ARP table in Automation/API Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/ansible-show-arp-table/m-p/321222#M2257</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have been trying to use Ansible to retrieve the arp table from a PA FW. Logging in with ssh, it's a quick and easy "show arp all", but using Ansible, I am struggling. I was sure&amp;nbsp;panos_op would work with "show arp all", but it doesn't.&lt;/P&gt;&lt;P&gt;I also looked at panos_type_cmd, but that seems not to be the way either. More config than state.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Finally, I looked through several facts modules, with no luck.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any pointers?&lt;/P&gt;</description>
    <pubDate>Tue, 07 Apr 2020 13:53:51 GMT</pubDate>
    <dc:creator>ArildSaether</dc:creator>
    <dc:date>2020-04-07T13:53:51Z</dc:date>
    <item>
      <title>Ansible - Show ARP table</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/ansible-show-arp-table/m-p/321222#M2257</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have been trying to use Ansible to retrieve the arp table from a PA FW. Logging in with ssh, it's a quick and easy "show arp all", but using Ansible, I am struggling. I was sure&amp;nbsp;panos_op would work with "show arp all", but it doesn't.&lt;/P&gt;&lt;P&gt;I also looked at panos_type_cmd, but that seems not to be the way either. More config than state.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Finally, I looked through several facts modules, with no luck.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any pointers?&lt;/P&gt;</description>
      <pubDate>Tue, 07 Apr 2020 13:53:51 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/ansible-show-arp-table/m-p/321222#M2257</guid>
      <dc:creator>ArildSaether</dc:creator>
      <dc:date>2020-04-07T13:53:51Z</dc:date>
    </item>
    <item>
      <title>Re: Ansible - Show ARP table</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/ansible-show-arp-table/m-p/325689#M2287</link>
      <description>&lt;P&gt;...Oh, wow.&amp;nbsp; Ok, so I also just tried it and this doesn't work.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So I used the &lt;A href="https://docs.paloaltonetworks.com/pan-os/9-0/pan-os-panorama-api/get-started-with-the-pan-os-xml-api/explore-the-api.html#id32696dff-45b0-40c6-abdf-ef7fbe8a6604" target="_self"&gt;CLI debugging method&lt;/A&gt; to find out what the CLI is sending to PAN-OS and saw that the CLI command "show arp all" is actually this XML:&amp;nbsp; &amp;lt;show&amp;gt;&amp;lt;arp&amp;gt;&amp;lt;entry name="all"/&amp;gt;&amp;lt;/arp&amp;gt;&amp;lt;/show&amp;gt;.&amp;nbsp; So just use that as your command and be sure to specify "cmd_is_xml" as True and it will work.&lt;/P&gt;</description>
      <pubDate>Fri, 01 May 2020 16:19:09 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/ansible-show-arp-table/m-p/325689#M2287</guid>
      <dc:creator>gfreeman</dc:creator>
      <dc:date>2020-05-01T16:19:09Z</dc:date>
    </item>
  </channel>
</rss>

