Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-14301

DCB: Allow TFTP Port to be Parameterized in Script

    XMLWordPrintable

Details

    • Story
    • Status: Resolved (View Workflow)
    • Minor
    • Resolution: Fixed
    • None
    • 30.0.0
    • None
    • Security Level: Default (Default Security Scheme)

    Description

      Currently, the TFTP server used in Device Config Backup to retrieve configuration files from devices has its port number set to 6969 or similar (tftp 'blueprint.xml' configuration).

      The SSH script files executed on the client device assume the default TFTP port (69). Since OpenNMS runs under non-elevated privileges, the OpenNMS server machine needs to configure port forwarding to forward from 69 (assumed by client) to 6969.

      The port number in the scripts could be parameterized to include a port number, so the TFTP client directly connects to 6969 without the need for port forwarding. 'tftpServerIp' is already parameterized in SshScriptingServiceImpl, can add 'tftpServerPort' as well, then add this parameter to scripts as needed.

      Attachments

        Activity

          People

            cgorantla Chandra Gorantla
            stheleman Scott Theleman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: