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

Reference Assets in Maps #109

Closed
ColonelPanics opened this issue Mar 25, 2019 · 0 comments
Closed

Reference Assets in Maps #109

ColonelPanics opened this issue Mar 25, 2019 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@ColonelPanics
Copy link
Member

ColonelPanics commented Mar 25, 2019

Support a flag or something in maps to relate asset names. Should be okay just using asset names as it's unique.

This will allow for querying of maps for assets and returns said asset ("show me what's map item 3 of switch1")

show assets mgtsw3 map=3
=> node526, node527, node528, node529

There may be multiple nodes in a map so it needs to be smart enough to handle single or multiple entries.

The idea behind this is that we can retrieve information for the related assets. For example, if the map for mgtsw3 has the following line:

4: node123

And the map was to be checked with

show assets mgtsw3 map=4

I'd like to get the asset information for node123 as the output.

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