Table Of Contents
Examples
Basic Soft Property Example
Soft Property Example Including TCA Alarm
Soft Property Table Example
Examples
This chapter provides several examples of creating a soft property from start to finish, including defining the TCA alarms and defining a soft property table:
•
Basic Soft Property Example—Describes how to create a simple soft property from beginning to end, including publishing the soft property to another node in the hierarchy.
•
Soft Property Example Including TCA Alarm—Describes how to define a TCA alarm for a soft property.
•
Soft Property Table Example—Describes how to define a soft property table.
Basic Soft Property Example
This section describes how to create a simple soft property from beginning to end.
To create a soft property (excl. TCA alarm):
Step 1
Right-click on a managed element in the tree pane or workspace of the NetworkVision window.
or
Open the Inventory window for the required managed element and right-click on the required object in the network element, for example, port or card.
Step 2
Select Management | Soft Properties Management from the shortcut menu. The Soft Properties Manager window is displayed.
Step 3
Select the required property from the dropdown list in the properties panel.
Step 4
Click New Element on the toolbar of the Soft Properties Manager dialog box.
or
Select New Element from the File menu.
The Add Soft Property dialog box is displayed.
Step 5
Define the soft property information in the General tab as follows:
•
Name—sp01
•
Label—My Soft Property
•
Description—Example of soft property
•
Type—Property
•
Polling Rate—Status
•
Enabled—Selected
Step 6
Select the Parsing tab. The Parsing tab is displayed.
Step 7
Define the information in the Parsing tab as follows:
•
Select Use Telnet/SSH
•
In the text box enter show ip vrf example
Step 8
Click Add. The Add/Edit Parsing Rule dialog box is displayed.
Figure 3-1 Add/Edit Parsing Rule Dialog Box
Step 9
Define the information in the Add/Edit Parsing Rule dialog box as follows:
•
Operator—Match
•
Expression—\d\d
•
Source text box—Enter the information as shown in the example.
Step 10
Click Test Expression. The result 55 is displayed in the Result text box.
Step 11
Click OK. The Parsing tab of the Add Soft Property dialog box is displayed.
Figure 3-2 Add Soft Property Dialog Box
Step 12
Click Add. The Add/Edit Parsing Rule dialog box is displayed.
Figure 3-3 Add/Edit Parsing Rule Dialog Box
Step 13
Define the information in the Add/Edit Parsing Rule dialog box as follows:
•
Operator—Substring
•
From Index—1
•
To Index—1
•
Source text box—55
Step 14
Click Test Expression. The result 5 is displayed in the Result text box.
Step 15
Click OK. The Parsing tab of the Add Soft Property dialog box is displayed.
Figure 3-4 Parsing Tab
Step 16
Click Test. The Test Parsing Rules dialog box is displayed enabling you to test all the defined parsing rules in the order given.
Figure 3-5 Test Parsing Rules Dialog Box
Step 17
Click Test. The result of the test is displayed in the Output Buffer area.
Step 18
Click Close. The Add Soft Property dialog box is displayed.
Step 19
Click Debug. The Debug Soft Property dialog box is displayed.
Figure 3-6 Debug Soft Property Dialog Box
•
After the Status is returned as valid, check the required input parameters returned the correct values, such as— Telnet Commands=[show ip vrf example]
Step 20
Click Close. The Add Soft Property dialog box is displayed.
(To add a TCA Alarm, go to Step 2 in Soft Property Example Including TCA Alarm).
Step 21
Click OK. The Soft Properties Manager window is displayed.
Figure 3-7 Soft Properties Manager Window
Step 22
Click Close. The NetworkVision window or Inventory window is displayed depending on your original selection.
Step 23
In order to view the newly created soft property, click in the right top corner to close the Inventory window and then open the Inventory window again.
or
Move up and down a branch in the tree pane of the Inventory window.
The Inventory window for the required managed element is displayed with the newly defined soft property.
Figure 3-8 Inventory Window
Step 24
Right-click on the required managed element in the tree pane or workspace of the NetworkVision window.
or
Right-click on the required object of the network element in the Inventory window.
Step 25
Select Management | Soft Properties Management from the shortcut menu. The Soft Properties Manager window is displayed.
Step 26
Select the required properties panel and soft property in the element properties table.
Step 27
Click Hierarchy Manager on the toolbar of the Soft Properties Manager dialog box.
or
Select Hierarchy Manager from the Tools menu or shortcut menu.
The Hierarchy Manager window is displayed.
Step 28
Select the required node in the hierarchy from which you want to publish the soft property.
Step 29
Click Copy or Cut on the toolbar to copy or cut the soft property.
Step 30
Select the required node in the hierarchy where you want to publish the soft property.
Step 31
Click Paste on the toolbar to paste the soft property. The soft property is published to the selected node in the hierarchy.
Step 32
Click Close. The Soft Properties Manager window is displayed.
For more information about defining a soft property with a TCA alarm see Soft Property Example Including TCA Alarm.
Soft Property Example Including TCA Alarm
This section describes how to define a TCA alarm for a soft property.
To create a soft property including TCA alarm:
Step 1
Perform steps 1-20, as described in the Basic Soft Property Example.
Step 2
Select the TCA Alarms tab. The TCA Alarms tab is displayed.
Step 3
Click Add. The General tab of the Add TCA dialog box is displayed.
Step 4
Define the information in the TCA Alarms tab as follows:
•
Name—My value is not 5.
•
Enabled—Selected.
•
Description—Show this alarm if the value is not equal to 5.
•
Alarm Severity—CRITICAL.
Step 5
Select the Trigger tab in the Add TCA dialog box. The Trigger tab is displayed.
Step 6
Define the information in the Trigger tab as follows:
•
Trigger—Value Not Equal.
•
To value—5
Step 7
Click OK. The TCA Alarms tab is displayed with the defined TCA alarm.
Step 8
Click OK. The Soft Properties Manager window is displayed.
Step 9
Click Close. The NetworkVision window is displayed or Inventory window is displayed depending on your original selection.
Step 10
In order to view the newly created soft property, click in the right top corner to close the Inventory window and then open the Inventory window again.
or
Move up and down a branch in the tree pane of the Inventory window.
The Inventory window for the required managed element is displayed with the newly defined soft property.
The example below displays the Inventory window before the defined alarm has been triggered.
Figure 3-9 Inventory Window Before Alarm Triggered
The example below displays the Inventory window after the alarm has been triggered.
Figure 3-10 Inventory Window After Alarm Triggered
The example below displays the Inventory window after the alarm has been cleared.
Figure 3-11 Inventory Window After Alarm Cleared
Step 11
Perform steps 24-32, as described in Basic Soft Property Example.
For more information about defining a soft property table see Soft Property Table Example.
Soft Property Table Example
This section describes how to define a soft property table.
To create a soft property table:
Step 1
Perform steps 1-2, as described in the Soft Property Example Including TCA Alarm.
Step 2
Click New Element on the toolbar of the Soft Properties Manager window.
or
Select New Element from the File menu.
The Add Soft Property dialog box is displayed.
Step 3
Define the soft property information in the General tab as follows:
•
Name—sp02
•
Label—My Soft Table
•
Description—Example of a soft table
•
Type—Table
•
Polling Rate—Status
•
Enabled—Selected
Step 4
Select the Parsing tab. The Parsing tab is displayed.
Step 5
Define the information in the Parsing tab by entering .1.3.6.1.2.1.4.20.1 in the text box.
Step 6
Click Add. The Add Edit Column Controller dialog box is displayed.
Step 7
Define the information in the Add Edit Column Controller dialog box as follows:
•
Column Title—My First Column
•
Column Data—2
Step 8
Click OK. The Parsing tab of the Add Soft Property dialog box is displayed with the defined table information for column 1 of the table.
Step 9
Click Add. The Add Edit Column Controller dialog box is displayed.
Step 10
Define the information in the Add Edit Column Controller dialog box as follows:
•
Column Title—My Second Column
•
Column Data—3
Step 11
Click OK. The Parsing tab of the Add Soft Property dialog box is displayed with the defined table information for column 1 and 2 of the table.
Figure 3-12 Add Soft Property Dialog Box
Step 12
Click Debug. The Debug Soft Property dialog box is displayed.
Step 13
Click Close. The Add Soft Property dialog box is displayed.
Step 14
Click OK. The Soft Properties Manager window is displayed.
Step 15
Click Close. The NetworkVision window or Inventory window is displayed depending on your original selection.
Step 16
In order to view the newly created soft property, click in the top right corner to close the Inventory window and then open the Inventory window again.
or
Move up and down a branch in the tree pane of the Inventory window.
The Inventory window for the required managed element is displayed with the newly defined soft property table.
Figure 3-13 Inventory Window
Step 17
Perform steps 24-32, as described in the Basic Soft Property Example.