Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
Carlos_Mendez
Explorer

export policy package

Deseo saber si existe un procedimiento para exportar las políticas de R77.30 a R80.10

Labels (1)
8 Replies
PhoneBoy
Admin
Admin

Just so you know, you will probably get better response on most of the communities if you ask the question in English.

Are you trying to export policies from R77.30 into a newly installed R80.10 management?

You would use the migration tools for this from here: Check Point R80.10 

Are you trying to export policies from R77.30 into an existing R80.10 management that already has policies configured?

Then you probably have to do something like:

  1. Export the entire R77.30 management using the migration tools for R80.10 as above
  2. Create a new R80.10 manager in a VM or similar and migrate import the R77.30 configuration into it
  3. Use the Python tool for exporting/importing a policy package or parts of it tool to export the relevant policy and import it to the R80.10 management. 
Luis_Miguel_Mig
Specialist

Will this script support R81?

0 Kudos
PhoneBoy
Admin
Admin

TL:DR; yes.

The nice thing about the API is that it’s versioned.
So, if you call the API with an older version, it will act the same way it did in that previous version.

Obviously, the script will have to be updated to support all the new APIs and such of newer versions (and it generally is), but it should still work even without that.

0 Kudos
Luis_Miguel_Mig
Specialist

Wouldn't it make sense if the script capability was part of the migrate tools and supported by Checkpoint?

0 Kudos
Luis_Miguel_Mig
Specialist

Does anybody has experience with the script? What happens if the new package you are importing uses an identical object already present in the manager where it is imported?
And if the object only has the same name but different value?

0 Kudos
PhoneBoy
Admin
Admin

I believe it will create a placeholder object in both cases similar to what it will do for object types it cannot create.

0 Kudos
PhoneBoy
Admin
Admin

The tool is maintained by Check Point R&D and is Open Source.
While it doesn't receive formal support (e.g through TAC), we do address reported issues where appropriate and periodically update it.
It is limited by what the API allows and very different from what a migrate export/import does. 

0 Kudos
Luis_Miguel_Mig
Specialist

Thanks Phoneboy.
Regarding the cases I mentioned I guess that it makes all sense to create a new placeholder when the object has the same name but different values.
However if the objects are exactly the same it would be great if the import could just use the object without creating a  new placeholder.

The user case is migrating several clusters from one management to a new management. The clusters share and use the same objects and the policy-package are big, so it would be quite a bit of work to review the imported policy-package and delete all the duplicated objects.

It would be great if R&D could look at it.


0 Kudos