eNMS-automation / eNMS

An enterprise-grade vendor-agnostic network automation platform.
https://www.enms.io/
GNU General Public License v3.0
815 stars 162 forks source link

Support for YaQL query language in service fields for extraction and validation #143

Closed shorton3 closed 5 years ago

shorton3 commented 5 years ago

Would it be possible to support the YaQL query language in the form fields of services? This would allow extra freedom beyond regular expressions when extracting data from complex dictionaries and lists, as well as for performing validation without resorting to writing custom services.

shorton3 commented 5 years ago

As an additional part: then could YaQL be used to extract / identify targets for services from previous service results? The use case here would be: create a workflow with a first service instance that retrieves a device config section, then in a subsequent service instance use a YaQL query to extract route endpoints or other config artifacts as the targets for this subsequent service.

afourmy commented 5 years ago

Done.