Create a VirtualParameter in an Extension script?

Sergio Fernández sergio19932 at gmail.com
Fri Oct 6 07:08:41 EDT 2017


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
CEO @ ACSdesk
https://acsdesk.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.genieacs.com/pipermail/users/attachments/20171006/ac2fbace/attachment.html>


More information about the Users mailing list