You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
loopback: support locality and local delivery for same-session messages
- Deliver PUT/DELETE, query, reply, and reply-final messages for a key
expression that is defined in the same local session locally, without
causing network activity.
- Extend z_api_source_info_test to validate deliveries both to remote and
local subscribers.
- Support locality of samples to be received by subscribers or targeted by
publishers.
- Enable the locality-specific CMake options in CI.
User can now set allowed_origin / allowed_destination in
z_put_options_t, z_publisher_put_options_t, z_subscriber_options_t,
z_queryable_options_t, etc. with the following values:
- ZP_LOCALITY_SESSION_LOCAL - stay inside the session (don't send
anything to network)
- ZP_LOCALITY_REMOTE - send/accept only over the transport (no
same-session samples)
- ZP_LOCALITY_ANY - allow both,
exactly as with zenoh-c's zc_locality_t.
Co-developed-by: Denis Biryukov <[email protected]>
Copy file name to clipboardExpand all lines: .github/workflows/ci.yml
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -32,7 +32,7 @@ jobs:
32
32
- name: Build & run tests
33
33
run: |
34
34
sudo apt install -y ninja-build libmbedtls-dev
35
-
Z_FEATURE_LINK_TLS=1 Z_FEATURE_UNSTABLE_API=1 Z_FEATURE_PERIODIC_TASKS=1 CMAKE_GENERATOR=Ninja ASAN=ON make BUILD_TYPE=Debug test
35
+
Z_FEATURE_LINK_TLS=1 Z_FEATURE_LOCAL_QUERYABLE=1 Z_FEATURE_LOCAL_SUBSCRIBER=1 Z_FEATURE_UNSTABLE_API=1 Z_FEATURE_PERIODIC_TASKS=1 CMAKE_GENERATOR=Ninja ASAN=ON make BUILD_TYPE=Debug test
36
36
37
37
run_windows_test:
38
38
name: Run peer unicast test on windows-latest
@@ -62,7 +62,7 @@ jobs:
62
62
- name: Build tests
63
63
run: |
64
64
sudo apt install -y ninja-build libmbedtls-dev
65
-
Z_FEATURE_LINK_TLS=1 Z_FEATURE_UNSTABLE_API=1 Z_FEATURE_PERIODIC_TASKS=1 CMAKE_GENERATOR=Ninja make BUILD_TYPE=Debug
65
+
Z_FEATURE_LINK_TLS=1 Z_FEATURE_LOCAL_QUERYABLE=1 Z_FEATURE_LOCAL_SUBSCRIBER=1 Z_FEATURE_UNSTABLE_API=1 Z_FEATURE_PERIODIC_TASKS=1 CMAKE_GENERATOR=Ninja make BUILD_TYPE=Debug
66
66
67
67
- name: Install valgrind
68
68
run: |
@@ -423,7 +423,7 @@ jobs:
423
423
- name: Build project
424
424
run: |
425
425
sudo apt install -y ninja-build
426
-
Z_FEATURE_UNSTABLE_API=1 Z_FEATURE_LIVELINESS=1 CMAKE_GENERATOR=Ninja make
426
+
Z_FEATURE_LINK_TLS=1 Z_FEATURE_LOCAL_QUERYABLE=1 Z_FEATURE_LOCAL_SUBSCRIBER=1 Z_FEATURE_UNSTABLE_API=1 Z_FEATURE_LIVELINESS=1 CMAKE_GENERATOR=Ninja make
0 commit comments