Hi,
I have build a test showing that checks the creation of links when wired and wireless links are mixed. In this test, the topology has only two nodes: src and tgt.
- The first test creates a wireless link by moving
tgt into the communication range of src. Then a wired link is explicitly created between the nodes. Then tgt is moved away from src, out of the communication range.
- The second test creates links in the reverse order.
After each creation of a link I get the number of links using Topology.getLinks().
In the first case the sequence is : 1 2 2
In the second case the sequence is : 1 1 1
What is the expected behavior ?
Hi,
I have build a test showing that checks the creation of links when wired and wireless links are mixed. In this test, the topology has only two nodes: src and tgt.
tgtinto the communication range ofsrc. Then a wired link is explicitly created between the nodes. Thentgtis moved away fromsrc, out of the communication range.After each creation of a link I get the number of links using
Topology.getLinks().In the first case the sequence is : 1 2 2
In the second case the sequence is : 1 1 1
What is the expected behavior ?