Hi,
I'm trying to come up with a way to generate a report showing all nodes, the interfaces on those nodes, and then the ip address assigned to that interface. All the information is in the database (the tables I'm looking at are Nodes, Interfaces and NodeIPAddresses) but I cant work out the relationship between NodeIPAddresses.IPAddessN and the interface.
Example
| Node Name | Interface | IP Address |
|---|
| Node1 | Interface1 | 1.1.1.1 |
| Node1 | Interface2 | 2.2.2.2 |
| Node1 | Interface3 | NULL |
| Node2 | Interface1 | 1.1.1.2 |
| Node2 | Interface2 | 2.2.2.3 |
| Node3 | etc | etc |
I'd probably add a few other fields from the nodes and interfaces tables (status for example) and add some groupings, however the above is the base building blocks I'm looking for.
Appreciate any advice.
Stuart