Hi,
I am trying to set a table to list all wan IP Connections in a table but it does show any table.
- label: "'WAN'"
parameter: InternetGatewayDevice.WANDevice.1.WANConnectionDevice.*.WANIPConnection
type: "'parameter-table'"
childParameters:
- label: "'Name'"
parameter: Name
- label: "'DefaultGateway'"
parameter: DefaultGateway
But it works when I change the parameter to specify the number so instead of *.WANIPConnection
if I say 1.WANIPConnection
it works. But I need to find all WANIPConnections regardless of numbering.
Wild cards aren’t supported there. Use a virtual parameter.
@akcoder I read somewhere that virtual parameters do not support array. How can display two tables, one for IPoE and another for PPPoE. The path changes when device is rebooted, so WANConnectionDevice.1.WANIPConnection
becomes WANConnectionDevice.2.WANIPConnection
and the numbering is not constant across the device.
Why is your instance id changing across reboots? That shouldn’t happen. Are you removing and adding an interface on reboot?
You should contact your vendor. I’ve never had the instance ID change for anything across reboots. Especially not for PPP or IP.