April 2017 update: An standalone open-source tool exists for exporting and importing policies and objects by using the R80 or R80.10 Management API: Python tool for exporting/importing a policy package or parts of it
This tool exports a policy package as a list of csv files that can later by imported into a different management setup.
In R80 you can export a policy, but not import.
Export can be done:
- From SmartConsole go to a layer, and click on Actions-->Export, which will save the entire layer as a CSV file.
- Using the "show access layer" API command. Since the result is a JSON structure, when using it inside the Management Server SSH you can pipe it into other formats.
Importing a layer, a policy, or an entire policy package, is planned as an API command for the next releases.
Please note that for some of the use cases, SmartConsole has alternative tools.
Please reply to this thread with your input - are these tools sufficient, or do you find other cases where need the import option? For example:
- Moving policies between different domains in multi-domain environments.
- Exporting an importing an entire database in order to refresh the platform underneath.