![]() ![]() ![]() |
TL1CraftInterface is a manager-side graphical interface tool that can be used to test the real-time TL1 agents or any TL1 simulated environments. This section explains the steps involved in testing the TL1 Agent and the functionality available in the graphical interface and the ways to interact with the TL1 agents.
The TL1CraftInterface tool can be used to query a TL1 device and get responses. You can also load any TL1 message definitions conforming to the GR-831 standards created using the TL1 Message Builder for faster access. This allows the user to view and operate on available data through a TL1 agent on a managed device, thereby managing the device.
Testing the Agent Using TL1CraftInterface
Follow the steps given below to test the TL1 Agent created as per the previous chapter. It is assumed that the simulated TL1 agent is created and running on port 9099.
Start the TL1 Craft Interface Application using the TL1CraftInterface.bat or TL1CraftInterface.sh file from the <Simulator_Home>/bin directory. It can also be started from the launcher.
Load the TCS file which is configured in the simulated agent using the File -> Load option in the menu bar.
Choose Session -> Open Session option in the Menu Bar.
Enter the Host Name and Port Number of the Agent in the dialog box that appears. Default values are "localhost" and "9099" respectively.
Click Open Session. Now you will be connected to the Agent.
Load the TCS for which the simulated agent was created. If security is enabled, load the tl1security.tcs to authenticate in to the TL1 agent.
Expand the tl1security.tcs tree and select ACT-USER command.
Authenticate into the TL1 Agent by sending the Input command "ACT-USER::root:1::public;" by choosing Session -> Send Message in the menu bar. Here root is the default Administrator and public is the default password.
The Agent will respond by sending the following Autonomous Message. This can be viewed in the Autonomous Message Block. This means that you have successfully authenticated into the TL1 Agent.
Autonomous Message Received From :localhost
<CR>
<LF><LF> latha 2003-08-11 12:22:25<CR>
<LF> ** 1 REPT EVT SESSION<CR>
<LF> "latha:NO"<CR>
<LF> /*NOTICE:This is a private computer system. <LF> Unauthorized access or
use may lead to prosecution*/<CR>
<LF>;
A Response Message will also be sent for the ACT-USER command. You can view the Response Message in the Response Message Block of the TL1CraftInterface.
After authenticating into the TL1 Agent, you can send messages. Expand the TCS tree of Acme-MSU.tcs. Choose the command code RD-MEM . Send the input message RTRV-EQPT:::1::; by choosing Session -> Send Message option in the menu bar .
Now, the Agent will send the following response message.
Message sent : RTRV-EQPT:::7:::;
AdvTL1Sim 2003-09-25 16:49:29
M 7 COMPLD
"CARD ID:1,WK:IS,IDLE"
This means that your simple TL1 Agent works!
Refer to the topic Using Test & Editor Tools -> TL1 Craft Interface, to learn more.
![]() ![]() ![]() |