Blacklist Parameters

Sergio Fernández sergio19932 at gmail.com
Thu Feb 16 17:32:53 EST 2017


Hi Hugo!

I've been investigating it for a bit, and it's interesting that your router
is behaving like that. I assume you're using v1.0 of GenieACS...
I don't know exactly why the way "sclark" said is not working. Here (
https://github.com/zaidka/genieacs/blob/v1.0/lib/tasks.coffee#L54 ) you
specify to declare the task refreshObject, and that is what is executing on
every refreshObject (
https://github.com/zaidka/genieacs/blob/v1.0/lib/tasks.coffee#L72 , lines
shown without being modified...)

Anyway, another option would be to delete it globally: Via this call (
https://github.com/zaidka/genieacs/blob/v1.0/lib/soap.coffee#L411 ) which
calls this method (
https://github.com/zaidka/genieacs/blob/v1.0/lib/soap.coffee#L134 ) then,
you could blacklist that ParameterPath which is causing the problem.

Regards

Sergio Fernández Rubio - https://www.linkedin.com/in/sergiofdz/
(+34) 687 016 994
sergio19932 at gmail.com

2017-02-16 12:32 GMT+01:00 Hugo Correia <hugo at koizo.net>:

> Hello Clark
>
> I’ve tested, but the task RefreshObject does not pass in that lines of
> code.
> Only passes if i am requesting a parameter that is already saved in the
> database.
>
> Best Regards
>
>
> > On 16 Feb 2017, at 04:10, sclark at tpg.com.au wrote:
> >
> > Hi Hugo,  see if this info helps you:
> >
> > https://www.mail-archive.com/users@lists.genieacs.com/msg00708.html
> >
> >
> >
> > On 16/02/17 11:34, Hugo Correia wrote:
> >> Hello All
> >>
> >> Is there any way to blacklist parameters from the Bootstrap when a
> device first appear?
> >
> >
> >
> >
> > _______________________________________________
> > 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/20170216/ad5d072c/attachment.html>


More information about the Users mailing list