Direct node seach for spectrum Analyzer on PT 4.2

Document created by viavisupport on Jan 17, 2017
Version 1Show Document
  • View in full screen mode
This note explains how to create a valid URL for PT4.2 to open SA on any node just using the name instead the Uid.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

Overview

This note explains how to create a valid URL for PT4.2 to open SA on any node just using the name instead the Uid. By default, PT uses this URL schema:
http://Server-IP/ActernaDCS/ptwcQueryDirect.direct?action=PortSelected&portUid= PORT-UidNumber  This is not intuitive for the user who wants to open an spectrum just writing an URL on the browser.

Solution Steps

If you want to use a direct link for spectrum analyzer by name instead Uid use this URL user friendly format:  http://Customer-public-ip/pathtrak/direct/sa?node=XXXXXX

Additional Information

Let’s check it with an example for RPM 1 Port 1 - Node KLS104 node at HCU 200 on a real environnment Url to write on the browser:
http://62.8.88.185/pathrak/direct/sa?node=RPM 1Port 1 - KLS104 As far as the URL has spaces on the name (and that is something not allowed), browser will fill automatically the spaces with the % character http://62.8.88.185/pathrak/direct/sa?node=RPM%1Port%1%-%KLS104   This URL will be translated to the PT form with Uid: http://62.8.88.185/ActernaDCS/ptwcQueryDirect.direct?action=PortSelected&PortUid=5 And you’ll get the correct spectrum Spectrum

Attachments

    Outcomes