<?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: Find where is the address in Active/Active config in Automation/API Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/find-where-is-the-address-in-active-active-config/m-p/393896#M2599</link>
    <description>&lt;P&gt;Here's an example PAN-OS XML API call to get all the floating addresses:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;https://{{host}}/api?key={{key}}&amp;amp;type=config&amp;amp;action=show&amp;amp;xpath=/config/devices/entry[@name='localhost.localdomain']/deviceconfig/high-availability/group/mode/active-active/virtual-address&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;If you want a specific interface's floating address, try something like this, where interface-name might be ethernet1/1 for example:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;https://{{host}}/api?key={{key}}&amp;amp;type=config&amp;amp;action=show&amp;amp;xpath=/config/devices/entry[@name='localhost.localdomain']/deviceconfig/high-availability/group/mode/active-active/virtual-address/entry[@name='{{interface-name}}']/ip&lt;/LI-CODE&gt;&lt;P&gt;It will look like this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;response status="success"&amp;gt;
    &amp;lt;result&amp;gt;
        &amp;lt;ip&amp;gt;
            &amp;lt;entry name="192.168.55.50"&amp;gt;
                &amp;lt;floating&amp;gt;
                    &amp;lt;device-priority&amp;gt;
                        &amp;lt;failover-on-link-down&amp;gt;yes&amp;lt;/failover-on-link-down&amp;gt;
                    &amp;lt;/device-priority&amp;gt;
                    &amp;lt;bind-to-active-primary&amp;gt;no&amp;lt;/bind-to-active-primary&amp;gt;
                &amp;lt;/floating&amp;gt;
            &amp;lt;/entry&amp;gt;
        &amp;lt;/ip&amp;gt;
    &amp;lt;/result&amp;gt;
&amp;lt;/response&amp;gt;&lt;/LI-CODE&gt;</description>
    <pubDate>Thu, 25 Mar 2021 15:00:30 GMT</pubDate>
    <dc:creator>JimmyHolland</dc:creator>
    <dc:date>2021-03-25T15:00:30Z</dc:date>
    <item>
      <title>Find where is the address in Active/Active config</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/find-where-is-the-address-in-active-active-config/m-p/393337#M2598</link>
      <description>&lt;P&gt;I would like to automate a failover on a couple of Linux servers that use keepalived and I need to find where is my floating IP using API or scriptable things.&lt;/P&gt;&lt;P&gt;I have read something on my PA700 API page, but I cannot find something describing where is a specific floating IP&lt;/P&gt;&lt;P&gt;Has anyone found a way to found it?&lt;/P&gt;</description>
      <pubDate>Wed, 24 Mar 2021 14:47:49 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/find-where-is-the-address-in-active-active-config/m-p/393337#M2598</guid>
      <dc:creator>RobertoLio</dc:creator>
      <dc:date>2021-03-24T14:47:49Z</dc:date>
    </item>
    <item>
      <title>Re: Find where is the address in Active/Active config</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/find-where-is-the-address-in-active-active-config/m-p/393896#M2599</link>
      <description>&lt;P&gt;Here's an example PAN-OS XML API call to get all the floating addresses:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;https://{{host}}/api?key={{key}}&amp;amp;type=config&amp;amp;action=show&amp;amp;xpath=/config/devices/entry[@name='localhost.localdomain']/deviceconfig/high-availability/group/mode/active-active/virtual-address&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;If you want a specific interface's floating address, try something like this, where interface-name might be ethernet1/1 for example:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;https://{{host}}/api?key={{key}}&amp;amp;type=config&amp;amp;action=show&amp;amp;xpath=/config/devices/entry[@name='localhost.localdomain']/deviceconfig/high-availability/group/mode/active-active/virtual-address/entry[@name='{{interface-name}}']/ip&lt;/LI-CODE&gt;&lt;P&gt;It will look like this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;response status="success"&amp;gt;
    &amp;lt;result&amp;gt;
        &amp;lt;ip&amp;gt;
            &amp;lt;entry name="192.168.55.50"&amp;gt;
                &amp;lt;floating&amp;gt;
                    &amp;lt;device-priority&amp;gt;
                        &amp;lt;failover-on-link-down&amp;gt;yes&amp;lt;/failover-on-link-down&amp;gt;
                    &amp;lt;/device-priority&amp;gt;
                    &amp;lt;bind-to-active-primary&amp;gt;no&amp;lt;/bind-to-active-primary&amp;gt;
                &amp;lt;/floating&amp;gt;
            &amp;lt;/entry&amp;gt;
        &amp;lt;/ip&amp;gt;
    &amp;lt;/result&amp;gt;
&amp;lt;/response&amp;gt;&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 25 Mar 2021 15:00:30 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/find-where-is-the-address-in-active-active-config/m-p/393896#M2599</guid>
      <dc:creator>JimmyHolland</dc:creator>
      <dc:date>2021-03-25T15:00:30Z</dc:date>
    </item>
    <item>
      <title>Re: Find where is the address in Active/Active config</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/find-where-is-the-address-in-active-active-config/m-p/394937#M2603</link>
      <description>&lt;P&gt;HI &lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/4294"&gt;@JimmyHolland&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks for sharing the API path for active-active configuration&lt;/P&gt;&lt;P&gt;we did several tests getting the configuration from different PA and different interface, but we can see just the configuration of our interface.&lt;/P&gt;&lt;P&gt;When we shut down one of our Firewalls, searching on the different APIs, I could not find any information about where the floating IP is at that moment.&lt;/P&gt;&lt;P&gt;I was able to track down who owns the individual interface and who is the master, but nothing about where the floating IP is.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Mar 2021 14:06:19 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/find-where-is-the-address-in-active-active-config/m-p/394937#M2603</guid>
      <dc:creator>RobertoLio</dc:creator>
      <dc:date>2021-03-30T14:06:19Z</dc:date>
    </item>
    <item>
      <title>Re: Find where is the address in Active/Active config</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/find-where-is-the-address-in-active-active-config/m-p/395580#M2605</link>
      <description>&lt;P&gt;Sorry&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/155240"&gt;@RobertoLio&lt;/a&gt;, I misunderstood the question. I'll take a look at this and see if I can find a solution.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Apr 2021 09:25:55 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/find-where-is-the-address-in-active-active-config/m-p/395580#M2605</guid>
      <dc:creator>JimmyHolland</dc:creator>
      <dc:date>2021-04-02T09:25:55Z</dc:date>
    </item>
    <item>
      <title>Re: Find where is the address in Active/Active config</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/find-where-is-the-address-in-active-active-config/m-p/395581#M2606</link>
      <description>&lt;P&gt;Thanks &lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/4294"&gt;@JimmyHolland&lt;/a&gt; !&lt;/P&gt;</description>
      <pubDate>Fri, 02 Apr 2021 09:27:27 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/find-where-is-the-address-in-active-active-config/m-p/395581#M2606</guid>
      <dc:creator>RobertoLio</dc:creator>
      <dc:date>2021-04-02T09:27:27Z</dc:date>
    </item>
  </channel>
</rss>

