<?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: Network object import issues and any import issues in SmartMove</title>
    <link>https://community.checkpoint.com/t5/SmartMove/Network-object-import-issues-and-any-import-issues/m-p/132025#M401</link>
    <description>&lt;P&gt;Thanks a lot ! I merged it&lt;/P&gt;</description>
    <pubDate>Tue, 19 Oct 2021 05:50:10 GMT</pubDate>
    <dc:creator>Ofir_Shikolski</dc:creator>
    <dc:date>2021-10-19T05:50:10Z</dc:date>
    <item>
      <title>Network object import issues and any import issues</title>
      <link>https://community.checkpoint.com/t5/SmartMove/Network-object-import-issues-and-any-import-issues/m-p/131373#M395</link>
      <description>&lt;P&gt;I have been trying to import a Cisco ASA config using the python script and after multiple attempts realised every time it hit network objects that already existed (match by IP, not name) it would not import the object but would also not map the object to the existing network object name.&lt;/P&gt;&lt;P&gt;This results in a whole bunch of rules that use those objects not importing because there is no mapping to the object name in the management database.&lt;/P&gt;&lt;P&gt;After a morning of debugging I discovered that at line 198 of smartconnector.py the indentation of the 'break' means the mapping code for network objects is never reached so requires an additional tab to push it into the preceding if statement. Then it works as expected.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also note that there were a lot of rules failing on 'Requested object [any] not found'&lt;/P&gt;&lt;P&gt;It appears the file 'cp_objects.json' outputs names with any as "any" whereas the api seems to only accept "Any" after making this change to all "any"s in the file all rules import as expected.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Oct 2021 14:04:53 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/SmartMove/Network-object-import-issues-and-any-import-issues/m-p/131373#M395</guid>
      <dc:creator>SimonMeadows</dc:creator>
      <dc:date>2021-10-08T14:04:53Z</dc:date>
    </item>
    <item>
      <title>Re: Network object import issues and any import issues</title>
      <link>https://community.checkpoint.com/t5/SmartMove/Network-object-import-issues-and-any-import-issues/m-p/131391#M396</link>
      <description>&lt;P&gt;Both of these seem like simple fixes.&lt;BR /&gt;&lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/245"&gt;@Ofir_Shikolski&lt;/a&gt;&amp;nbsp;I assume you're on top of this?&lt;/P&gt;</description>
      <pubDate>Fri, 08 Oct 2021 16:45:55 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/SmartMove/Network-object-import-issues-and-any-import-issues/m-p/131391#M396</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2021-10-08T16:45:55Z</dc:date>
    </item>
    <item>
      <title>Re: Network object import issues and any import issues</title>
      <link>https://community.checkpoint.com/t5/SmartMove/Network-object-import-issues-and-any-import-issues/m-p/131427#M397</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Thanks for the info.&lt;/P&gt;
&lt;P&gt;We are not aware about this kind of issues - we will glad to get more information :&lt;/P&gt;
&lt;P&gt;1. Which SmartMove version do you use?&lt;/P&gt;
&lt;P&gt;2. Can you share with us the config file ?&lt;/P&gt;
&lt;P&gt;3. What do you offer as solution for line 198? can you please commit a fix?&lt;/P&gt;</description>
      <pubDate>Sun, 10 Oct 2021 06:39:40 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/SmartMove/Network-object-import-issues-and-any-import-issues/m-p/131427#M397</guid>
      <dc:creator>Ofir_Shikolski</dc:creator>
      <dc:date>2021-10-10T06:39:40Z</dc:date>
    </item>
    <item>
      <title>Re: Network object import issues and any import issues</title>
      <link>https://community.checkpoint.com/t5/SmartMove/Network-object-import-issues-and-any-import-issues/m-p/131490#M398</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;1. Version 6.0.7927.19067&lt;/P&gt;&lt;P&gt;2. Unfortunately I don't have the time to redact the sensitive info at the moment.&lt;/P&gt;&lt;P&gt;3. Pull request #25&lt;/P&gt;</description>
      <pubDate>Mon, 11 Oct 2021 10:31:43 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/SmartMove/Network-object-import-issues-and-any-import-issues/m-p/131490#M398</guid>
      <dc:creator>SimonMeadows</dc:creator>
      <dc:date>2021-10-11T10:31:43Z</dc:date>
    </item>
    <item>
      <title>Re: Network object import issues and any import issues</title>
      <link>https://community.checkpoint.com/t5/SmartMove/Network-object-import-issues-and-any-import-issues/m-p/131509#M399</link>
      <description>&lt;P&gt;I also found that the processGroupWithMembers function was not using the mapping of existing objects either.&lt;/P&gt;&lt;P&gt;I have added another commit to pull request #25&lt;/P&gt;</description>
      <pubDate>Mon, 11 Oct 2021 15:16:56 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/SmartMove/Network-object-import-issues-and-any-import-issues/m-p/131509#M399</guid>
      <dc:creator>SimonMeadows</dc:creator>
      <dc:date>2021-10-11T15:16:56Z</dc:date>
    </item>
    <item>
      <title>Re: Network object import issues and any import issues</title>
      <link>https://community.checkpoint.com/t5/SmartMove/Network-object-import-issues-and-any-import-issues/m-p/131559#M400</link>
      <description>&lt;P&gt;Hi, I also found that when multiple subnets exist that cover an importing subnet, it maps to the first returned rather than only mapping to an exact match.&lt;/P&gt;&lt;P&gt;There is an additional commit in pull request #25 to fix it.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Oct 2021 15:03:32 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/SmartMove/Network-object-import-issues-and-any-import-issues/m-p/131559#M400</guid>
      <dc:creator>SimonMeadows</dc:creator>
      <dc:date>2021-10-12T15:03:32Z</dc:date>
    </item>
    <item>
      <title>Re: Network object import issues and any import issues</title>
      <link>https://community.checkpoint.com/t5/SmartMove/Network-object-import-issues-and-any-import-issues/m-p/132025#M401</link>
      <description>&lt;P&gt;Thanks a lot ! I merged it&lt;/P&gt;</description>
      <pubDate>Tue, 19 Oct 2021 05:50:10 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/SmartMove/Network-object-import-issues-and-any-import-issues/m-p/132025#M401</guid>
      <dc:creator>Ofir_Shikolski</dc:creator>
      <dc:date>2021-10-19T05:50:10Z</dc:date>
    </item>
  </channel>
</rss>

