Releases: byllyfish/finsy
Releases · byllyfish/finsy
Release 0.28.0
Release 0.27.0
- Update
P4Runtimeprotobufs to the 1.4.1 release. - Update dependencies to
grpcio1.67.1 andprotobuf5.28.3. - Include CI testing support for Python 3.13.
- In test code, update pytest-asyncio to the latest version.
Release 0.26.0
- Replace the
managerproperty in theSwitchclass withstashand constrain the type todict[str, Any]. - Add the
stashkeyword argument to theSwitch.__init__method. - Remove the
configurationproperty from theSwitchOptionsclass. (Use the Switchstashproperty instead.) - The
control_taskproperty of theSwitchclass is now private (_control_task). - Add the
pkg_infoaccessor toP4Schema. - The
Switch,SwitchOptionsandControllerclasses are now@final; they are not intended to be subclassed. - Update the
protoccompiler to 1.65.0 and re-compile all protobuf files. - Update protobuf files from upstream; the
v1.p4info.protofile now includes the PlatformProperties field in PkgInfo.
Release 0.25.0
- The
match_dict,match_strandaction_strformatting methods now require a P4Schema argument. Removed P4Schema's context manager API. (#499) - Add support for serializable enums in P4Schema.
- Add port of
flowcacheexample 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.txtwithp4info.txtpb(#501). - Make
shellousan 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
blackin 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.protoandgnmi_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-macargument to theDemonetclass 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
metadataproperty 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,ActionandIndirectActionas aliases forP4TableMatch,P4TableAction, andP4IndirectAction. - The
Controller.removemethod now returns anasyncio.Eventto signal when a Switch is fully removed. - Rename the internal
pbuf.pymodule 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_entriesandis_const. - Add support for grpc call credentials.
- Add support for deprecated
controller_metadata(#192). - Fix missing imports for
P4MeterEntry,P4DirectMeterEntryandP4ValueSetEntry. - 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.