-
While trying to clarify a situation at hand with one server that has multiple IP addresses assigned to it, I came across behavior that looks very strange to me. And I could not find a solution so I have to ask if a) this behavior is as intended and b) if someone has any suggestions how to make a search that I need. Amongst other servers I have 2 machines, say So the natural way would seem to be to browse to Let's try that again, maybe a Filter will work and I will get all the IP addresses. In all the years with NB I've never used it before. So it would seem that there is no way to display all IP addresses from hosts matching a query? Wouldn't this be a major missing feature? I have not looked at GraphQL, maybe that could work better? But it also looks like quite a heavy solution, I will learn it if necessary and it could accomplish "proper" searches. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
And it gets even more strange. Say I have about 20 different hosts, let's call them Doing a Quick Search for The Filter function gives exactly the same results. If I use the search box at the top of each page, type in
|
Beta Was this translation helpful? Give feedback.
-
This is only a guess, but have you put the hostname in the description or DNS name fields of one of the IP addresses? That's what the IP address quick search filters on. In the GUI filters, currently you can only search on "Assigned to an interface (yes/no)". However, the API already does let you filter on device or virtual machine. Therefore, I think it would be a simple extension to make this available in the GUI, and you could raise this as a feature request. In the mean time, you can construct this URL manually in the GUI: |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
This is only a guess, but have you put the hostname in the description or DNS name fields of one of the IP addresses? That's what the IP address quick search filters on.
In the GUI filters, currently you can only search on "Assigned to an interface (yes/no)". However, the API already does let you filter on device or virtual machine. Therefore, I think it would be a simple extension to make this available in the GUI, and you could raise this as a feature request.
In the mean time, you can construct this URL manually in the GUI:
/ipam/ip-addresses/?device_id=1
(replacing "1" with the relevant device ID). It works for me, in Netbox 3.1.6.