All notable changes to the coloring NApp will be documented in this file.
- Flow installation is done through events now.
- Update switches flows when table group changes values.
- Flow mods for deletion now send owner.
- Updated python environment installation from 3.9 to 3.11
- Subscribed to new event
kytos/topology.link.disabled
, which triggers the deletion of neighbors and flows from each endpoint of the deleted link. - Subscribed to event
kytos/topology.switch.disabled
, which deletes a disabled switch data onswitches
dictionary.
coloring
now deletes resources when a link or switch has been disabled.coloring
now does not recognize switches and links that are not enabled,
of_coloring
now supports table group settings fromof_multi_table
coloring
now installs flows on the switches withUP
status
- Subscribed to new event
kytos/of_multi_table.enable_table
as well as publishingkytos/coloring.enable_table
required to set a differenttable_id
to flows. - Added
settings.TABLE_GROUP_ALLOWED
set containing the allowed table groups, for now there is only'base'
.
@rest
endpoints are now run bystarlette/uvicorn
instead offlask/werkzeug
.
get_cookie
could overflow 8 bytes for certain dpid values- Made sure that the generated matched
dl_src
is a local unicast address
If you have been running this NApp version 2022.3.0 or prior in production it's recommended that you delete the previous flows before you start kytosd
again since it this new version can end up pushing flows might not completely overwrite the old ones depending on dpids values:
$ curl -X DELETE http://127.0.0.1:8181/api/kytos/flow_manager/v2/flows/ -H 'Content-type: application/json' -d '{ "flows": [ { "cookie": 12393906174523604992, "cookie_mask": 18374686479671623680 } ] }'
- Added cookie pattern to flow_mod prefix
- Protected shared iterables from size changed thread RuntimeError
- Increased unit test coverage to at least 85%
- Enhanced and standardized setup.py install_requires to install pinned dependencies