Create a v-param called 'pppoeUsername' with this script: let username = 'UNKNOWN'; let igd = declare("InternetGatewayDevice.WANDevice.*.WANConnectionDevice.*.WANPPPConnection.*.Username", {value: 1});
if (igd.size) { for (let p of igd) { if (p.value[0]) { username = p.value[0]; break; } } } return {writable: false, value: [username, "xsd:string"]}; Finally, in what ever script you use to set the PPPoE Username field, add this: declare("VirtualParameters.pppoeUsername", {value: Date.now()}); //Force the pppoeUsername vparam to update -dan
_______________________________________________ Users mailing list Users@lists.genieacs.com http://lists.genieacs.com/mailman/listinfo/users