-
Notifications
You must be signed in to change notification settings - Fork 9
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
26 custom router info #39
Conversation
@ChristianTremblay This branch changes the routing path and status methods to async functions. There should not be any changes to normal library user applications unless they have provided their own cache implementation. There is a sample application that goes along with this that uses Redis as a secondary cache. Please review this branch. |
2024-03-24 15:25:30,434 - INFO | Found those networks : {1, 2, 303, 304, 10001, 211}
2024-03-24 15:25:30,436 - INFO | Discovering network 304
2024-03-24 15:25:33,430 - INFO | Discovering network 1
2024-03-24 15:25:36,440 - INFO | Discovering network 2
2024-03-24 15:25:39,437 - INFO | Discovering network 10001
2024-03-24 15:25:42,431 - INFO | Discovering network 211
2024-03-24 15:25:45,441 - INFO | Discovering network 303
2024-03-24 15:25:48,429 - INFO | Discovery done. Found 13 devices on 6 BACnet networks.
path_info = {
(1, 304) : (<IPv4Address 192.168.211.4>, 0)
(1, 211) : (<IPv4Address 192.168.211.4>, 0)
(1, 10001) : (<IPv4Address 192.168.211.30>, 0)
(1, 303) : (<IPv4Address 192.168.211.30>, 0)
(1, 2) : (<IPv4Address 192.168.210.253>, 0)
}
router_dnets = {
(1, <IPv4Address 192.168.211.4>) : {304, 211}
(1, <IPv4Address 192.168.211.30>) : {10001, 303}
(1, <IPv4Address 192.168.210.253>) : {2}
} This made me change the function I had that now gives :
I created an enum for RouterState... maybe it would be a good thing on your side for clarity as the meaning of status is hidden as constant in the netservice module |
There is already a I also don't have a slot for |
I'm postponing |
No description provided.