Internet-Draft | TVR Contact Plan | March 2023 |
Blanchet | Expires 9 September 2023 | [Page] |
Some networks, such as in space, have links that are up and down based on a known schedule. The links characteristics, such as latency and bandwidth, are often also known in advance. This document describes a data model, also known as contact plan or graph, and file format to be used as input to forwarding and routing engines. This specification applies for both IP and Bundle Protocol.¶
This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79.¶
Internet-Drafts are working documents of the Internet Engineering Task Force (IETF). Note that other groups may also distribute working documents as Internet-Drafts. The list of current Internet-Drafts is at https://datatracker.ietf.org/drafts/current/.¶
Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as "work in progress."¶
This Internet-Draft will expire on 9 September 2023.¶
Copyright (c) 2023 IETF Trust and the persons identified as the document authors. All rights reserved.¶
This document is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents (https://trustee.ietf.org/license-info) in effect on the date of publication of this document. Please review these documents carefully, as they describe your rights and restrictions with respect to this document. Code Components extracted from this document must include Revised BSD License text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Revised BSD License.¶
Some networks, such as in space, have links that are up and down based on a known schedule. The links characteristics, such as latency and bandwidth, are also known in advance. This document describes a data model and file format to be used as input to forwarding and routing engines.¶
For delay-tolerant networks using the Bundle Protocol(BP) [RFC9171], implementations have defined different formats ([iondtncp], [ionipncp], [ud3tncgf], [hdtncp]) for such data. This specification aims to specify a common interoperable format.¶
Since networks may have some combination of IP and BP, it is useful to have in a single file the contact plan for all types of networks and address space, hence this combined format.¶
While this work is related to space communications, it could be applied to any use case that is using a contact plan. s¶
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in BCP 14 [RFC2119] [RFC8174] when, and only when, they appear in all capitals, as shown here.¶
The file is coded in JSON[RFC8259].¶
The file has the following first level properties:¶
A contact record has an "address" family. This document defines 4 families: "ip4", "ip6", "ipn", "dtn". Others may be added to the IANA registry (see Section 5). Each address family has a different syntax as shown below.¶
The "source", "next-hop" and "destination" are using this syntax.¶
A contact record contains the following properties:¶
The following shows an example of a contact plan.¶
<CODE BEGINS> { "type": "tvrContactPlan", "version": 1, "lastUpdated": "2025-01-17T23:20:50Z", "contacts": [ { "id": "f81d4fae-7dec-11d0-a765-00a0c91e6bf6", "family": "ip4", "source": "192.0.2.0", "destinations": ["198.51.100.0/24", "203.0.114.0/28", "192.0.3.1"], "nextHop": "203.0.113.1", "startTime": "1985-04-12T23:20:50Z", "stopTime": "1985-04-13T14:12:48Z", "bandwidth": 1000000, "latency": 30000 }, { "id": "f81d4fae-abcd-efgh-a765-00a0c91e6b88", "family": "ip6", "source": "2001:db8::1", "destinations": ["2001:db8:abcd::/48"], "nextHop": "2001:db8:3::1", "startTime": "2030-04-12T23:20:50Z", "stopTime": "2031-04-13T14:12:48Z", "bandwidth": 10000000, "latency": 300000 }, { "id": "659e4fae-7dec-11d0-a765-00a0c91e6b04", "family": "dtn", "source": "dtn://ud3tn2.dtn/", "destinations": ["dtn://18471/","dtn://81491/"], "nextHop": "203.0.113.1", "startTime": "1985-04-12T23:20:50Z", "stopTime": "1985-04-13T14:12:48Z", "bandwidth": 1000000, "latency": 30000 }, { "id": "f81dab43-7dec-e8a2-a765-00a0c91e6bf6", "family": "ipn", "destinations": "ipn:5.34", "nextHop": "ipn:7.43", "startTime": "1985-04-12T23:20:50Z", "stopTime": "1985-04-13T14:12:48Z", "bandwidth": 1000000, "latency": 30000 } ] } <CODE ENDS>¶
Some Bundle Protocol implementations have defined an interface where the add, change, delete actions are performed on contact info to update the underlying contact plan. We believe this can be better accomplished at the API level, instead of within the file format. For example, if a REST API is used, the HTTP methods can be used for that purpose.¶
TBD: registry of "address family"¶
This work is vastly inspired by Scott Burleigh's' Contact Graph Routing for DTN as implemented in ION as well as the contact plan of HDTN and uD3TN implementations.¶
The following people have provided comments to improve this document: Felix Walter¶