<?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 library for using R80 management server APIsExportImportPolicyPackage in API / CLI Discussion</title>
    <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Python-library-for-using-R80-management-server/m-p/15645#M1072</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d;"&gt;Thank you Martin, Its working for me now. one&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN style="color: #222222; background: white;"&gt;&lt;SPAN&gt;doubt about something VPN and NAT as completely not merged even it did not copied any gateways as well, finally i had manual work to complete these items, so is it a normal behavior with this script ?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Nov 2018 02:30:10 GMT</pubDate>
    <dc:creator>Kumar_Manoj</dc:creator>
    <dc:date>2018-11-16T02:30:10Z</dc:date>
    <item>
      <title>Python library for using R80 management server APIsExportImportPolicyPackage</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Python-library-for-using-R80-management-server/m-p/15643#M1070</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;Can someone please help me? I am trying to merge two separate R80.10 SMC into a single R80.10 using&amp;nbsp;&amp;nbsp;ExportImportPolicyPackage-master, while using script i am getting below errors,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;File "import_export_package.py", line 5, in &amp;lt;module&amp;gt;&lt;BR /&gt; from cp_mgmt_api_python_sdk.lib import APIClientArgs&lt;BR /&gt;ImportError: cannot import name 'APIClientArgs'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to fix but no luck, would really appreciate if someone can help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Nov 2018 06:44:43 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Python-library-for-using-R80-management-server/m-p/15643#M1070</guid>
      <dc:creator>Kumar_Manoj</dc:creator>
      <dc:date>2018-11-13T06:44:43Z</dc:date>
    </item>
    <item>
      <title>Re: Python library for using R80 management server APIsExportImportPolicyPackage</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Python-library-for-using-R80-management-server/m-p/15644#M1071</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Make sure that cp_mgmt_api_python_sdk is in same folder as your script, otherwise it will fail to load those modules.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Nov 2018 09:41:38 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Python-library-for-using-R80-management-server/m-p/15644#M1071</guid>
      <dc:creator>Martin_Valenta</dc:creator>
      <dc:date>2018-11-14T09:41:38Z</dc:date>
    </item>
    <item>
      <title>Re: Python library for using R80 management server APIsExportImportPolicyPackage</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Python-library-for-using-R80-management-server/m-p/15645#M1072</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d;"&gt;Thank you Martin, Its working for me now. one&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN style="color: #222222; background: white;"&gt;&lt;SPAN&gt;doubt about something VPN and NAT as completely not merged even it did not copied any gateways as well, finally i had manual work to complete these items, so is it a normal behavior with this script ?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Nov 2018 02:30:10 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Python-library-for-using-R80-management-server/m-p/15645#M1072</guid>
      <dc:creator>Kumar_Manoj</dc:creator>
      <dc:date>2018-11-16T02:30:10Z</dc:date>
    </item>
    <item>
      <title>Re: Python library for using R80 management server APIsExportImportPolicyPackage</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Python-library-for-using-R80-management-server/m-p/15646#M1073</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm assuming you're referring to this script: &lt;A href="https://community.checkpoint.com/docs/DOC-1938"&gt;Python tool for exporting/importing a policy package or parts of it&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;The script does have some limitations, namely because the API does not expose everything you need to export and import.&lt;/P&gt;&lt;P&gt;Read the discussion attached to the script for details.&lt;/P&gt;&lt;P&gt;This means some items will have to be done manually.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Nov 2018 05:17:27 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Python-library-for-using-R80-management-server/m-p/15646#M1073</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2018-11-16T05:17:27Z</dc:date>
    </item>
    <item>
      <title>Re: Python library for using R80 management server APIsExportImportPolicyPackage</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Python-library-for-using-R80-management-server/m-p/15647#M1074</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;@&lt;A _jive_internal="true" class="" data-userid="2075" data-username="cfe6e688-522c-305c-adaa-194bd7a7becc" href="https://community.checkpoint.com/people/cfe6e688-522c-305c-adaa-194bd7a7becc" style="color: #e45785; background-color: #ffffff; border: 0px; font-weight: 200; text-decoration: underline; font-size: 1.286rem;"&gt;Dameon Welch-Abernathy&lt;/A&gt;&lt;SPAN style="background-color: #ffffff; color: #e45785; font-weight: 500;"&gt;&amp;nbsp; thank you so much for your response.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Nov 2018 06:27:15 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Python-library-for-using-R80-management-server/m-p/15647#M1074</guid>
      <dc:creator>Kumar_Manoj</dc:creator>
      <dc:date>2018-11-16T06:27:15Z</dc:date>
    </item>
    <item>
      <title>Re: Python library for using R80 management server APIsExportImportPolicyPackage</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Python-library-for-using-R80-management-server/m-p/81087#M4682</link>
      <description>&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;As well as adding others, if an error like this still appears, first install the cp_mgmt_api_python_sdk-master. By way of cmd, move to that directory, run setup.py&lt;/P&gt;&lt;P&gt;the details: &lt;STRONG&gt;C: \cp_mgmt_api_python_sdk-master&amp;gt; setup.py&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Hope this helps us all.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 07 Apr 2020 07:56:30 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Python-library-for-using-R80-management-server/m-p/81087#M4682</guid>
      <dc:creator>Fiqri_kurniawan</dc:creator>
      <dc:date>2020-04-07T07:56:30Z</dc:date>
    </item>
    <item>
      <title>Re: Python library for using R80 management server APIsExportImportPolicyPackage</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Python-library-for-using-R80-management-server/m-p/111226#M5626</link>
      <description>&lt;P&gt;I'm having the same issue as this thread. Does this need to be run from a remote host, or can i run this from the management server itself? the directions is a bit iffy.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Thu, 18 Feb 2021 20:01:44 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Python-library-for-using-R80-management-server/m-p/111226#M5626</guid>
      <dc:creator>2lnetworks</dc:creator>
      <dc:date>2021-02-18T20:01:44Z</dc:date>
    </item>
    <item>
      <title>Re: Python library for using R80 management server APIsExportImportPolicyPackage</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Python-library-for-using-R80-management-server/m-p/111227#M5627</link>
      <description>&lt;P&gt;Please look at the instructions:&lt;BR /&gt;&lt;A href="https://github.com/CheckPointSW/cp_mgmt_api_python_sdk/#instructions" target="_blank"&gt;https://github.com/CheckPointSW/cp_mgmt_api_python_sdk/#instructions&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Particularly at:&lt;BR /&gt;&lt;A href="https://github.com/CheckPointSW/cp_mgmt_api_python_sdk/#sdk-usage-from-a-management-machine" target="_blank"&gt;https://github.com/CheckPointSW/cp_mgmt_api_python_sdk/#sdk-usage-from-a-management-machine&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;It can run on either the Management server or somewhere else.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Feb 2021 20:12:36 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Python-library-for-using-R80-management-server/m-p/111227#M5627</guid>
      <dc:creator>Art_Zalenekas</dc:creator>
      <dc:date>2021-02-18T20:12:36Z</dc:date>
    </item>
    <item>
      <title>Re: Python library for using R80 management server APIsExportImportPolicyPackage</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Python-library-for-using-R80-management-server/m-p/111228#M5628</link>
      <description>&lt;P&gt;I did that but still no luck.&lt;/P&gt;&lt;P&gt;echo $PYTHONPATH&lt;BR /&gt;:/home/admin/cp_mgmt_api_python_sdk-master/:/home/admin/cp_mgmt_api_python_sdk-master/:/home/admin/cp_mgmt_api_python_sdk-master/&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ls -lh&lt;BR /&gt;total 104M&lt;BR /&gt;drwxr-xr-x 3 admin root 4.0K Feb 18 19:42 ExportImportPolicyPackage-master&lt;BR /&gt;-rwxr----- 1 admin root 1.6M Nov 27 2019 IPSUpdateRevert&lt;BR /&gt;drwxr-xr-x 3 admin root 4.0K Feb 18 20:11 cp_mgmt_api_python_sdk-master&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/opt/CPsuite-R80/fw1/Python/bin/python2.7 /home/admin/ExportImportP olicyPackage-master/ExportImportPolicyPackage-master/import_export_package.py&lt;BR /&gt;Traceback (most recent call last):&lt;BR /&gt;File "/home/admin/ExportImportPolicyPackage-master/ExportImportPolicyPackage-master/im port_export_package.py", line 5, in &amp;lt;module&amp;gt;&lt;BR /&gt;from cpapi import APIClient, APIClientArgs&lt;BR /&gt;ImportError: No module named cpapi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Feb 2021 20:20:23 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Python-library-for-using-R80-management-server/m-p/111228#M5628</guid>
      <dc:creator>2lnetworks</dc:creator>
      <dc:date>2021-02-18T20:20:23Z</dc:date>
    </item>
  </channel>
</rss>

