<?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: Batch add address objects to address group in Panorama? in Automation/API Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/batch-add-address-objects-to-address-group-in-panorama/m-p/306048#M2127</link>
    <description>&lt;P&gt;Yes, this did work and it saved me a ton of time. Thank you for the help!&lt;/P&gt;</description>
    <pubDate>Wed, 08 Jan 2020 21:02:25 GMT</pubDate>
    <dc:creator>kamorris</dc:creator>
    <dc:date>2020-01-08T21:02:25Z</dc:date>
    <item>
      <title>Batch add address objects to address group in Panorama?</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/batch-add-address-objects-to-address-group-in-panorama/m-p/305990#M2123</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was just able to batch add address objects via the cli on Panorama and now I want to add those addresses to an address group that I created. I tried using the command that Palo gives us for firewalls (shown below), but it does not work. I tried modifying the command by adding the location/device group, but that does not work either. Does anyone know if there is a command to do this in Panorama?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Assign the address object to an address group:&lt;PRE&gt;# &lt;SPAN&gt;set address-group testgroup static test1&lt;/SPAN&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/PRE&gt;&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Wed, 08 Jan 2020 12:13:48 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/batch-add-address-objects-to-address-group-in-panorama/m-p/305990#M2123</guid>
      <dc:creator>kamorris</dc:creator>
      <dc:date>2020-01-08T12:13:48Z</dc:date>
    </item>
    <item>
      <title>Re: Batch add address objects to address group in Panorama?</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/batch-add-address-objects-to-address-group-in-panorama/m-p/306030#M2126</link>
      <description>&lt;P&gt;This worked for me in Panorama:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;set device-group &amp;lt;DG name&amp;gt; address 10.1.1.0 ip-netmask 10.1.1.0/24

set device-group &amp;lt;DG name&amp;gt; address 10.1.1.0 description "10.1.1.0-VLAN10"

set device-group &amp;lt;DG name&amp;gt; address-group &amp;lt;AG name&amp;gt; static 10.1.1.0&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jan 2020 20:54:43 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/batch-add-address-objects-to-address-group-in-panorama/m-p/306030#M2126</guid>
      <dc:creator>cfistik</dc:creator>
      <dc:date>2020-01-08T20:54:43Z</dc:date>
    </item>
    <item>
      <title>Re: Batch add address objects to address group in Panorama?</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/batch-add-address-objects-to-address-group-in-panorama/m-p/306048#M2127</link>
      <description>&lt;P&gt;Yes, this did work and it saved me a ton of time. Thank you for the help!&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jan 2020 21:02:25 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/batch-add-address-objects-to-address-group-in-panorama/m-p/306048#M2127</guid>
      <dc:creator>kamorris</dc:creator>
      <dc:date>2020-01-08T21:02:25Z</dc:date>
    </item>
    <item>
      <title>Re: Batch add address objects to address group in Panorama?</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/batch-add-address-objects-to-address-group-in-panorama/m-p/307418#M2138</link>
      <description>&lt;P&gt;Can you share the syntax you used to do this?&amp;nbsp; Thanks&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jan 2020 15:55:53 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/batch-add-address-objects-to-address-group-in-panorama/m-p/307418#M2138</guid>
      <dc:creator>drewdown</dc:creator>
      <dc:date>2020-01-21T15:55:53Z</dc:date>
    </item>
    <item>
      <title>Re: Batch add address objects to address group in Panorama?</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/batch-add-address-objects-to-address-group-in-panorama/m-p/307430#M2139</link>
      <description>&lt;P&gt;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/34542"&gt;@drewdown&lt;/a&gt;&amp;nbsp;, I'm not sure I understand what you mean. The syntax I used is the one listed above and it's for Panorama. For firewalls it will be slightly different, i.e. no device-groups etc.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jan 2020 17:47:45 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/batch-add-address-objects-to-address-group-in-panorama/m-p/307430#M2139</guid>
      <dc:creator>cfistik</dc:creator>
      <dc:date>2020-01-21T17:47:45Z</dc:date>
    </item>
    <item>
      <title>Re: Batch add address objects to address group in Panorama?</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/batch-add-address-objects-to-address-group-in-panorama/m-p/307493#M2140</link>
      <description>&lt;P&gt;I know this topic is on CLI, not API, but since it's in the API discussion board, here's a convenient way to bulk add Address Object and Groups via API for anyone who happens upon this thread in the future:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://pandevice.readthedocs.io/en/latest/howto.html#optimize-with-bulk-operations" target="_blank" rel="noopener"&gt;https://pandevice.readthedocs.io/en/latest/howto.html#optimize-with-bulk-operations&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This example uses python.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jan 2020 22:41:20 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/batch-add-address-objects-to-address-group-in-panorama/m-p/307493#M2140</guid>
      <dc:creator>btorresgil</dc:creator>
      <dc:date>2020-01-21T22:41:20Z</dc:date>
    </item>
    <item>
      <title>Re: Batch add address objects to address group in Panorama?</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/batch-add-address-objects-to-address-group-in-panorama/m-p/430893#M2772</link>
      <description>&lt;P&gt;how we could validate any address or address group through cli?&lt;/P&gt;</description>
      <pubDate>Wed, 01 Sep 2021 21:53:12 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/batch-add-address-objects-to-address-group-in-panorama/m-p/430893#M2772</guid>
      <dc:creator>MIPANUser</dc:creator>
      <dc:date>2021-09-01T21:53:12Z</dc:date>
    </item>
    <item>
      <title>Re: Batch add address objects to address group in Panorama?</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/batch-add-address-objects-to-address-group-in-panorama/m-p/451197#M2841</link>
      <description>&lt;P&gt;Many thanks for this solution..&lt;/P&gt;&lt;P&gt;Just one quick question - any idea how to create these objects straight into the "Shared" device-group - the command doesn't list it as one of available device-groups to choose from?&lt;/P&gt;</description>
      <pubDate>Fri, 03 Dec 2021 10:22:13 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/batch-add-address-objects-to-address-group-in-panorama/m-p/451197#M2841</guid>
      <dc:creator>ekupara</dc:creator>
      <dc:date>2021-12-03T10:22:13Z</dc:date>
    </item>
    <item>
      <title>Re: Batch add address objects to address group in Panorama?</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/batch-add-address-objects-to-address-group-in-panorama/m-p/452816#M2853</link>
      <description>&lt;P&gt;The command to show the shared address-group, "My_Address_Group" in version 9.1 is;&lt;BR /&gt;&lt;BR /&gt;&lt;EM&gt;show shared address-group My_Address_Group&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately the list only includes the address-object names. I'm curious to know if there's a way to show the address-group and the IP address for each address-object.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Dec 2021 13:08:13 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/batch-add-address-objects-to-address-group-in-panorama/m-p/452816#M2853</guid>
      <dc:creator>FBMTRAV</dc:creator>
      <dc:date>2021-12-13T13:08:13Z</dc:date>
    </item>
    <item>
      <title>Re: Batch add address objects to address group in Panorama?</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/batch-add-address-objects-to-address-group-in-panorama/m-p/452821#M2854</link>
      <description>&lt;P&gt;If you're trying to do this in CLI, it looks like this is your command;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Panorama# set shared address-group My_Address_Group static [ Member_1 Member_2 ]&lt;/P&gt;</description>
      <pubDate>Mon, 13 Dec 2021 13:24:13 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/batch-add-address-objects-to-address-group-in-panorama/m-p/452821#M2854</guid>
      <dc:creator>FBMTRAV</dc:creator>
      <dc:date>2021-12-13T13:24:13Z</dc:date>
    </item>
  </channel>
</rss>

