Internet DRAFT - draft-asciirfc-minimal
draft-asciirfc-minimal
Network Working Group J. Carberry
Internet-Draft T. Grayson
Intended status: Informational Brown University
Expires: June 15, 2019 December 12, 2018
A Minimal Internet-Draft In AsciiRFC
draft-asciirfc-minimal-03
Abstract
This document provides a template on how to author (or migrate!) a
new Internet-Draft / RFC in the AsciiRFC format.
NOTE
This template requires usage of the Metanorma toolchain and the
"metanorma-ietf" Ruby gem.
Status of This Memo
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 June 15, 2019.
Copyright Notice
Copyright (c) 2018 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 Simplified BSD License text as described in Section 4.e of
Carberry & Grayson Expires June 15, 2019 [Page 1]
Internet-Draft AsciiRFC Example December 2018
the Trust Legal Provisions and are provided without warranty as
described in the Simplified BSD License.
Table of Contents
1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . 2
2. Terms and Definitions . . . . . . . . . . . . . . . . . . . . 2
3. Symbols And Abbreviations . . . . . . . . . . . . . . . . . . 3
4. Main content . . . . . . . . . . . . . . . . . . . . . . . . 3
4.1. Getting started . . . . . . . . . . . . . . . . . . . . . 3
4.1.1. Metanorma toolchain . . . . . . . . . . . . . . . . . 3
4.1.2. XML RFC toolchain . . . . . . . . . . . . . . . . . . 3
4.2. Referencing external content . . . . . . . . . . . . . . 3
4.3. Code snippets . . . . . . . . . . . . . . . . . . . . . . 4
5. Security Considerations . . . . . . . . . . . . . . . . . . . 4
6. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 4
7. Acknowledgements . . . . . . . . . . . . . . . . . . . . . . 4
8. References . . . . . . . . . . . . . . . . . . . . . . . . . 4
8.1. Normative References . . . . . . . . . . . . . . . . . . 4
8.2. Informative References . . . . . . . . . . . . . . . . . 5
Appendix A. Examples . . . . . . . . . . . . . . . . . . . . . . 5
A.1. Example 1 . . . . . . . . . . . . . . . . . . . . . . . . 5
Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . 6
1. Introduction
AsciiRFC [I-D.ribose-asciirfc] is an extremely simple way to author
Internet-Drafts and RFCs without needing to manually craft RFC XML
conforming to [RFC7991].
This is a template specifically made for authors to easily start with
creating an Internet-Draft conforming to [RFC7991] and submittable to
the IETF datatracker.
2. Terms and Definitions
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.
This document also refers to the following terms and definitions:
AsciiRFC
an AsciiDoc-derived syntax used for authoring RFCs and Internet-
Drafts, as defined in [I-D.ribose-asciirfc].
Carberry & Grayson Expires June 15, 2019 [Page 2]
Internet-Draft AsciiRFC Example December 2018
3. Symbols And Abbreviations
ADRFC
abbreviated form of _AsciiRFC_
4. Main content
This is where you place the main content, and the following serves as
a placeholder for your text.
Subsections are used here for demonstration purposes.
4.1. Getting started
The Metanorma and RFC toolchains *MUST* be available locally to build
this document template.
4.1.1. Metanorma toolchain
You will need to have:
1. Ruby: for running Metanorma
a. "metanorma-cli" gem: for the Metanorma command-line interface
b. "metanorma-ietf" gem: for converting AsciiRFC into XML RFC (v2 or
v3)
4.1.2. XML RFC toolchain
You will need to have:
1. Python: for running "xml2rfc"
A. "xml2rfc": for converting RFC XML (v2 or v3) into TXT
B. "idnits": for submission preflight
4.2. Referencing external content
o This is a published RFC [RFC7253]
o This is an Internet-Draft [I-D.ribose-asciirfc]
o This is an external reference [RNP]
Carberry & Grayson Expires June 15, 2019 [Page 3]
Internet-Draft AsciiRFC Example December 2018
4.3. Code snippets
Code snippets should be wrapped with "<CODE BEGINS>" and "<CODE
ENDS>" blocks, as required by the IETF Trust Legal Provisions (TLP)
[IETF.TLP] (Section 4) specified in [RFC5378].
5. Security Considerations
Any security considerations should be placed here.
As described in Section 4 (here's how you refer a local anchor),
local tools have to be installed before the document template can be
built.
Running of these local tools *MAY* produce unintended side effects
that impact security. For example
+-----------------+----------------------------+
| Security issue | Discussed in |
+-----------------+----------------------------+
| Confidentiality | Section 2.1.1 of [RFC3552] |
| Data Integrity | Section 2.1.2 of [RFC3552] |
| Non-Repudiation | Section 2.2 of [RFC3552] |
+-----------------+----------------------------+
6. IANA Considerations
This document does not require any action by IANA.
But if it does, such as proposing changes to IANA registries, please
include them here.
7. Acknowledgements
The authors would like to thank their families.
8. References
8.1. Normative References
[RFC2119] Bradner, S., "Key words for use in RFCs to Indicate
Requirement Levels", BCP 14, RFC 2119,
DOI 10.17487/RFC2119, March 1997,
<https://www.rfc-editor.org/info/rfc2119>.
[RFC7991] Hoffman, P., "The "xml2rfc" Version 3 Vocabulary",
RFC 7991, DOI 10.17487/RFC7991, December 2016,
<https://www.rfc-editor.org/info/rfc7991>.
Carberry & Grayson Expires June 15, 2019 [Page 4]
Internet-Draft AsciiRFC Example December 2018
[RFC8174] Leiba, B., "Ambiguity of Uppercase vs Lowercase in RFC
2119 Key Words", BCP 14, RFC 8174, DOI 10.17487/RFC8174,
May 2017, <https://www.rfc-editor.org/info/rfc8174>.
8.2. Informative References
[I-D.ribose-asciirfc]
Tse, R., Nicholas, N., and P. Brasolin, "AsciiRFC:
Authoring Internet-Drafts And RFCs Using AsciiDoc", draft-
ribose-asciirfc-08 (work in progress), April 2018.
[IETF.TLP]
IETF, "IETF Trust Legal Provisions (TLP)", April 2018,
<https://trustee.ietf.org/trust-legal-provisions.html>.
[RFC3552] Rescorla, E. and B. Korver, "Guidelines for Writing RFC
Text on Security Considerations", BCP 72, RFC 3552,
DOI 10.17487/RFC3552, July 2003,
<https://www.rfc-editor.org/info/rfc3552>.
[RFC5378] Bradner, S., Ed. and J. Contreras, Ed., "Rights
Contributors Provide to the IETF Trust", BCP 78, RFC 5378,
DOI 10.17487/RFC5378, November 2008,
<https://www.rfc-editor.org/info/rfc5378>.
[RFC7253] Krovetz, T. and P. Rogaway, "The OCB Authenticated-
Encryption Algorithm", RFC 7253, DOI 10.17487/RFC7253, May
2014, <https://www.rfc-editor.org/info/rfc7253>.
[RNP] Ribose Inc., "RNP: A C library approach to OpenPGP", March
2018, <https://github.com/riboseinc/rnp/>.
Appendix A. Examples
A.1. Example 1
Here's an example of a properly wrapped code snippet in accordance
with rules specified in Section 4.3.
<CODE BEGINS>
{
"code": {
"encoding": "ascii",
"type": "rfc",
"authors": [ "Josiah Carberry", "Truman Grayson" ]
}
}
<CODE ENDS>
Carberry & Grayson Expires June 15, 2019 [Page 5]
Internet-Draft AsciiRFC Example December 2018
Authors' Addresses
Josiah Stinkney Carberry
Brown University
Box K, 69 Brown Street
Providence 02912
United States of America
Phone: +1 401 863 1000
Email: josiah.carberry@ribose.com
URI: https://www.brown.edu
Truman Grayson
Brown University
Box G, 69 Brown Street
Providence 02912
United States of America
Phone: +1 401 863 1000
Email: truman.grayson@ribose.com
URI: https://www.brown.edu
Carberry & Grayson Expires June 15, 2019 [Page 6]