The Configuration Management of the Network Elements is an integral part of the Element Management Application. In this section, you learn to build Configuration Application for configuring the Switch details using StudioTools > ClientBuilder > Configuration Wizard. The built Configuration Application is packaged as NAR (NMS ARchive) and imported into EMS project as a Client NAR. The imported NAR will be installed in Web NMS. The Installed Configuration Application is invoked from the Web NMS Client by invoking a menu on the Map node, where the Map nodes are representing the Switch Devices. The application invoked from a Map node is shown in the figure below.
Copy the following images from the Web NMS to <Client Builder Home>/images directory.
<Web NMS Home>/StudioTools/Studio/projects/EMS_Tutorial/resources/images
<Web NMS Home>/images
BRIDGE-MIB - It is used as Device Information for building Switch Configuration Application. Since you are building a Configuration Application for representing Map Nodes for Switch device, the BRIDGE-MIB is used as Device Information to build the Configuration Management Application.
RFC1213-MIB - The device details such as System Name, Description, Physical Location, User/Contact Name are configured or displayed in Switch Configuration Application using this MIB.
Getting Started With Development
Follow the steps given below to create a configuration project in AdventNet Client Builder - Configuration Wizard
Opening Configuration Wizard
To invoke Chassis Wizard from Web NMS Launcher, double-click Web NMS IDE icon in the Web NMS Launcher. From here, double-click the Configuration Wizard icon. Alternatively, you can use startConfigurationWizard.bat/.sh present in <Web NMS Home>/StudioTools/ClientBuilder/bin.
Creating the Project and Loading Device Information
Select File > New > Project to invoke the "Project Details" dialog to create a new configuration project.
Provide the "Project Name" field with the value "EMS_Configuration" if it does not exists.
Provide the "Package Name" field with the value "com.adventnet.nms.tutorials.ems".
Click OK button to create the project in the projects folder under the <Client Builder Home>. You can find the project named "EMS_Confiugration" in the project tree.
Load the BRIDGE-MIB under the <Client Builder Home>/mibs directory using the load XML/MIB button . Similarly load the RFC1213-MIB.
Invoke the "Screen Properties" dialog using Properties > Screen Properties. Change the "Title" value to "Screen Configuration" and click OK.
Configuring the Required Classes and JARs
Invoke the "Project Properties" dialog using Properties > Project Properties.
In the "General" tab, click the browse button against the "Project Parameters" field to invoke the "Project Parameters List". Add the entry "COMMUNITY=public;to the existing list and click OK button.
Switch to "Classpath Settings" tab and click the browse button against the "Classpath" field to invoke the "Classpath List" dialog. Add the <Web NMS Home> /classes directory using the "Browse" button. Click "OK" button to close the dialog. Similarly, add the <WebNMSHome>/StudioTools/Studio/projects/EMS_Tutorial/classes. Click OK to close the dialog.
Click the browse button against the "Required Jars" field to invoke the "Containing Jars List" dialog. Add the "NMSClientClasses.jar" available under <Web NMS Home>/classes directory using the "Browse" button.
Click OK to close the 'Project Properties" dialog.
Steps Involved in Building Project and Packaging the Application
The steps involved in building the Configuration Management Application, Packaging the Application as NAR and installing the NAR in Web NMS Client are given below
Designing Main Screen - Switch Configuration Screen
Designing Panels for Main Screen
Integrating Panels and Adding Actions for Buttons
Compiling and Packaging the Application