I have 2 switches that are connected to eatch other. When I take down the link between them the topology updates witout the link between the swiches.
I want to find out how Opendaylight keep track of this inside the code. I have found a way to se if a host is down inside ODL with a function inside the: org.opendaylight.controller.hosttracker package
But then again I want to se if a port is up or down within the code
I know how to get this information inside the Rest API: