<?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: dev2rama error in Automation/API Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/dev2rama-error/m-p/21355#M543</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We are running the 0828 version with 4.0.4 on a PA-2050 and 4.0.5 for Panorama.&amp;nbsp; It's failing only on the policy side.&amp;nbsp; We are getting objects fine.&amp;nbsp; I think you are onto something with the character side of things though.&amp;nbsp; The policy is comprised of over 2,700 rules.&amp;nbsp; We'll add the debug flag &amp;amp; see what it gets us.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Oct 2011 16:56:31 GMT</pubDate>
    <dc:creator>migration</dc:creator>
    <dc:date>2011-10-18T16:56:31Z</dc:date>
    <item>
      <title>dev2rama error</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/dev2rama-error/m-p/21353#M541</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After issuing a the set .sh command we recieve an error when pushing the policy to panorama.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/config/devices/entry[@name='localhost.localdomain']/device-group/entry[@name='DG1']/pre-rulebase/security ../templates/dev2rama//set/12_security-rules.xml&lt;BR /&gt;Executing:&amp;nbsp; /usr/local/bin/panxapi -S -h 192.168.0.230 -K 0RgWc42Oi0vDx2WRUIUM6A== ../templates/dev2rama//set/12_security-rules.xml "/config/devices/entry[@name='localhost.localdomain']/device-group/entry[@name='DG1']/pre-rulebase/security"&lt;BR /&gt;set: Malformed Request status="error" code="18"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas what would cause this? It seemed to import the rulebase fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;../templates/dev2rama//show/12_security-rules.xpath&lt;BR /&gt;Executing:&amp;nbsp; panxapi -rsx "devices/entry[@name='localhost.localdomain']/vsys/entry[@name='vsys1']/rulebase/security/rules"&lt;BR /&gt;show: success&lt;BR /&gt; &lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Oct 2011 15:39:20 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/dev2rama-error/m-p/21353#M541</guid>
      <dc:creator>tonyh</dc:creator>
      <dc:date>2011-10-18T15:39:20Z</dc:date>
    </item>
    <item>
      <title>Re: dev2rama error</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/dev2rama-error/m-p/21354#M542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tony,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What version of PAN-Perl do you currently have installed?&amp;nbsp; the initial mechanism that panxapi was using to interact with the XML API was HTTPS 'GET' which has a limitation to the number of characters that you can push to the FW at a given time.&amp;nbsp; The latest version posted (PAN-perl-20110828) the default mechanism is now 'POST' which eliminates that as an issue.&amp;nbsp; It would also be helpful to know what model and software version your are running on Panorama and the FW's that you are attempting to migrate from.&amp;nbsp; You can also add a debug flag to the script for the panxapi call by modifying this line in the set script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; /usr/local/bin/panxapi -h $hostname -K $api_key -S $elem "$xpath"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; /usr/local/bin/panxapi -h $hostname -K $api_key -DS $elem "$xpath"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Marc&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Oct 2011 16:25:29 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/dev2rama-error/m-p/21354#M542</guid>
      <dc:creator>mbenoit</dc:creator>
      <dc:date>2011-10-18T16:25:29Z</dc:date>
    </item>
    <item>
      <title>Re: dev2rama error</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/dev2rama-error/m-p/21355#M543</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We are running the 0828 version with 4.0.4 on a PA-2050 and 4.0.5 for Panorama.&amp;nbsp; It's failing only on the policy side.&amp;nbsp; We are getting objects fine.&amp;nbsp; I think you are onto something with the character side of things though.&amp;nbsp; The policy is comprised of over 2,700 rules.&amp;nbsp; We'll add the debug flag &amp;amp; see what it gets us.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Oct 2011 16:56:31 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/dev2rama-error/m-p/21355#M543</guid>
      <dc:creator>migration</dc:creator>
      <dc:date>2011-10-18T16:56:31Z</dc:date>
    </item>
    <item>
      <title>Re: dev2rama error</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/dev2rama-error/m-p/21356#M544</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Marc,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After setting the debug we see it is terminating at rule "1511", is there a limitation as to how many rules it will convert?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ber&amp;gt;any&amp;lt;/member&amp;gt;&amp;lt;/application&amp;gt;&amp;lt;action&amp;gt;allow&amp;lt;/action&amp;gt;&amp;lt;log-end&amp;gt;yes&amp;lt;/log-end&amp;gt;&amp;lt;disabled&amp;gt;no&amp;lt;/disabled&amp;gt;&amp;lt;negate-source&amp;gt;no&amp;lt;/negate-source&amp;gt;&amp;lt;negate-destination&amp;gt;no&amp;lt;/negate-destination&amp;gt;&amp;lt;description/&amp;gt;&amp;lt;/entry&amp;gt;&amp;lt;entry name="rule 1511',&lt;BR /&gt;&amp;nbsp; key =&amp;gt; '0RgWc42Oi0vDx2WRUIUM6A=='&lt;BR /&gt;};&lt;BR /&gt;API response:&lt;BR /&gt;&amp;lt;response status="error" code="18"&amp;gt;&amp;lt;msg&amp;gt;&amp;lt;line&amp;gt;Malformed Request&amp;lt;/line&amp;gt;&amp;lt;/msg&amp;gt;&amp;lt;/response&amp;gt;&lt;BR /&gt;$VAR1 = {&lt;BR /&gt;&amp;nbsp; msg =&amp;gt; {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; line =&amp;gt; 'Malformed Request'&lt;BR /&gt;&amp;nbsp; },&lt;BR /&gt;&amp;nbsp; status =&amp;gt; 'error',&lt;BR /&gt;&amp;nbsp; code =&amp;gt; '18'&lt;BR /&gt;};&lt;BR /&gt;set: Malformed Request status="error" code="18"&lt;BR /&gt; &lt;/P&gt;&lt;P&gt;Thanks, Tony&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Oct 2011 17:13:22 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/dev2rama-error/m-p/21356#M544</guid>
      <dc:creator>tonyh</dc:creator>
      <dc:date>2011-10-18T17:13:22Z</dc:date>
    </item>
    <item>
      <title>Re: dev2rama error</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/dev2rama-error/m-p/21357#M545</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;weird! A malformed request indicates a general failure of the call and that no data is passed so you shouldnt be displaying any of the policies in Panorama at the conclusion of that call.&amp;nbsp; The rules are all set in an atomic transaction that is step 12 of the template execution.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Oct 2011 17:35:19 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/dev2rama-error/m-p/21357#M545</guid>
      <dc:creator>mbenoit</dc:creator>
      <dc:date>2011-10-18T17:35:19Z</dc:date>
    </item>
  </channel>
</rss>

