Does genie support aliases for objects?

Dan Morphis dan at milkcarton.com
Tue Jun 27 15:18:04 EDT 2017


Try something like this:

let foo = declare("Device.DHCPv4.Server.Pool.[Alias:test123].StaticAddress",
{path: Date.now()});

if (foo.size) {
  let static = foo.value[0];
}


On Tue, Jun 27, 2017 at 1:31 AM, pmjawor <pmjawor at gmail.com> wrote:

> Hello,
>
> I have a question related "alias based addressing" from TR069 spec.
>
> So for example I would like to get following object:
> Device.DHCPv4.Server.Pool.1.StaticAddress
> but instead of "1" I would like to use alias definied in
> Device.DHCPv4.Server.Pool.1.Alias._value, here it is "test123". So I
> would like to make query using following path:
> Device.DHCPv4.Server.Pool.[test123].StaticAddress
>
> Second problem is that in genie web UI on device list I only see date of
> last refresh, see attachment. There is no MAC (it is set for all devices)
> and other data on that list.
>
> Best regards,
> Peter Jaworski
>
> _______________________________________________
> 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/20170627/d9c98b03/attachment.html>


More information about the Users mailing list