ud3tn/python-ud3tn-utils/ud3tn_utils/aap
Felix Walter 229f884a57 python-ud3tn-utils: Introduce JSON configuration format
This introduces a JSON contact configuration format for the
deterministic first-contact forwarding (DFCF) implementation as a modern
alternative to our homebrewn configuration messages. For now, it is only
supported in the external DFCF BDM, but integration into the "router
agent" is planned.

Example JSON configuration string (from our tests):

```
{

    "command": "ADD",
    "node_id": "dtn://ud3tn2.dtn/",
    "cla_addr": "mtcp:127.0.0.1:4223",
    "reachable_eids": [
        "ipn:1.0"
    ],
    "contact_list": [
        {
            "start": 1401519306972,
            "end": 1401519316972,
            "data_rate": 2400,
            "reachable_eids": [
                "dtn://66553/",
                "dtn://89326/"
            ]
        },
        {
            "start": 1401519506972,
            "end": 1401519516972,
            "data_rate": 1200,
            "reachable_eids": [
                "dtn://12349/",
                "dtn://89326/"
            ]
        }
    ]
}
```

Closes: #15

Signed-off-by: Felix Walter <felix.walter@d3tn.com>
2025-06-05 17:03:39 +02:00
..
bin python-ud3tn-utils: Introduce JSON configuration format 2025-06-05 17:03:39 +02:00
__init__.py python-ud3tn-utils: Add AAP + AAP2 tools 2024-07-01 10:10:56 +02:00
aap_client.py AAP: Return bundle creation timestamp and sequence number in bundle ID 2023-05-11 17:03:29 +02:00
aap_message.py python-ud3tn-utils: Serialize bundle ID instead len() of it 2023-06-08 12:56:44 +02:00