Clone host - python

Document created by Inbar Moskovich Employee on Sep 27, 2016Last modified by Inbar Moskovich Employee on Jul 11, 2017
Version 4Show Document
  • View in full screen mode

Overview

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

 

Instructions

Download the Python library from the link above.

Extract the Python library to the folder containing the script.

python cloneHost.py

 

Code Version

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

...

1 person found this helpful

Attachments

Outcomes