The purpose of this script is to add a new host with a given IP and name and place it in the same places as the provided existing host.
This script uses the Python library in this post Python library for using the management APIs
Download the Python library from the link above.
Extract the Python library to the folder containing the script.
Code version 1.0.1
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