ACS Configuration Static/PPPoE (IPV4/IPV6) for FTTH ONT

Hello, I have the following problem. I need to create a Static/PPPoE type WAN configuration
type IPV4 and IPV6, the problem is that I need to do it with dynamic data so each ONT has different data. Could someone please help me?

You will need to query a database with an external script.