DCB: Allow TFTP Port to be Parameterized in Script

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.

Acceptance / Success Criteria

None

Lucidchart Diagrams

Activity

Show:

Chandra Gorantla May 27, 2022 at 9:14 PM

Chandra Gorantla May 27, 2022 at 7:13 PM

Good news: we already parameterize port as tftpServerPort, just need to update docs and scripts.

Fixed

Details

Assignee

Reporter

Labels

Story Points

Sprint

Fix versions

Priority

PagerDuty

Created May 16, 2022 at 5:06 PM
Updated May 31, 2022 at 10:03 PM
Resolved May 31, 2022 at 9:56 PM