Hi. I ma trying to create a program which would tell me the connection between some equipments in a network. For a example a connection between Switch1 and Switch10. I know that the path from Switch1 to Switch10 goes through some patches and other switches and these switches and patches have connections with some other switches and patches. I hope you get the idea. The connection between every to devices i define it manually. For example Switch1/port1 connects with Patch1/port1, Patch1/port2 connects with Switch2/port1. Having this information I want to determine the path between Switch1 and Switch10 for example. I know that I have to check all the connections for Switch1 with other switches and patches and then for those switches and patches the connections with other switches and patches and so on until one of them connects to Switch10 which is the destination. The idea is how to put this in a code because I have to create arrays of arrays of arrays. Also, every connection between to devices has a connection id, to identify it. At least this is how i see it. Any information and tips about how to do this would be helpful. Thank you.
Pages 1