kytos-ng / kytos

Kytos SDN Platform. Kytos is designed to be easy to install, use, develop and share Network Apps (NApps).
https://kytos-ng.github.io/
MIT License
2 stars 7 forks source link

feat: included link.id on its `__repr__ ` #389

Closed viniarck closed 1 year ago

viniarck commented 1 year ago

Closes https://github.com/kytos-ng/topology/issues/120

Summary

See updated changelog file

Local Tests

2023-05-26 14:42:41,318 - INFO [kytos.napps.kytos/topology] [main.py:591:handle_link_liveness_status] (thread_pool_app_21) Link liveness up: Link(Interface('s3-eth2', 2, Switch('00:00:00:00:00:00:00:03')), Interface('s2-eth3', 3, Switch('00:00:00:00:00:00:00:02')), 4d42dc0852278accac7d9df15418f6d921db160b13d674029a87cef1b5f67f30)
2023-05-26 14:42:41,324 - INFO [kytos.napps.kytos/topology] [main.py:591:handle_link_liveness_status] (thread_pool_app_14) Link liveness up: Link(Interface('s3-eth3', 3, Switch('00:00:00:00:00:00:00:03')), Interface('s1-eth4', 4, Switch('00:00:00:00:00:00:00:01')), c8b55359990f89a5849813dc348d30e9e1f991bad1dcb7f82112bd35429d9b07)
2023-05-26 14:42:41,326 - INFO [kytos.napps.kytos/topology] [main.py:591:handle_link_liveness_status] (thread_pool_app_8) Link liveness up: Link(Interface('s1-eth3', 3, Switch('00:00:00:00:00:00:00:01')), Interface('s2-eth2', 2, Switch('00:00:00:00:00:00:00:02')), 78282c4d5b579265f04ebadc4405ca1b49628eb1d684bb45e5d0607fa8b713d0)

2023-05-26 14:42:51,143 - INFO [kytos.napps.kytos/mef_eline] [main.py:706:handle_link_down] (thread_pool_app_13) Event handle_link_down Link(Interface('s1-eth4', 4, Switch('00:00:00:00:00:00:00:01')), Interface('s3-eth3', 3, Switch('00:00:00:00:00:00:00:03')), c8b55359990f89a5849813dc348d30e9e1f991bad1dcb7f82112bd35429d9b07)
2023-05-26 14:42:52,355 - INFO [kytos.napps.kytos/of_core] [main.py:705:update_port_status] (MainThread) PortStatus modified interface 00:00:00:00:00:00:00:01:4 state OFPPS_LIVE
2023-05-26 14:42:52,356 - INFO [kytos.napps.kytos/of_core] [main.py:705:update_port_status] (MainThread) PortStatus modified interface 00:00:00:00:00:00:00:03:3 state OFPPS_LIVE
2023-05-26 14:42:54,387 - INFO [kytos.napps.kytos/mef_eline] [main.py:692:handle_link_up] (thread_pool_app_8) Event handle_link_up Link(Interface('s1-eth4', 4, Switch('00:00:00:00:00:00:00:01')), Interface('s3-eth3', 3, Switch('00:00:00:00:00:00:00:03')), c8b55359990f89a5849813dc348d30e9e1f991bad1dcb7f82112bd35429d9b07)

End-to-End Tests

Not needed