Preset precondition based on regex

Dan Morphis dan at milkcarton.com
Thu May 14 03:24:15 EDT 2015


The expression I tried was: 172.16./^\\d+$/./^\\d+$/ or some variant thereof (don't have the gui in front of me.

Also, is there a way to display tags on the devices index page?

-dan

> On May 13, 2015, at 10:49 PM, Zaid Abdulla <zaid at genieacs.com> wrote:
> 
>> On Thu, May 14, 2015, at 01:50 AM, Dan Morphis wrote:
>> I would like to tag all CPE's that match a regex. Is that possible? my rudimentary testing doesn't produce any fruitful results.
> 
> You should be able to use a regex precondition by surrounding your
> regular expression with backslashes (e.g. "/.+/"). Then add a
> configuration to assign the tag you need. You could additionally have a
> default preset (with lower weight) to ensure the tag is removed in case
> the other preset no longer applies to a particular devices.
> 
> Zaid
> _______________________________________________
> Users mailing list
> Users at lists.genieacs.com
> http://lists.genieacs.com/mailman/listinfo/users


More information about the Users mailing list