<?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: New Firewall Build Process in Automation/API Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/new-firewall-build-process/m-p/526634#M3296</link>
    <description>&lt;P&gt;Hi &lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/95243"&gt;@MichaelPrensky&lt;/a&gt;, I'd say you are in the right place &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;There are various options, but if you can define the steps and config items with placeholder variables for the values that change per firewall, you should then be able to to deploy something consistent to each firewall. You own choice of programming language could do that, Ansible could do that, Terraform -could- do it but is not the best choice given how it likes to manage via state. Ansible is becoming very popular with PAN-OS users, you can do OS upgrades, perform configuration, install certs, etc, and use the variables feature within Ansible to give each firewall the unique values but with a consistent state. The choice between Ansible, bash scripts, Python, PHP, etc is likely something that primarily depends upon what you and/or your team have skills in, and want to operationalise. And keep an eye on the market too in case you need to hire someone; Python skills are more abundant in NetOps than, say, Java! And also the choice can be down to the features of each approach; Ansible may potentially have a lower barrier to entry on learning versus learning Python from scratch, but will likely execute slower than Python, there are trade-offs.&lt;BR /&gt;Hope that helps, hopefully some other users will chip in with their experiences...&lt;/P&gt;</description>
    <pubDate>Wed, 11 Jan 2023 11:51:31 GMT</pubDate>
    <dc:creator>JimmyHolland</dc:creator>
    <dc:date>2023-01-11T11:51:31Z</dc:date>
    <item>
      <title>New Firewall Build Process</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/new-firewall-build-process/m-p/526591#M3294</link>
      <description>&lt;P&gt;Hopefully I am putting this post in the right place.&amp;nbsp; &amp;nbsp;Please feel free to let me know if I should place it elsewhere.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I work at a place where we deploy a lot firewalls.&amp;nbsp; At the moment, it is a bunch of the PA-220r devices, but we work with the PA-850s and soon to be, some virtual firewalls.&amp;nbsp; I am looking for some advice as to how other companies automate their firewall builds.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Most all of our config is stored in a template, so once it gets to Panorama, we push down as much as we can.&amp;nbsp; So, here is the issue.&amp;nbsp; &amp;nbsp;I need to automate the build process for all those things that are &lt;STRONG&gt;not&lt;/STRONG&gt; part of a template, but are local to each specific firewall.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here are some examples of the types of configs I am talking about:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Bring up the OS to the company standard&lt;/LI&gt;&lt;LI&gt;Config the SMTP policy, so the return address of emails is the host name +&amp;nbsp;@domain.com&lt;/LI&gt;&lt;LI&gt;Register the device on PA site&lt;/LI&gt;&lt;LI&gt;Config the host name for device&lt;/LI&gt;&lt;LI&gt;Install the SSL Cert and create the TLS profile&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;The config is not really all that difficult, but it is time consuming.&amp;nbsp; &amp;nbsp;When you are setting up 20 or 30 firewalls, mistakes can be made.&amp;nbsp; So, I want to see how other companies are doing their build process and what types of automation is leveraged.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for all the help,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jan 2023 22:41:36 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/new-firewall-build-process/m-p/526591#M3294</guid>
      <dc:creator>MichaelPrensky</dc:creator>
      <dc:date>2023-01-10T22:41:36Z</dc:date>
    </item>
    <item>
      <title>Re: New Firewall Build Process</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/new-firewall-build-process/m-p/526634#M3296</link>
      <description>&lt;P&gt;Hi &lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/95243"&gt;@MichaelPrensky&lt;/a&gt;, I'd say you are in the right place &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;There are various options, but if you can define the steps and config items with placeholder variables for the values that change per firewall, you should then be able to to deploy something consistent to each firewall. You own choice of programming language could do that, Ansible could do that, Terraform -could- do it but is not the best choice given how it likes to manage via state. Ansible is becoming very popular with PAN-OS users, you can do OS upgrades, perform configuration, install certs, etc, and use the variables feature within Ansible to give each firewall the unique values but with a consistent state. The choice between Ansible, bash scripts, Python, PHP, etc is likely something that primarily depends upon what you and/or your team have skills in, and want to operationalise. And keep an eye on the market too in case you need to hire someone; Python skills are more abundant in NetOps than, say, Java! And also the choice can be down to the features of each approach; Ansible may potentially have a lower barrier to entry on learning versus learning Python from scratch, but will likely execute slower than Python, there are trade-offs.&lt;BR /&gt;Hope that helps, hopefully some other users will chip in with their experiences...&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jan 2023 11:51:31 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/new-firewall-build-process/m-p/526634#M3296</guid>
      <dc:creator>JimmyHolland</dc:creator>
      <dc:date>2023-01-11T11:51:31Z</dc:date>
    </item>
    <item>
      <title>Re: New Firewall Build Process</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/new-firewall-build-process/m-p/526826#M3297</link>
      <description>&lt;P&gt;At previus work i build a ugly excel sheet where you entered some info basic info (ip/hostname/serialnumber) then it generated both panorama conf and some basic conf for the devices (we did alot with templates also) that we could paste into the cli. Worked ok. Would have done alot of stuff different today (more ansible and j2 for example)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jan 2023 18:40:53 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/new-firewall-build-process/m-p/526826#M3297</guid>
      <dc:creator>zol123</dc:creator>
      <dc:date>2023-01-12T18:40:53Z</dc:date>
    </item>
    <item>
      <title>Re: New Firewall Build Process</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/new-firewall-build-process/m-p/528797#M3306</link>
      <description>&lt;P&gt;As previously mentioned there are lots of options. I used Palo API calls with Postman as a simple way to build a “new build” collection. &amp;nbsp;Has been a great help. So once the device is physically on the network I can get it updated and ready for import into Panorama to use a standard template. After Postman, I moved into utilizing Python to help standardize the input variables collected for each firewall build. &amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jan 2023 23:56:29 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/new-firewall-build-process/m-p/528797#M3306</guid>
      <dc:creator>jasonrakers</dc:creator>
      <dc:date>2023-01-26T23:56:29Z</dc:date>
    </item>
  </channel>
</rss>

