Dynamic Queue Graph Rule

I would like to have an meathod to automatically create a graph queue rule to allow to a dynamic simple queue graph (i.e. pppoe user queue configured through radius) from the IP address of the user connecting.

so if customer A logs onto the network using pppoe, a dynamic simple queue is created based off the radius attributes passed to the pppoe server and the user is assigned an IP of 1.2.3.4/32, then somehow add a graph rule to allow access to the simple queue graph from 1.2.3.4/32 when the user disconnects, remove the dynamically created queue rule in case the next time the user logs on he/she receives a new IP address, as we don’t want to have erroneous queue rules sitting there.

I have a large medical facility that is requesting this for some of their smaller offices who are on dynamic IPs, and I would really like to have the feature available to all of my customers as well.

I suspect there should be a way to accomplish this, but I have done many hours of research and not (yet) found a method that will work.

(I also sent this as a feature request to mt, asking for this to be automatically created by an extra field in the rate-limit attribute, since it is where the queue is created from anyway, but I can’t exactly wait for that to be added)

any help would be appreciated.

Thanks.