netenglabs / suzieq

Using network observability to operate and design healthier networks
https://www.stardustsystems.net/
Apache License 2.0
791 stars 105 forks source link

User Data Tab Completion #362

Open holmanb opened 3 years ago

holmanb commented 3 years ago

Is your feature request related to a problem? Please describe.

Requesting the addition of tab completion to user filter values in the cli? For example to do a search on a mac address, one could:

root > address show address="52:54:00:5d:da:ac"

or to do a substring search use query_str:

root> address show query-str='macaddr.str.contains("52:54:00:5d")'

Describe the solution you'd like

It would be really nice if one could use tab completion with the mac addresses themselves (in the address filter specifically, not query-str). Similarly completion for other user data (hostnames, namespaces, vrfs, routes, etc) would be nice.

ddutt commented 3 years ago

Blocked for the moment by the underlying framework limitation: https://github.com/facebookincubator/python-nubia/issues/14. Need to figure out more nuanced response.

holmanb commented 3 years ago

Thanks for the update.