Releases: byllyfish/finsy
Releases · byllyfish/finsy
Release 0.27.0
Release 0.26.0
- Replace the
manager
property in theSwitch
class withstash
and constrain the type todict[str, Any]
. - Add the
stash
keyword argument to theSwitch.__init__
method. - Remove the
configuration
property from theSwitchOptions
class. (Use the Switchstash
property instead.) - The
control_task
property of theSwitch
class is now private (_control_task
). - Add the
pkg_info
accessor toP4Schema
. - The
Switch
,SwitchOptions
andController
classes are now@final
; they are not intended to be subclassed. - Update the
protoc
compiler to 1.65.0 and re-compile all protobuf files. - Update protobuf files from upstream; the
v1.p4info.proto
file now includes the PlatformProperties field in PkgInfo.
Release 0.25.0
- The
match_dict
,match_str
andaction_str
formatting methods now require a P4Schema argument. Removed P4Schema's context manager API. (#499) - Add support for serializable enums in P4Schema.
- Add port of
flowcache
example that uses serializable enums. - Add port of basic forwarding example from the P4lang tutorial.
- Re-compile example P4 programs with the latest P4c compiler. Replace file extension
p4info.txt
withp4info.txtpb
(#501). - Make
shellous
an optional dependency that can be installed as an extra:pip install finsy[demonet]
(#502). - Fix issue in CI testing which led to an ERROR log message when shutting down GNMIServer testing. (#505)
- When using
black
in CI testing, call it as a library function, not a subprocess. This fixes an occasional thread-related hang on MacOS in CI testing. - Incorporate the latest changes to
gnmi.proto
andgnmi_ext.proto
. Upgrade protobuf compiler toolchain and re-compile all protobuf files. Bring "relative path" patch-file up to date. - Update the demonet docker image: include gpg (for codecov), update ubuntu base tag, and update the mn-stratum base hash. Use latest demonet 24.04 build for CI testing.
- Add the
--with-mac
argument to theDemonet
class to include the MAC address of hosts when drawing the network map. - Update doc comments for the Switch, SwitchOptions and Controller classes.
- Improve reliability of CI testing and fix minor typing issues.
- Update dependencies.
Release 0.24.0
- Update protobuf dependency and development dependencies.
- Update the demonet image tag used for testing to 24.01.
- Update black formatter to 24.1.1 and re-format source code.
Release 0.23.0
- The Demonet class will only run Mininet locally if it detects the script is running inside the special DEMONET docker image.
- Add CI support for Windows.
- Update development dependencies.
- Update publish.yml CI action to use trusted publishing.
Release 0.22.0
- Update project dependencies.
- Fix some typing warnings from pyright.
Release 0.21.0
- Update P4Runtime protobuf files.
- Add the
metadata
property toP4MulticastGroupEntry
. - Update project dependencies. Add support for Python 3.12.
- Apply security best practices to CI builds.
Release 0.20.0
- Add support for
P4ExternEntry
. - Add
Match
,Action
andIndirectAction
as aliases forP4TableMatch
,P4TableAction
, andP4IndirectAction
. - The
Controller.remove
method now returns anasyncio.Event
to signal when a Switch is fully removed. - Rename the internal
pbuf.py
module topbutil.py
. - Add a CI step to run tests under valgrind/extra-logging to stress test C-based grpc underpinnings.
- Update project dependencies.
Release 0.19.0
- Update P4Runtime/P4Info protobuf files; add support for
has_initial_entries
andis_const
. - Add support for grpc call credentials.
- Add support for deprecated
controller_metadata
(#192). - Fix missing imports for
P4MeterEntry
,P4DirectMeterEntry
andP4ValueSetEntry
. - Entity classes now use
slots
. - Add support for testing GRPC channels that use TLS in
demonet
. - Use included MACAddress class.
- Remove dependency on pylev.
- Update project dependencies.
Release 0.18.0
- Make all protobuf module imports relative.
- Enable CI testing of example programs; re-compile all P4 sources.
- Improve test coverage and fix lint issues.