Skip to content

Releases: alliedtelesis/apteryx-utils

Sync tree update

01 Dec 22:52
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.07...v2.08

v2.07

18 Oct 02:31
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.06...v2.07

v2.06: Fix the paths for the periodic sync update

16 Oct 03:48
Compare
Choose a tag to compare
The current code is inserting two slashes (//) into the periodic
sync update messages. This is causing issues on the receiving
device.

v2.05

14 Oct 00:43
Compare
Choose a tag to compare
Add support for syncing more complex paths

It is currently difficult to sync on a small portion of a model if that
model includes a list element. For example /node1/node2/*/node3/node4.
The current method would be to select node1/node2/* then exclude the
unwanted fields. This however can cause substantial processing.

This change allows paths of type /node1/node2/*/node3/node4 to be
entered. The new code uses apteryx_query and apteryx_watch_tree
to retrieve the database information to synchronize.

Additionally exclude paths are now only applied to the model they were
added with.

v2.04

05 Apr 01:42
Compare
Choose a tag to compare
Add mutex for delayed work list

The delayed_work list can be accessed by multiple threads which
can result in memory corruption.

Prevent this by protecting the access with a mutex.

v2.03

19 Feb 00:45
Compare
Choose a tag to compare
Take instance lock before destroying delayed work object

When the delayed work object is freed the call reference is removed from
the registry index - this work requires the state to be locked.

v2.02

14 Feb 20:40
Compare
Choose a tag to compare
Fix memory issue when dpulicate entry in map file

The insertion of a map entry was mishandled when there is a
duplicate entry. The library routine actually takes care of
the situation by itself.

v2.01

13 Feb 04:04
Compare
Choose a tag to compare
Only load apteryx API for XML files

v2.00

07 Dec 22:00
Compare
Choose a tag to compare
Multithreaded Alfred

With new lua instance locking functionality in Apteryx we can now load
lua files and lua snippets from XML files into seperate lua stacks.

This requires changes to the lua that is loaded - currently each lua
file in the script directory will be loaded into its own lua state, and
the XML files will all be loaded into a single state.

v1.99

29 Nov 00:55
Compare
Choose a tag to compare
apteryx-saver: Check for apteryx_query() failure whilst writing config

Check for apteryx_query() failure whilst writing config. Apteryx_query()
can return NULL if a refresher path included in the query doesn't
respond to apteryxd.