Finsy

Latest version: v0.27.0

Safety actively analyzes 681881 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 4 of 5

0.9.0

- Rename gNMI classes to start with "GNMI" instead of "gNMI".
- Rename `is_no_pipeline_configured` property to `is_pipeline_missing`.
- Rename `P4Status` to `P4RpcStatus`.
- Rename `P4SubError` to `P4Error`.
- Rename `Port` to `SwitchPort` and `PortList` to `SwitchPortList`.
- GNMIClient.set(): argument is now a sequence of 2-tuples.
- Add GNMI example programs.
- Minor test changes to improve code coverage.
- Minor pyright fixes.
- Update dependency versions.
- Build API docs.

0.8.0

- Update `gnmi.proto`, `p4info.proto` protobuf files. Re-compile using latest mypy-protobuf compiler.
- Rename `SwitchOptions.config` to `configuration`.
- Rename `Switch.attachment` to `manager`.
- Add support for P4Runtime roles using `p4_role_config.proto` from Stratum project.
- Add support for `format` address annotations in P4 source code.
- Remove `TRACE` decorator scaffolding.
- Add support for Python 3.11 in tests.
- Add tests for example programs.

0.7.0

- Automatically promote a `P4TableAction` in an indirect table to a single-entry one-shot `P4IndirectAction`.
- Add syntactic sugar for "weighted table actions" using the `*` operator.
- Fix bug in parsing annotations which contain newline characters.
- Add support for new_type's in match fields, action parameters and ControllerPacketMetadata.
- Add type_name accessor for custom types in P4Schema.
- Remove support for annotation source locations (filename, lineno); no anticipated use cases.
- Add support for range match field type.
- Remove the `FINSY_TRANSLATE_LOGS` environment variable check.
- Add tests and typing support.
- Update dependency versions.

0.6.0

- Rename `ignore_not_found=True` option to `strict=False` in Switch.write(), Switch.modify() and Switch.delete().
- Add the `warn_only=True` option to Switch write() methods.
- Implement support for P4CounterEntry.
- Add the ack() convenience method to `P4DigestList` class.
- Add a convenience accessor to `P4TableEntry` to retrieve match parameters.
- The `Switch.delete_all()` method now takes an optional parameter to support wildcard deletes.
- The `Controller` class can now be run as an asynchronous context manager.
- Add the `is_up` and `address` property getters to the Switch class.
- Add support for exercise 6 (SRv6) to the ngsdn demo.
- Add a simple console module to the ngsdn demo.
- Improve support for formatting P4TableEntry's in a concise manner, used in ngsdn demo.
- Many improvements to the output of `P4SchemaDescription`.
- Export `finsy.LoggerAdapter()` for use by clients.

0.5.0

- The `delete_all` method will reset any default table entries.
- The Switch context manager API no longer retries connections (wait_for_ready=False).
- Improve logging of P4Runtime version and pipeline information.
- Implement `DecodeFormat` as a bit flag in `p4values.py`.
- Update `hello.p4` demos and fix example code in README.
- Update dependency versions.

0.4.0

- Switch API functions: `insert`, `modify`, `delete`, `write` now take a single sequence argument (no more varargs).
- Add support for `P4CloneSessionEntry`, `P4DirectCounterEntry`, and `P4IndirectAction`.
- Add a `ContextVar` to store the controller instance. Use the `current_controller` function to retrieve the current controller object.
- Rename the `SWITCH_DONE` event to `CONTROLLER_LEAVE`. Add a corresponding `CONTROLLER_ENTER` event.
- gNMIClient.synchronize() can be called more than once, if we need to read updates up to the next sync response.
- Add the `full_match` method to `P4TableEntry`.
- Improve support for "don't care" LPM and Ternary match fields.
- Improve formatting of multiline gNMI log messages. Improved log translation of P4Runtime binary values.
- Add the `SWITCH_START` and `SWITCH_STOP` events.
- The `read_packets` method can be called from different tasks with different `eth_type` filters.
- The `UNAVAILABLE` gRPC status is no longer reported as an error, to reduce log noise.
- Improve formatting of `P4SchemaDescription` output.
- Add `ngsdn` example program and podman scripts for testing.
- Small performance improvements after minor benchmarking.
- Update project dependency versions.

Page 4 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.