This tool enables you to export all objects from a certain type,
which can be imported later into any management server.
This tool can be used for backups, database transfers, testing and more.
First, make sure you have [2.7.9 <= python < 3.0] installed on the machine running the script.
A typical run of the script to export all hosts will be along the lines of:
export_hosts.py -m [management server IP] -o hosts.csv
You can replace hosts with the name of the type you wish to export (given there is a file for it).
It will ask you for a username and a password to log in to the management server.
A lot more details can of course be accessed with the '-h' option.
Code version 1.0
Tested on version
R80, API version 1.0
NOTICE: By using this sample code you agree to terms and conditions in this Terms and Conditions