Porting Your Network in Command Line
Overview
The Network Designer allows you to package the network in command line
that you have created with the desired configurations and install it in
any other system having Simulation Toolkit. For example, you have created
the network in Linux system with all the desired configuration. This network
and its configuration can be packaged in command line and sent across
for demo or trade shows or kept as a backup.
You can also package the required devices added to the device tree from
command prompt and install it in any other system having Simulation Toolkit.
In this topic, you will learn about the options available to package and
install your network and devices. The command line option will help in
automating the porting of network and devices.
Packaging Your
Network in Command Line
To package your network in command line, type the
following command from the <SimulatorHome>/bin/cmdline
directory.
In windows:
Package.bat net1,net2,net3 zipfileName.zip
|
In Linux:
Package.sh net1,net2,net3 zipfileName.zip
|
Packaging
the Devices in the Device Tree
To package your devices in the device tree type the
following command from the <SimulatorHome>/bin/cmdline
directory.
In windows:
PackageDevice.bat dev1,dev2,dev3 zipfileName.zip
|
In Linux:
PackageDevice.sh dev1,dev2,dev3 zipfileName.zip
|
Installing
the Network/Devices
To install from command line your network or the devices
that you packaged, type the following command from the <SimulatorHome>/bin/cmdline
directory.
In windows:
InstallPackage.bat zipfileName.zip
or
InstallPackage.bat zipfileName.zip groupName
|
In Linux:
InstallPackage.sh zipfileName.zip
or
InstallPackage.sh zipfileName.zip groupName
|
The first option (without groupName )
will install the packaged devices in the groups, in which they were
previously existed. If the packaged group is not present at
the time of installation, then that group will be created
and the device will be installed under it.
The second option (with
groupName) will install the package devices in that specified group. If
the specified group is not present at the time of installation,
then it will be created and the devices will be installed under
it.
Copyright © 2012,
ZOHO Corp. All Rights Reserved.