All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Added
RestrictedFilestore
to limit the file access of theNativeFilestore
to a specific directory. Filestore
creates a directory if it does not exist when creating a new file.
- Correction for
InvalidDestinationId
exception arguments in destination handler. - Destination handler now only checks entity ID values when checking inserted packets.
- Source handler used an incorrect check if the file exists without the virtual filestore.
- Source handler opened files without the virtual filestore
progress
property for both source and destination handler to track the progress of a transaction.file_size
property for both destination and source handler.get_pdu_request
getter function to retrieve the active Put Request for the source handler.
- Simplified state machine usage: Packets are now inserted using an optional
packet
argument of thestate_machine
call. - Removed some of the visible intermedia transaction steps. For example, instead of remaining
on
TransactionStep.SENDING_FINISHED_PDU
, the destination handler will still generate the Finished PDU but jump to the next step immediately without requiring another state machine call. For the source handler, the same was done for theTransactionStep.SENDING_EOF
step.
insert_packet
API of the source and destination handler. Packet insertion is now performed using thestate_machine
call.
- Fault location field of the Finished PDU is now set correctly for transfer cancellations.
- The large file flag was not set properly in the source handler for large file transfers.
- The CRC algorithms will now be used for empty files as well instead of hardcoding the checksum type to the NULL checksum. This was a bug which did not show directly for checksums like CRC32 because those have an initial value of 0x0
- Added
file_size
abstract method toVirtualFilestore
- Renamed
HostFilestore
toNativeFilestore
, but keep old name alias for backwards compatibility. - Added
calculate_checksum
andverify_checksum
toVirtualFilestore
interface.
Updated documentation configuration to include a spacepackets
docs mapping. This
should fix references to the spacepackets
documentation.
- Allow
spacepackets
range from v0.23 to < v0.25
Initial release of the cfdp-py
library which was split off the
tmtccmd library.