kytos-ng / telemetry_int

Kytos Telemetry Napp
MIT License
0 stars 2 forks source link

chore: removed tmp link up sleep #75

Closed viniarck closed 9 months ago

viniarck commented 9 months ago

It depends on https://github.com/kytos-ng/of_lldp/pull/101 landing first

Summary

Local Tests

kytos $> 2023-12-12 16:12:21,787 - INFO [kytos.napps.kytos/of_core] [main.py:701:update_port_status] (MainThread) PortStatus modified interface 00:00:00:00:00:00:00:03:5 state OFPPS_LIV
E
2023-12-12 16:12:21,788 - INFO [kytos.napps.kytos/of_core] [main.py:701:update_port_status] (MainThread) PortStatus modified interface 00:00:00:00:00:00:00:03:6 state OFPPS_LIVE
2023-12-12 16:12:21,790 - INFO [kytos.napps.kytos/mef_eline] [main.py:782:handle_interface_link_up] (dynamic_single_0) Event handle_interface_link_up Interface('s3-eth5', 5, Switch('00:
00:00:00:00:00:00:03'))
2023-12-12 16:12:21,790 - INFO [kytos.napps.kytos/mef_eline] [main.py:782:handle_interface_link_up] (dynamic_single_0) Event handle_interface_link_up Interface('s3-eth6', 6, Switch('00:
00:00:00:00:00:00:03'))
2023-12-12 16:12:23,393 - INFO [kytos.napps.kytos/of_lldp] [loop_manager.py:172:set_loop_detected] (MainThread) setting looped start on Interface('s3-eth5', 5, Switch('00:00:00:00:00:00
:00:03'))
2023-12-12 16:12:24,802 - INFO [kytos.napps.kytos/mef_eline] [main.py:754:handle_link_up] (thread_pool_app_10) Event handle_link_up Link(Interface('s3-eth6', 6, Switch('00:00:00:00:00:0
0:00:03')), Interface('s3-eth5', 5, Switch('00:00:00:00:00:00:00:03')), c0fe8cb39c5d91a28891d8c81403391fda144e77ac812c22043ce3bb373f6cd2)
2023-12-12 16:12:24,813 - INFO [uvicorn.access] [httptools_impl.py:506:send] (MainThread) 127.0.0.1:43050 - "GET /api/kytos/topology/v3/links HTTP/1.1" 200
2023-12-12 16:12:24,816 - INFO [uvicorn.access] [httptools_impl.py:506:send] (MainThread) 127.0.0.1:43060 - "GET /api/kytos/mef_eline/v2/evc/?archived=false&metadata.telemetry.enabled=t
rue&metadata.telemetry.status=DOWN HTTP/1.1" 200
2023-12-12 16:12:27,663 - INFO [kytos.napps.kytos/of_core] [main.py:701:update_port_status] (MainThread) PortStatus modified interface 00:00:00:00:00:00:00:01:5 state OFPPS_LIVE
2023-12-12 16:12:27,663 - INFO [kytos.napps.kytos/of_core] [main.py:701:update_port_status] (MainThread) PortStatus modified interface 00:00:00:00:00:00:00:01:6 state OFPPS_LIVE
2023-12-12 16:12:27,665 - INFO [kytos.napps.kytos/mef_eline] [main.py:782:handle_interface_link_up] (dynamic_single_0) Event handle_interface_link_up Interface('s1-eth5', 5, Switch('00:
00:00:00:00:00:00:01'))
2023-12-12 16:12:27,665 - INFO [kytos.napps.kytos/mef_eline] [main.py:782:handle_interface_link_up] (dynamic_single_0) Event handle_interface_link_up Interface('s1-eth6', 6, Switch('00:
00:00:00:00:00:00:01'))
2023-12-12 16:12:29,413 - INFO [kytos.napps.kytos/of_lldp] [loop_manager.py:172:set_loop_detected] (MainThread) setting looped start on Interface('s1-eth5', 5, Switch('00:00:00:00:00:00
:00:01'))
2023-12-12 16:12:30,672 - INFO [kytos.napps.kytos/mef_eline] [main.py:754:handle_link_up] (thread_pool_app_0) Event handle_link_up Link(Interface('s1-eth5', 5, Switch('00:00:00:00:00:00
:00:01')), Interface('s1-eth6', 6, Switch('00:00:00:00:00:00:00:01')), 3bdc34e8e0ca38d7c24724d07c8282cc2c5f123cfed602f5b2eb3594c9606476)
2023-12-12 16:12:30,680 - INFO [uvicorn.access] [httptools_impl.py:506:send] (MainThread) 127.0.0.1:42740 - "GET /api/kytos/topology/v3/links HTTP/1.1" 200
2023-12-12 16:12:30,682 - INFO [uvicorn.access] [httptools_impl.py:506:send] (MainThread) 127.0.0.1:42744 - "GET /api/kytos/mef_eline/v2/evc/?archived=false&metadata.telemetry.enabled=t
rue&metadata.telemetry.status=DOWN HTTP/1.1" 200
2023-12-12 16:12:30,683 - INFO [kytos.napps.kytos/telemetry_int] [int.py:173:handle_pp_link_up] (MainThread) Handling link_up Link(Interface('s1-eth5', 5, Switch('00:00:00:00:00:00:00:0
1')), Interface('s1-eth6', 6, Switch('00:00:00:00:00:00:00:01')), 3bdc34e8e0ca38d7c24724d07c8282cc2c5f123cfed602f5b2eb3594c9606476), deploying INT flows, EVC ids: ['aebd54defd854b']
2023-12-12 16:12:30,692 - INFO [uvicorn.access] [httptools_impl.py:506:send] (MainThread) 127.0.0.1:42750 - "GET /api/kytos/flow_manager/v2/stored_flows?state=installed&state=pending HT
TP/1.1" 200
2023-12-12 16:12:30,706 - INFO [uvicorn.access] [httptools_impl.py:506:send] (MainThread) 127.0.0.1:42764 - "POST /api/kytos/mef_eline/v2/evc/metadata HTTP/1.1" 201

End-to-End Tests