Create objects using provisions
Dan Morphis
dan at milkcarton.com
Thu Jun 8 08:32:58 EDT 2017
declare( "InternetGatewayDevice.Services.VoiceService.*.VoiceProfile.*.Line.[SourceIPAddress:192.168.1.0,SourceNetMask:255.255.255.0]", {path: now}, {path: 1});
The part in the brackets are the differentiators. I might not have the exact syntax correct, I'm on my mobile.
-dan
> On Jun 8, 2017, at 1:14 AM, Marco Marino <marino.mrc at gmail.com> wrote:
>
> Hi, I'm trying to create objects through the tr069 server.
> I created a provision like this:
> declare(
> "InternetGatewayDevice.Services.VoiceService.1.VoiceProfile.*",
> null, {path: 1});
>
> And it creates the VoiceProfile.1 without problems.
>
> Now I need to create
> InternetGatewayDevice.Services.VoiceService.1.VoiceProfile.1.Line.1
> and
> InternetGatewayDevice.Services.VoiceService.1.VoiceProfile.1.Line.2
>
> Should I use a new declare in the same provision script? Should I use a declare like:
>
> declare(
> "InternetGatewayDevice.Services.VoiceService.1.VoiceProfile.1.Line.*",
> null, {path: 2}); <----is this correct????
>
>
> Thank you
> _______________________________________________
> 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/20170608/a4646bc7/attachment.html>
More information about the Users
mailing list