-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incomplete/wrong breakdown? #112
Comments
Well, if the two ports of the connection request belong to the same domain, the breakdown will only involve the one domain. |
Well, I think that is the case, but also want to be certain. :-) Let us have this resolved with some more tests. I will document the results here, and probably follow up with some more unit tests. |
Trying to summarize my understanding of the problem again: when testing sdx-controller, @congwang09 and I found that the breakdown does not look quite right. We should have a map of per-domain breakdowns, but we do not have it. My guess is that Consequently, |
Perhaps I am wrong here. |
In any case that |
The key in te.topology_list is topology.id, so make sure it's correct. te.get_domain_name(node) only checks on if it contains the particular node and returns topology.id if so. |
In the tests I did (#113) with the three topologies we use, I think stronger validation wherever possible (eventually - perhaps using pydantic or similar) would be a good idea. |
Closed in #113. |
Given a merged "super topology" that has three domains (amlight, sax, zaoxi) in sdx-controller, and a connection request, the connection solution should be broken down to three domains. But instead we end up with something like this:
Seems that the method that finds a domain of a node is wrong.
The text was updated successfully, but these errors were encountered: