Populate Virtual Parameters When New Devices Register

Dan Morphis dan at milkcarton.com
Fri Mar 10 15:03:35 EST 2017


Use the example on the virtual parameters wiki page. https://github.com/zaidka/genieacs/wiki/Virtual-Parameters


-dan

> On Mar 10, 2017, at 10:58 AM, Scott Miller <cubicalmonkey at gmail.com> wrote:
> 
> Well for now I just want to populate a virtual parameter when a new device shows up.   VirtualParameters._mac  = InternetGatewayDevice.WANDevice.*.WANConnectionDevice.*.WANIPConnection.*.MACAddress
> 
> 
> 
> 
> 
>> On Fri, Mar 10, 2017 at 2:33 PM, Michael Ducharme <mducharme at gmail.com> wrote:
>> What are you looking to do, exactly?
>> 
>> > On Mar 10, 2017, at 11:21 AM, Scott Miller <cubicalmonkey at gmail.com> wrote:
>> >
>> > Using V1.1 I’d like to make a preset to populate some virtual parameters as new devices register.
>> > My virtual parameters script works and I was able to execute that via Preset using the -0 BOOT and -1 BOOT events.
>> > Those events were obvious to find based on the examples in the mailing list and the e.g. text in the form fields and CWMP logs.
>> >
>> > Anyone have any examples they could share?
>> > Or other suggestions, perhaps a preset is not the correct path for what I'm looking to do.
>> >
>> > _______________________________________________
>> > Users mailing list
>> > Users at lists.genieacs.com
>> > http://lists.genieacs.com/mailman/listinfo/users
>> _______________________________________________
>> Users mailing list
>> Users at lists.genieacs.com
>> http://lists.genieacs.com/mailman/listinfo/users
> 
> _______________________________________________
> Users mailing list
> Users at lists.genieacs.com
> http://lists.genieacs.com/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.genieacs.com/pipermail/users/attachments/20170310/9ccaff08/attachment-0001.html>


More information about the Users mailing list