V-Parameters don't search for devices. V-Parameters are for simplifying the exposure of parameters. Look at the Virtual Parameters <https://github.com/zaidka/genieacs/wiki/Virtual-Parameters> wiki for details on how to do fall back.
On Fri, Oct 6, 2017 at 3:08 AM, Sergio Fernández <[email protected]> wrote: > Hi there, > > I would need to call an extension script, in order to access an "Optical > ID" from a DB of the OLT. I would like to have a Virtual Parameter like > VirtualParameter.ID that contains that Optical ID, but if the Optical ID > cannot be found, then select a MAC or a Serial of the CPE, in order for the > field to not to be empty. > > How would you do that? Because I would do it all in the VirtualParameter > script, but how do I pass an argument with some identification from the ONT > I want to search? And if I do it inside an Extension script, there is no > option to declare() it. > > Thank you very much! > > Sergio Fernández Rubio - https://www.linkedin.com/in/sergiofdz/ > (+34) 687 016 994 <+34%20687%2001%2069%2094> > CEO @ ACSdesk > https://acsdesk.com > > _______________________________________________ > Users mailing list > [email protected] > http://lists.genieacs.com/mailman/listinfo/users > >
_______________________________________________ Users mailing list [email protected] http://lists.genieacs.com/mailman/listinfo/users
