<?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: Python tool for exporting/importing a policy package or parts of it in API / CLI Discussion</title>
    <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Re-Python-tool-for-exporting-importing-a-policy-package-or-parts/m-p/41123#M3889</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The scripts seemed to work well in exporting the package, but on the import, it imports all the objects, but the rulebase comes up as a single line for me.&amp;nbsp; (Excluding the any/any drop).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to move a policy package from one management server to another (consolidation of management).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The original policy is about ~130 lines long for reference.&amp;nbsp; Even importing into a fresh R80 management station, it doesn't seem to work successfully.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 Aug 2017 12:48:57 GMT</pubDate>
    <dc:creator>J__Bendonis</dc:creator>
    <dc:date>2017-08-01T12:48:57Z</dc:date>
    <item>
      <title>Re: Python tool for exporting/importing a policy package or parts of it</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Re-Python-tool-for-exporting-importing-a-policy-package-or-parts/m-p/41123#M3889</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The scripts seemed to work well in exporting the package, but on the import, it imports all the objects, but the rulebase comes up as a single line for me.&amp;nbsp; (Excluding the any/any drop).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to move a policy package from one management server to another (consolidation of management).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The original policy is about ~130 lines long for reference.&amp;nbsp; Even importing into a fresh R80 management station, it doesn't seem to work successfully.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Aug 2017 12:48:57 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Re-Python-tool-for-exporting-importing-a-policy-package-or-parts/m-p/41123#M3889</guid>
      <dc:creator>J__Bendonis</dc:creator>
      <dc:date>2017-08-01T12:48:57Z</dc:date>
    </item>
    <item>
      <title>Re: Python tool for exporting/importing a policy package or parts of it</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Re-Python-tool-for-exporting-importing-a-policy-package-or-parts/m-p/41124#M3890</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It looks like there is a bug in how it created the csv for the rules import:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/snip&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;Adding access rules to layer 'New_Standard Security'...&lt;BR /&gt;Error occured during parsing of CSV file.&lt;BR /&gt;Line 7 column 40: Unexpected character in csv file. String value is not followed by double-quotes&lt;BR /&gt;Failed to read parameters file [01__add-access-rule__2017_07_27_09_43.csv]: Invalid format&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;code: "generic_err_invalid_parameter"&lt;BR /&gt;message: "Invalid parameter for [position]. The invalid value [73] should be replaced by one of the following values: [1-2]"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Adding access sections to layer 'New_Standard Security'...&lt;BR /&gt;Line 2: code: "generic_err_invalid_parameter"&lt;BR /&gt;message: "Invalid parameter for [position]. The invalid value [14] should be replaced by one of the following values: [1-2]"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Line 3: code: "generic_err_invalid_parameter"&lt;BR /&gt;message: "Invalid parameter for [position]. The invalid value [17] should be replaced by one of the following values: [1-2]"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Line 4: code: "generic_err_invalid_parameter"&lt;BR /&gt;message: "Invalid parameter for [position]. The invalid value [18] should be replaced by one of the following values: [1-2]"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Line 5: code: "generic_err_invalid_parameter"&lt;BR /&gt;message: "Invalid parameter for [position]. The invalid value [22] should be replaced by one of the following values: [1-2]"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Line 6: code: "generic_err_invalid_parameter"&lt;BR /&gt;message: "Invalid parameter for [position]. The invalid value [24] should be replaced by one of the following values: [1-2]"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/endsnip&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm in the process of digging through the export packages currently, but that appears to be the root of the issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Aug 2017 16:52:54 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Re-Python-tool-for-exporting-importing-a-policy-package-or-parts/m-p/41124#M3890</guid>
      <dc:creator>J__Bendonis</dc:creator>
      <dc:date>2017-08-01T16:52:54Z</dc:date>
    </item>
    <item>
      <title>Re: Python tool for exporting/importing a policy package or parts of it</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Re-Python-tool-for-exporting-importing-a-policy-package-or-parts/m-p/41125#M3891</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A new version of the tool will be uploaded soon (during next week).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your patience,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Adam Galmor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Aug 2017 04:43:46 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Re-Python-tool-for-exporting-importing-a-policy-package-or-parts/m-p/41125#M3891</guid>
      <dc:creator>Adam_Galmor</dc:creator>
      <dc:date>2017-08-02T04:43:46Z</dc:date>
    </item>
    <item>
      <title>Re: Python tool for exporting/importing a policy package or parts of it</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Re-Python-tool-for-exporting-importing-a-policy-package-or-parts/m-p/41127#M3892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A new version of the tool, 2.0, has been uploaded.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Aug 2017 09:07:29 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Re-Python-tool-for-exporting-importing-a-policy-package-or-parts/m-p/41127#M3892</guid>
      <dc:creator>Adam_Galmor</dc:creator>
      <dc:date>2017-08-24T09:07:29Z</dc:date>
    </item>
  </channel>
</rss>

