OR expression in index_parameters.yml

Dan Morphis dan at milkcarton.com
Mon Nov 19 17:58:57 EST 2018


You could use virtual parameters
<https://github.com/genieacs/genieacs/wiki/Virtual-Parameters> to abstract
that mess, then reference that v-param in your yaml file. That would be the
easiest option.

-dan


On Mon, Nov 19, 2018 at 5:04 AM Sergio Fernández <sergio19932 at gmail.com>
wrote:

> Hi,
>
> I would like to know if there's something that can be done inside the YML
> files in the genieacs-gui project (like index_parameters.yml or
> summary_parameters.yml) to render, for example, the external ID of a CPE.
>
> The file, for example, says that
> *InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.1.ExternalIPAddress*
> is where the External IP must be, but I have 1 model of CPE that has it in
> *InternetGatewayDevice.DeviceInfo.MacAddress*
>
> I would like to select always the shorter version, and as a fallback, for
> retro-compatibility, to search the value inside the longer version.
>
> Thank you for your help!
>
> Sergio Fernández Rubio - https://www.linkedin.com/in/sergiofdz/
> _______________________________________________
> 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/20181119/5f04ee2c/attachment.html>


More information about the Users mailing list