Preset precondition based on regex

Dan Morphis dan at milkcarton.com
Thu May 14 12:07:55 EDT 2015


Just so the knowledge is out there, the solution was to wrap my entire
precondition value with /. Example: /172\.17\.\d+\.\d+/.

And you are correct, it shows a the raw JSON string, ["SmartRG", "Foo"]

-dan

On Thu, May 14, 2015 at 1:32 AM, Zaid Abdulla <zaid at genieacs.com> wrote:

> On Thu, May 14, 2015, at 10:24 AM, Dan Morphis wrote:
> > Also, is there a way to display tags on the devices index page?
>
> You could add "_tags" param to index_parameters.yml but I think it'll
> show as JSON string rather than a comma separated list of tags.
>
> Zaid
> _______________________________________________
> 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/20150514/6b2e33a1/attachment.html>


More information about the Users mailing list