Skip to content
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

Support for contains (~=) expression #92

Open
wildmeng opened this issue Jun 28, 2023 · 2 comments
Open

Support for contains (~=) expression #92

wildmeng opened this issue Jun 28, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@wildmeng
Copy link

Hi, just wonder if the contains (~=) expression will be supported , or is it already supported in the latest release?

examples from the usp spec:
All Parameters of all PCP servers with IPv6Firewall capabilities:
Device.PCP.Client.*.Server.[Capabilities~="IPv6Firewall"].

All Parameters of all PeriodicStatistics SampleSets that collected data for 5 seconds:
Device.PeriodicStatistics.SampleSet.[SampleSeconds~=5].

@holme-r
Copy link
Contributor

holme-r commented Jun 30, 2023

We have noted this request, but there isn't any definitive timeline for when this would be available. Perhaps you would like to contribute this feature ?
I don't think it would be too hard to add. It would need adding to expr_vector.c in the enumeration and a few other places in that file. Likewise the DM_ACCESS_CompareXXX set of functions would need it adding for some of the types.

@wildmeng
Copy link
Author

wildmeng commented Jul 9, 2023

Ok, I will have a look at this,
thanks!

@holme-r holme-r added the enhancement New feature or request label Mar 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants