-
Notifications
You must be signed in to change notification settings - Fork 91
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
complex capture filters #1256
Comments
@alexminder is this issue for the k-nmstate "capture" feature or to compose a proper jq expression ? |
@qinqon the issue for k-nmstate "capture" feature. |
@alexminder can you open an issue at github.com/nmstate/nmstate, we have move the captures "engine" there and we will integrate k-nmstate to what is there. |
@alexminder we are integrating nmstate policy engine into kubernetes-nmstate instead of the first golang implementation, this one supports strings, numbers and booleans for matching. About multi match of field value we are thinking on implementing something like |
@qinqon , Great! It should be enough. |
@alexminder so this one will allow strings, numbers and bools -> #1277 A follow up at nmstate will add complex matching expressions. |
What happened:
How to use complex capture selects based on multiple conditions?
It would be great to see documetation with good portion of such examples.
What you expected to happen:
Currently I don't know how to do such selects in a NNCP.
This select does no allow to use integer in NNCP capture, because expected string, but nns returns float64:
The text was updated successfully, but these errors were encountered: