kytos-ng / of_multi_table

This NApp allows the application of a pipeline represented as a multi table system on each switch.
MIT License
0 stars 0 forks source link

fix: parametrized buffers.app.put timeout during setup() #32

Closed viniarck closed 7 months ago

viniarck commented 10 months ago

Closes #31

I'll leave this PR as a draft in the meantime until https://github.com/kytos-ng/kytos/issues/423 lands

Local tests

2023-11-01 11:37:40,332 - INFO [uvicorn.access] [httptools_impl.py:506:send] (MainThread) 127.0.0.1:37566 - "POST /api/kytos/of_multi_table/v1/pipeline HTTP/1.1" 201
2023-11-01 11:37:52,501 - INFO [uvicorn.access] [httptools_impl.py:506:send] (MainThread) 127.0.0.1:40320 - "GET /api/kytos/of_multi_table/v1/pipeline HTTP/1.1" 200
2023-11-01 11:38:15,047 - INFO [uvicorn.access] [httptools_impl.py:506:send] (MainThread) 127.0.0.1:45524 - "POST /api/kytos/of_multi_table/v1/pipeline/e990d3ee8b404d29b8c9fc6fca74112c/e
nable HTTP/1.1" 200
2023-11-01 11:38:15,063 - INFO [uvicorn.access] [httptools_impl.py:506:send] (MainThread) 127.0.0.1:45534 - "GET /api/kytos/flow_manager/v2/stored_flows?state=installed HTTP/1.1" 200
2023-11-01 11:38:15,064 - INFO [kytos.napps.kytos/of_multi_table] [main.py:207:get_flows_to_be_installed] (thread_pool_app_7) of_multi_table pushing flows, pipeline: {'_id': 'e990d3ee8b4
04d29b8c9fc6fca74112c', 'id': 'e990d3ee8b404d29b8c9fc6fca74112c', 'inserted_at': datetime.datetime(2023, 11, 1, 14, 37, 40, 316000), 'updated_at': datetime.datetime(2023, 11, 1, 14, 38, 
15, 40000), 'multi_table': [{'table_id': 0, 'table_miss_flow': {'priority': 0, 'instructions': [{'instruction_type': 'goto_table', 'table_id': 1}], 'match': {}}, 'description': 'table_ze
ro', 'napps_table_groups': {'coloring': ['base'], 'of_lldp': ['base']}}, {'table_id': 1, 'description': 'table_one', 'napps_table_groups': {'mef_eline': ['epl', 'evpl']}}], 'status': 'enabling'}