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).
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-submodulesThe 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.
The tables in the following subsections show YANG modules that can be generated using this project from the corresponding IANA registries.
| YANG module | IANA registries |
|---|---|
| iana-internet-protocols | Assigned Internet Protocol Numbers |
| YANG module | IANA registries |
|---|---|
| iana-dns-class-rr-type | DNS CLASSes, Resource Record (RR) TYPEs |
| iana-dns-opcode-rcode | DNS OpCodes, DNS RCODEs |
| iana-dns-zonemd | ZONEMD Schemes, ZONEMD Hash Algorithms |
| YANG module | IANA registries |
|---|---|
| iana-dnssec-algorithms | DNS Security Algorithm Numbers |
| YANG module | IANA registries |
|---|---|
| iana-dane-tlsa | TLSA Certificate Usages, TLSA Selectors, TLSA Matching Types |
| YANG module | IANA registries |
|---|---|
| iana-media-type | application, audio, font, |
| image, message, model, | |
| multipart, text, video |
| YANG module | IANA registries |
|---|---|
| iana-tsig-algorithms | TSIG Algorithm Names |
| YANG module | IANA registries |
|---|---|
| iana-structured-syntax-suffix | Structured Syntax Suffixes |
| YANG module | IANA registries |
|---|---|
| iana-tls-client-certificate-type-id | TLS ClientCertificateType Identifiers |