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 <[email protected]> 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 > [email protected] > http://lists.genieacs.com/mailman/listinfo/users >
_______________________________________________ Users mailing list [email protected] http://lists.genieacs.com/mailman/listinfo/users
