SmartOLT icon

SmartOLT

Consume SmartOLT API (v0.2.17)

Overview

This node interacts with the SmartOLT API to set the WAN mode of an ONU (Optical Network Unit) to DHCP using the ONU's unique external ID. It is useful in network management scenarios where automated configuration of ONU WAN settings is required, such as in ISP environments managing multiple ONUs remotely. For example, it can be used to switch an ONU's WAN mode to DHCP dynamically based on network policies or troubleshooting needs.

Use Case Examples

  1. Automatically configure the WAN mode of an ONU to DHCP after provisioning.
  2. Change the WAN mode to DHCP for an ONU identified by its unique external ID during network maintenance.

Properties

Name Meaning
ONU External ID The unique external identifier of the ONU for which the WAN mode will be set to DHCP.
Additional Fields Optional parameters to customize the WAN mode configuration, including configuration method, IP protocol, IPv6 address mode, IPv6 address, IPv6 gateway, DHCPv6 prefix delegation mode, and IPv6 prefix address.

Output

JSON

  • success - Indicates whether the WAN mode was successfully set to DHCP.
  • message - Additional information or status message from the API response.

Dependencies

  • SmartOLT API

Troubleshooting

  • Ensure the ONU External ID is correct and exists in the SmartOLT system to avoid 'not found' errors.
  • Verify that the API credentials are valid and have sufficient permissions to perform WAN mode changes.
  • Check network connectivity to the SmartOLT API endpoint to prevent request failures.
  • If the operation fails, review the error message returned by the API for specific issues such as invalid parameters or unsupported configuration methods.

Links

Discussion