From 050b105cefd57f97e2b23a9d3a641c8c00c5ce64 Mon Sep 17 00:00:00 2001 From: Felix Walter Date: Tue, 12 May 2026 11:04:40 +0200 Subject: [PATCH] doc: testing: Adjust to using aap2-* tools Signed-off-by: Felix Walter --- doc/testing.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/doc/testing.md b/doc/testing.md index 9e59af2..6d1cc8c 100644 --- a/doc/testing.md +++ b/doc/testing.md @@ -148,8 +148,8 @@ All tests expect an environment with ION and µD3TN (incl. Python dependencies) This test, provided in [`test/ion_interoperability/minimal_forwarding_test`](https://gitlab.com/d3tn/ud3tn/-/blob/master/test/ion_interoperability/minimal_forwarding_test), checks the following aspects: - forwarding bundles from µD3TN to another instance of µD3TN via an ION instance using TCPCL -- receiving bundles sent by ION (via `bpsource`) in µD3TN (via `aap-receive`) -- receiving bundles sent by µD3TN (via `aap-send`) in ION (via `bprecvfile`) +- receiving bundles sent by ION (via `bpsource`) in µD3TN (via `aap2-receive`) +- receiving bundles sent by µD3TN (via `aap2-send`) in ION (via `bprecvfile`) The script [`run.sh`](https://gitlab.com/d3tn/ud3tn/-/blob/master/test/ion_interoperability/minimal_forwarding_test/run.sh?ref_type=heads) expects two arguments: @@ -192,29 +192,29 @@ In summary: 3. Start µD3TN instances as needed. If you want to test with multiple instances, don't forget to specify different sockets/ports for AAP (via `-s` or `-a`/`-p`) and the CLAs (via `-c`). Refer to the [README.md](https://gitlab.com/d3tn/ud3tn/-/blob/master/README.md?ref_type=heads#usage) concerning the command line syntax. You can also find some pointers on running multiple instances in the [Quick Start Guide](./posix_quick_start_guide.md). 4. Configure the µD3TN instance(s) as needed: - Especially, add all outgoing contacts to other µD3TN or ION instances using `aap-config`, e.g.: + Especially, add all outgoing contacts to other µD3TN or ION instances using `aap2-config`, e.g.: ```sh - aap-config --tcp \ + aap2-config --tcp \ --schedule \ tcpclv3:: ``` -5. Start the receiving end(s). If you want to receive bundles sent to a µD3TN instance, attach an `aap-receive` sink, e.g. via: +5. Start the receiving end(s). If you want to receive bundles sent to a µD3TN instance, attach an `aap2-receive` sink, e.g. via: ```sh - aap-receive --tcp \ + aap2-receive --tcp \ -a -v ``` - See the help output of `aap-receive` (via `-h`) for additional options to verify received payload data, etc. + See the help output of `aap2-receive` (via `-h`) for additional options to verify received payload data, etc. If you want to receive data in ION, you can start an instance of `bprecvfile` or `bpsink` (see ION's documentation). -6. Inject bundles / run your tests. For sending a bundle through µD3TN, you can use `aap-send`, e.g. via: +6. Inject bundles / run your tests. For sending a bundle through µD3TN, you can use `aap2-send`, e.g. via: ```sh - aap-send --tcp \ + aap2-send --tcp \ --agentid "" -v ```