<?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 How to create multiple policy objects using Panorama in General Topics</title>
    <link>https://live.paloaltonetworks.com/t5/general-topics/how-to-create-multiple-policy-objects-using-panorama/m-p/209746#M61296</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any quick way to configure multiple policy objects on Panorama? especially looking to configure hundreds of fqdn objects to push them to firewalls managed through panorama so using GUI is quite a lot of work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;e.g. for standalone PA, it is quick using CLI commands&lt;/P&gt;</description>
    <pubDate>Thu, 12 Apr 2018 12:08:48 GMT</pubDate>
    <dc:creator>SunilGajjar</dc:creator>
    <dc:date>2018-04-12T12:08:48Z</dc:date>
    <item>
      <title>How to create multiple policy objects using Panorama</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/how-to-create-multiple-policy-objects-using-panorama/m-p/209746#M61296</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any quick way to configure multiple policy objects on Panorama? especially looking to configure hundreds of fqdn objects to push them to firewalls managed through panorama so using GUI is quite a lot of work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;e.g. for standalone PA, it is quick using CLI commands&lt;/P&gt;</description>
      <pubDate>Thu, 12 Apr 2018 12:08:48 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/how-to-create-multiple-policy-objects-using-panorama/m-p/209746#M61296</guid>
      <dc:creator>SunilGajjar</dc:creator>
      <dc:date>2018-04-12T12:08:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to create multiple policy objects using Panorama</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/how-to-create-multiple-policy-objects-using-panorama/m-p/209772#M61299</link>
      <description>&lt;P&gt;You could build up a cli-script or you can use the xml-api&lt;/P&gt;&lt;P&gt;&lt;A href="https://live.paloaltonetworks.com/t5/Management-Articles/Add-a-Shared-Address-Object-Using-XML-API-to-Panorama/ta-p/69651" target="_blank"&gt;https://live.paloaltonetworks.com/t5/Management-Articles/Add-a-Shared-Address-Object-Using-XML-API-to-Panorama/ta-p/69651&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Apr 2018 13:52:57 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/how-to-create-multiple-policy-objects-using-panorama/m-p/209772#M61299</guid>
      <dc:creator>Chacko42</dc:creator>
      <dc:date>2018-04-12T13:52:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to create multiple policy objects using Panorama</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/how-to-create-multiple-policy-objects-using-panorama/m-p/209906#M61332</link>
      <description>&lt;P&gt;Thanks for your reply. It looks to be a good solution for Shared objects.&lt;/P&gt;&lt;P&gt;Is there any similar method to create it for a specific Device Group?&lt;/P&gt;</description>
      <pubDate>Fri, 13 Apr 2018 05:10:27 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/how-to-create-multiple-policy-objects-using-panorama/m-p/209906#M61332</guid>
      <dc:creator>SunilGajjar</dc:creator>
      <dc:date>2018-04-13T05:10:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to create multiple policy objects using Panorama</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/how-to-create-multiple-policy-objects-using-panorama/m-p/209911#M61333</link>
      <description>&lt;P&gt;Unfortunately I currently got no panorama at hand, but you can have a look for the api-calls at https://&amp;lt;panorama-ip/api&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Maybe there is a "device group" branch on the same level as the "shared" branch.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Apr 2018 06:37:23 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/how-to-create-multiple-policy-objects-using-panorama/m-p/209911#M61333</guid>
      <dc:creator>Chacko42</dc:creator>
      <dc:date>2018-04-13T06:37:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to create multiple policy objects using Panorama</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/how-to-create-multiple-policy-objects-using-panorama/m-p/209920#M61335</link>
      <description>&lt;PRE&gt;https://{panorama-ip}/api/?key={API-key}&amp;amp;type=config&amp;amp;action=set&amp;amp;xpath=/config/device-group[@name='{devicegroup-name}']/address/entry[@name='{object-name}'] &amp;amp;element=&amp;lt;ip-netmask&amp;gt;{ip-address/mask}&amp;lt;/ip-netmask&amp;gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 13 Apr 2018 07:10:48 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/how-to-create-multiple-policy-objects-using-panorama/m-p/209920#M61335</guid>
      <dc:creator>Remo</dc:creator>
      <dc:date>2018-04-13T07:10:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to create multiple policy objects using Panorama</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/how-to-create-multiple-policy-objects-using-panorama/m-p/209965#M61350</link>
      <description>&lt;P&gt;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/86433"&gt;@SunilGajjar&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As Chacko42 &amp;amp; vsys_remo pointed out using XML_API can be an excellent way to do this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you're unfamiliar with how XML API works then check out the following XML API use case examples explained on the Live Community Blog (these might not match your exact use case but can definitely help you getting started with XML API) :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://live.paloaltonetworks.com/t5/Community-Blog/Export-the-security-rulebase-using-XML-API/ba-p/207981" target="_blank"&gt;Export-the-security-rulebase-using-XML-API&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://live.paloaltonetworks.com/t5/Community-Blog/XML-API-Use-Case-to-Add-amp-Delete-TS-Agents/ba-p/206314" target="_blank"&gt;XML-API-Use-Case-to-Add-amp-Delete-TS-Agents&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://live.paloaltonetworks.com/t5/Community-Blog/The-Power-of-XML-API/ba-p/202789" target="_blank"&gt;The-Power-of-XML-API&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers !&lt;/P&gt;
&lt;P&gt;-Kiwi.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Apr 2018 11:31:52 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/how-to-create-multiple-policy-objects-using-panorama/m-p/209965#M61350</guid>
      <dc:creator>kiwi</dc:creator>
      <dc:date>2018-04-13T11:31:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to create multiple policy objects using Panorama</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/how-to-create-multiple-policy-objects-using-panorama/m-p/210237#M61414</link>
      <description>&lt;P&gt;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/11943"&gt;@kiwi&lt;/a&gt;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/16592"&gt;@Remo&lt;/a&gt;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/79934"&gt;@Chacko42&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your replies.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Apr 2018 04:32:42 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/how-to-create-multiple-policy-objects-using-panorama/m-p/210237#M61414</guid>
      <dc:creator>SunilGajjar</dc:creator>
      <dc:date>2018-04-16T04:32:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to create multiple policy objects using Panorama</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/how-to-create-multiple-policy-objects-using-panorama/m-p/210238#M61415</link>
      <description>&lt;P&gt;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/79934"&gt;@Chacko42&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have drilled it down through Panorama API browser&amp;nbsp;to find out Devicegroup related Xpath at: /config/devices/entry[@name='{localhost.localdomain}']/device-group/entry[@name='{device-group name}]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It successfully&amp;nbsp;worked using&amp;nbsp;below API call (replace relevant values for variables within brackets {}):&lt;/P&gt;&lt;P&gt;https://{panorama-ip}/api/?key={API-Key}&amp;amp;type=config&amp;amp;action=set&amp;amp;xpath=/config/devices/entry[@name='{localhost.localdomain}']/device-group/entry[@name='{device-group name}']/address/entry[@name='{address-object-name}'] &amp;amp;element=&amp;lt;ip-netmask&amp;gt;{ip-address/mask}&amp;lt;/ip-netmask&amp;gt;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Apr 2018 05:03:12 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/how-to-create-multiple-policy-objects-using-panorama/m-p/210238#M61415</guid>
      <dc:creator>SunilGajjar</dc:creator>
      <dc:date>2018-04-16T05:03:12Z</dc:date>
    </item>
  </channel>
</rss>

