/iana-yang

Tools for transforming IANA registries to YANG modules

Primary LanguageXSLTGNU General Public License v3.0GPL-3.0

iana-yang

Introduction

This project contains XSLT stylesheets and other tools for translating IANA registries to YANG modules.

YANG modules can be generated from the up-to-date revisions of all registries by running make in the top-level directory. Alternatively, each module can be generated from the corresponding directory (linked from the table below).

Cloning the project

Another GitHub project, yin-tools, is used as git submodule. In order to get the submodule initialized and cloned, this project should be cloned like so:

git clone git@github.com:llhotka/iana-yang.git --recurse-submodules

Prerequisites

The essential prerequisites for generating the modules are curl and xsltproc. In addition, GNU Make is needed, as well as a few command-line utilities that are included in Linux, MacOS and other Unix-like operating systems.

Available registries

The tables in the following subsections show YANG modules that can be generated using this project from the corresponding IANA registries.

Protocol Numbers

YANG moduleIANA registries
iana-internet-protocolsAssigned Internet Protocol Numbers

Domain Name System (DNS) Parameters

YANG moduleIANA registries
iana-dns-class-rr-typeDNS CLASSes, Resource Record (RR) TYPEs
iana-dns-opcode-rcodeDNS OpCodes, DNS RCODEs
iana-dns-zonemdZONEMD Schemes, ZONEMD Hash Algorithms

Domain Name System Security (DNSSEC) Algorithm Numbers

YANG moduleIANA registries
iana-dnssec-algorithmsDNS Security Algorithm Numbers

DNS-Based Authentication of Named Entities (DANE) Parameters

YANG moduleIANA registries
iana-dane-tlsaTLSA Certificate Usages, TLSA Selectors, TLSA Matching Types

Media Types

YANG moduleIANA registries
iana-media-typeapplication, audio, font,
image, message, model,
multipart, text, video

Secret Key Transaction Authentication for DNS (TSIG) Algorithm Names

YANG moduleIANA registries
iana-tsig-algorithmsTSIG Algorithm Names

Structured Syntax Suffixes

YANG moduleIANA registries
iana-structured-syntax-suffixStructured Syntax Suffixes

Transport Layer Security (TLS) Parameters

YANG moduleIANA registries
iana-tls-client-certificate-type-idTLS ClientCertificateType Identifiers