Adding Devices in the Device Tree

 



 

Adding a Group Node

 

When you add a large number of devices to the device tree, it is necessary to organize them so that they do not clutter the device tree. For example, if you are going to simulate printers, you can name the group node as printer and add all the related devices under the Group Node printer.

 

To add a Group to the devices tree, do the following :

  1. Right-click on Devices Node in the component tree and choose the Menu item Add a Group. The Add a Group dialog box is displayed.

  2. Specify the name of the Group in the Specify Name combo-box. You can provide any desired group name. Example : Printer

  3. Click OK to add this as a Group in the device tree.

Adding SNMP Devices by specifying MIB / Configuration file / SNMP WALK File

  1. Right-click a group node and select Add Device . The DeviceAdditionWizard is displayed, wherein you have to specify the following details:

  2. Device name : You can provide any device name.

  3. Device Image : It is preferred that you choose a device image to differentiate between the devices in a network. A collection of images are available in <Simulator_Home>/devices/images directory. You can also provide your own image for the new device. Refer to Adding Device Images.

  4. Device Type : Select the device type as SNMP Device from the list displayed.

  1. You can simulate the SNMP device by specifying the MIB file or the configuration file or the SNMP WALK file.

MIB File

Configuration File

SNMP WALK File

  1. To enable TFTP service, select TFTP and configure the TFTP parameters.

  2. Default root directory: The default TFTP root directory is ./networks/<networkname>/tftp/<templatedevicename> directory.

  3. Root directory : Configure the TFTP root directory as per your requirement.

  4. Upload script/Download script: You can configure Jython script files to be executed when a file is uploaded to the server or downloaded from the server. This facility can be used to inform the manager about a file transfer, by way of sending traps etc. To configure scripts, browse and select the script (.py file).

  1. To enable Telnet Service, select Telnet. Configure the user name and password to login to Telnet. The default user name is root and password is public. The telnet commands supported by the SunSolaris device will be supported.

  1. Click Create to create and add the device in the device tree.  

    Note:

     

    1. The SNMP device will support SNMP, TFTP (if TFTP service is enabled) and Telnet  (if Telnet is enabled).  

    2. The configuration will be copied in <Simulator_Home>/devices/db/device name/ directory. The main file will be in the name ./snmp/<device name>_main.xml.

    4. The device database files will be created with the specified device name in <Simulator_Home>/mysql/data/devicedb directory.

 

Adding a Router, Switch, Printer, Firewall  Device

 

To add an router, switch, printer or firewall device, do the following :

  1. Right-click a group node and select Add Device. The DeviceAdditionWizard is displayed, wherein you have to specify the following details:

  2. Device name : You can provide any device name. The device name cannot have a space in between.

  3. Device Image : It is preferred that you choose a device image to differentiate between the devices in a network. A collection of images are available in <Simulator_Home>/devices/images directory. You can also provide your own image for the new device. Refer to Adding Device Images.

  4. Device Type : Select the device type as Router/Switch/Printer/Firewall from the list displayed.

  1. To enable TFTP Service, select TFTP and configure the TFTP parameters.

  2. Default root directory: The default TFTP root directory is ./networks/<networkname>/tftp/<templatedevicename> directory.

  3. Root directory : Configure the TFTP root directory as per your requirement.

  4. Upload script/Download script: You can configure Jython script files to be executed when a file is uploaded to the server or downloaded from the server. This facility can be used to inform the manager about a file transfer, by way of sending traps etc. To configure scripts, browse and select the script (.py file).

  1. Click Create to create and add the device in the device tree.

    Note:

     

    1. The router/switch device will support SNMP, CLI and TFTP (if TFTP service is enabled).  

    2. The Printer device will support SNMP, TFTP (if TFTP service is enabled) and Telnet (if Telnet is enabled).

    3. The configuration will be copied in <SimulatorHome>/devices/db/device name/ directory. The main file will be in the name ./snmp/<device name>_main.xml.

    4. The device database files will be created with the specified device name in <Simulator_Home>/mysql/data/devicedb directory.

 

Adding TL1 devices by specifying TCS / Configuration file

 

  1. Right-click a group node and select Add Device . The DeviceAdditionWizard is displayed, wherein you have to specify the following details:

  2. Device name : You can provide any device name.

  3. Device Image : It is preferred that you choose a device image to differentiate between the devices in a network. A collection of images are available in <Simulator_Home>/devices/images directory. You can also provide your own image for the new device. Refer to Adding Device Images.

  4. Device Type : Select the device type as TL1 Device from the list displayed.

  1. You can simulate the TL1 device by specifying the TCS file or the configuration file.

TCS File

Pre Configuration File

  1. To enable TFTP Service, select TFTP and configure the TFTP parameters.

  2. Default root directory: The default TFTP root directory is <SimulatorHome>/devices/db/<devicename>/<tftp>/ directory.

  3. Root directory : Configure the TFTP root directory as per your requirement.

  4. Upload script/Download script: You can configure Jython script files to be executed when a file is uploaded to the server or downloaded from the server. This facility can be used to inform the manager about a file transfer, by way of sending traps etc. To configure scripts, browse and select the script (.py file).

  1. Click Create to create and add the TL1 device in the device tree.

  2. Note:

     

    1. The TL1 device will support TL1 and TFPT (if TFTP service is enabled).

     

    2. The configuration main file will be created with the specified device name in <Simulator_Home>/devices/db/device name/ directory. The main file will be in the name  <device name>_main.xml for SNMP and <device name>.prp for TL1.

     

    3. The device database files will be created with the specified device name in <Simulator_Home>/mysql/data/devicedb directory.

     

Adding Device Images

 

The rules to add a new device image is give below :



Copyright © 1996-2006, AdventNet Inc. All Rights Reserved.