Skip to content
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

chore: included id on map_evc_event_content to normalize the content #463

Merged
merged 2 commits into from
May 21, 2024

Conversation

viniarck
Copy link
Member

Closes #462

Summary

See updated changelog file

Local Tests

Exercised some of the events with telemetry_int:


kytos $> 2024-05-16 13:49:27,329 - INFO [kytos.napps.kytos/mef_eline] (AnyIO worker thread) Removing EVC(df66e1705b1849, epl)
2024-05-16 13:49:27,332 - INFO [kytos.napps.kytos/flow_manager] (AnyIO worker thread) Send FlowMod from request dpid: 00:00:00:00:00:00:00:03, command: delete, force: True,  flows[0, 1
]: [{'cookie': 12312673024692918345, 'cookie_mask': 18446744073709551615}]
2024-05-16 13:49:27,338 - INFO [uvicorn.access] (MainThread) 127.0.0.1:41726 - "POST /api/kytos/flow_manager/v2/delete/00%3A00%3A00%3A00%3A00%3A00%3A00%3A03 HTTP/1.1" 202
2024-05-16 13:49:27,344 - INFO [kytos.napps.kytos/flow_manager] (AnyIO worker thread) Send FlowMod from request dpid: 00:00:00:00:00:00:00:01, command: delete, force: True,  flows[0, 1
]: [{'cookie': 12312673024692918345, 'cookie_mask': 18446744073709551615}]
2024-05-16 13:49:27,349 - INFO [uvicorn.access] (MainThread) 127.0.0.1:41736 - "POST /api/kytos/flow_manager/v2/delete/00%3A00%3A00%3A00%3A00%3A00%3A00%3A01 HTTP/1.1" 202
2024-05-16 13:49:27,358 - INFO [kytos.napps.kytos/flow_manager] (AnyIO worker thread) Send FlowMod from request dpid: 00:00:00:00:00:00:00:02, command: delete, force: True,  flows[0, 1
]: [{'cookie': 12312673024692918345, 'cookie_mask': 18446744073709551615}]
2024-05-16 13:49:27,362 - INFO [uvicorn.access] (MainThread) 127.0.0.1:41744 - "POST /api/kytos/flow_manager/v2/delete/00%3A00%3A00%3A00%3A00%3A00%3A00%3A02 HTTP/1.1" 202
2024-05-16 13:49:27,366 - INFO [kytos.napps.kytos/mef_eline] (AnyIO worker thread) EVC removed. EVC(df66e1705b1849, epl)
2024-05-16 13:49:27,369 - INFO [uvicorn.access] (MainThread) 127.0.0.1:41710 - "DELETE /api/kytos/mef_eline/v2/evc/df66e1705b1849 HTTP/1.1" 200
2024-05-16 13:49:27,371 - INFO [kytos.napps.kytos/telemetry_int] (MainThread) Handling mef_eline.deleted on EVC id: df66e1705b1849
2024-05-16 13:49:27,371 - INFO [kytos.napps.kytos/telemetry_int] (MainThread) Disabling INT on EVC ids: ['df66e1705b1849'], force: True
2024-05-16 13:49:27,379 - INFO [uvicorn.access] (MainThread) 127.0.0.1:41760 - "GET /api/kytos/flow_manager/v2/stored_flows?state=installed&state=pending HTTP/1.1" 200
2024-05-16 13:49:27,391 - INFO [uvicorn.access] (MainThread) 127.0.0.1:41770 - "POST /api/kytos/mef_eline/v2/evc/metadata HTTP/1.1" 404
kytos $> 

End-to-End Tests

Not needed for this case

@viniarck viniarck requested a review from a team as a code owner May 16, 2024 16:53
@viniarck viniarck changed the title chore: included id on map_evc_event_content to normalize the content chore: included id on map_evc_event_content to normalize the content May 16, 2024
@viniarck viniarck merged commit 1aa63cd into master May 21, 2024
2 checks passed
@viniarck viniarck deleted the chore/map_evc_event_content branch May 21, 2024 12:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

chore: augment utils.map_evc_event_content(evc) to also include a "id" for the evc.id
1 participant