1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725
|
<pre>Internet Engineering Task Force (IETF) M. Bjorklund
Request for Comments: 8340 Tail-f Systems
BCP: 215 L. Berger, Ed.
Category: Best Current Practice LabN Consulting, L.L.C.
ISSN: 2070-1721 March 2018
<span class="h1">YANG Tree Diagrams</span>
Abstract
This document captures the current syntax used in YANG module tree
diagrams. The purpose of this document is to provide a single
location for this definition. This syntax may be updated from time
to time based on the evolution of the YANG language.
Status of This Memo
This memo documents an Internet Best Current Practice.
This document is a product of the Internet Engineering Task Force
(IETF). It represents the consensus of the IETF community. It has
received public review and has been approved for publication by the
Internet Engineering Steering Group (IESG). Further information on
BCPs is available in <a href="./rfc7841#section-2">Section 2 of RFC 7841</a>.
Information about the current status of this document, any errata,
and how to provide feedback on it may be obtained at
<a href="https://www.rfc-editor.org/info/rfc8340">https://www.rfc-editor.org/info/rfc8340</a>.
Copyright Notice
Copyright (c) 2018 IETF Trust and the persons identified as the
document authors. All rights reserved.
This document is subject to <a href="https://www.rfc-editor.org/bcp/bcp78">BCP 78</a> and the IETF Trust's Legal
Provisions Relating to IETF Documents
(<a href="https://trustee.ietf.org/license-info">https://trustee.ietf.org/license-info</a>) 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
the Trust Legal Provisions and are provided without warranty as
described in the Simplified BSD License.
<span class="grey">Bjorklund & Berger Best Current Practice [Page 1]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-2" ></span>
<span class="grey"><a href="./rfc8340">RFC 8340</a> YANG Tree Diagrams March 2018</span>
Table of Contents
<a href="#section-1">1</a>. Introduction ....................................................<a href="#page-2">2</a>
<a href="#section-2">2</a>. Tree Diagram Syntax .............................................<a href="#page-3">3</a>
<a href="#section-2.1">2.1</a>. Submodules .................................................<a href="#page-5">5</a>
<a href="#section-2.2">2.2</a>. Groupings ..................................................<a href="#page-5">5</a>
<a href="#section-2.3">2.3</a>. yang-data ..................................................<a href="#page-5">5</a>
<a href="#section-2.4">2.4</a>. Collapsed Node Representation ..............................<a href="#page-6">6</a>
<a href="#section-2.5">2.5</a>. Comments ...................................................<a href="#page-6">6</a>
<a href="#section-2.6">2.6</a>. Node Representation ........................................<a href="#page-6">6</a>
<a href="#section-3">3</a>. Usage Guidelines for RFCs .......................................<a href="#page-7">7</a>
<a href="#section-3.1">3.1</a>. Wrapping Long Lines ........................................<a href="#page-8">8</a>
<a href="#section-3.2">3.2</a>. Groupings ..................................................<a href="#page-8">8</a>
<a href="#section-3.3">3.3</a>. Long Diagrams ..............................................<a href="#page-8">8</a>
<a href="#section-4">4</a>. YANG Schema Mount Tree Diagrams .................................<a href="#page-9">9</a>
<a href="#section-4.1">4.1</a>. Representation of Mounted Schema Trees ....................<a href="#page-10">10</a>
<a href="#section-5">5</a>. IANA Considerations ............................................<a href="#page-12">12</a>
<a href="#section-6">6</a>. Security Considerations ........................................<a href="#page-12">12</a>
<a href="#section-7">7</a>. Informative References .........................................<a href="#page-12">12</a>
Authors' Addresses ................................................<a href="#page-13">13</a>
<span class="h2"><a class="selflink" id="section-1" href="#section-1">1</a>. Introduction</span>
YANG tree diagrams were first published in <a href="./rfc6536">RFC 6536</a>. Such diagrams
are used to provide a simplified graphical representation of a data
model and can be automatically generated via tools such as "pyang"
[<a href="#ref-PYANG" title=""pyang"">PYANG</a>]. This document describes the syntax used in YANG tree
diagrams. It is expected that this document will be updated or
replaced as changes to the YANG language [<a href="./rfc7950" title=""The YANG 1.1 Data Modeling Language"">RFC7950</a>] necessitate.
Today's common practice is to include the definition of the syntax
used to represent a YANG module in every document that provides a
tree diagram. This practice has several disadvantages; therefore,
the purpose of this document is to provide a single location for this
definition. It is not the intent of this document to restrict future
changes, but rather to ensure that such changes are easily identified
and suitably agreed upon.
An example tree diagram can be found in <a href="./rfc8343#section-3">Section 3 of [RFC8343]</a>; the
following is a portion of it:
+--rw interfaces
+--rw interface* [name]
+--rw name string
+--rw description? string
+--rw type identityref
+--rw enabled? boolean
+--rw link-up-down-trap-enable? enumeration {if-mib}?
<span class="grey">Bjorklund & Berger Best Current Practice [Page 2]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-3" ></span>
<span class="grey"><a href="./rfc8340">RFC 8340</a> YANG Tree Diagrams March 2018</span>
<span class="h2"><a class="selflink" id="section-2" href="#section-2">2</a>. Tree Diagram Syntax</span>
This section describes the meaning of the symbols used in YANG tree
diagrams.
A full tree diagram of a module represents all elements. It includes
the name of the module and sections for top-level module statements
(typically containers), augmentations, rpcs, and notifications all
identified under a module statement. Module trees may be included in
a document as a whole, by one or more sections, or even by subsets of
nodes.
A module is identified by "module:" followed by the module-name.
This is followed by one or more sections, in order:
1. The top-level data nodes defined in the module, offset by
two spaces.
2. Augmentations, offset by two spaces and identified by the keyword
"augment" followed by the augment target node and a colon (":")
character.
3. RPCs, offset by two spaces and identified by "rpcs:".
4. Notifications, offset by two spaces and identified by
"notifications:".
5. Groupings, offset by two spaces and identified by the keyword
"grouping" followed by the name of the grouping and a colon (":")
character.
6. yang-data, offset by two spaces and identified by the keyword
"yang-data" followed by the name of the yang-data structure and a
colon (":") character.
The relative organization of each section is provided using a
text-based format that is typical of a file system directory tree
display command. Each node in the tree is prefaced with "+--".
Schema nodes that are children of another node are offset from the
parent by three spaces. Sibling schema nodes are listed with the
same space offset and, when separated by lines, are linked via a
vertical bar ("|") character.
<span class="grey">Bjorklund & Berger Best Current Practice [Page 3]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-4" ></span>
<span class="grey"><a href="./rfc8340">RFC 8340</a> YANG Tree Diagrams March 2018</span>
The full format, including spacing conventions, is:
module: <module-name>
+--<node>
| +--<node>
| +--<node>
+--<node>
+--<node>
+--<node>
augment <target-node>:
+--<node>
+--<node>
+--<node>
+--<node>
augment <target-node>:
+--<node>
rpcs:
+--<rpc-node>
+--<rpc-node>
+--<node>
| +--<node>
+--<node>
notifications:
+--<notification-node>
+--<notification-node>
+--<node>
| +--<node>
+--<node>
grouping <grouping-name>:
+--<node>
+--<node>
| +--<node>
+--<node>
grouping <grouping-name>:
+--<node>
yang-data <yang-data-name>:
+--<node>
+--<node>
| +--<node>
+--<node>
yang-data <yang-data-name>:
+--<node>
<span class="grey">Bjorklund & Berger Best Current Practice [Page 4]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-5" ></span>
<span class="grey"><a href="./rfc8340">RFC 8340</a> YANG Tree Diagrams March 2018</span>
<span class="h3"><a class="selflink" id="section-2.1" href="#section-2.1">2.1</a>. Submodules</span>
Submodules are represented in the same fashion as modules but are
identified by "submodule:" followed by the (sub)module-name. For
example:
submodule: <module-name>
+--<node>
| +--<node>
| +--<node>
<span class="h3"><a class="selflink" id="section-2.2" href="#section-2.2">2.2</a>. Groupings</span>
Nodes within a used grouping are normally expanded as if the nodes
were defined at the location of the "uses" statement. However, it is
also possible to not expand the "uses" statement but to instead print
the name of the grouping.
For example, the following diagram shows the "tls-transport" grouping
from [<a href="./rfc7407" title=""A YANG Data Model for SNMP Configuration"">RFC7407</a>] unexpanded:
+--rw tls
+---u tls-transport
If the grouping is expanded, it could be printed as:
+--rw tls
+--rw port? inet:port-number
+--rw client-fingerprint? x509c2n:tls-fingerprint
+--rw server-fingerprint? x509c2n:tls-fingerprint
+--rw server-identity? snmp:admin-string
Groupings may optionally be present in the "groupings" section.
<span class="h3"><a class="selflink" id="section-2.3" href="#section-2.3">2.3</a>. yang-data</span>
If the module defines a "yang-data" structure [<a href="./rfc8040" title=""RESTCONF Protocol"">RFC8040</a>], these
structures may optionally be present in the "yang-data" section.
<span class="grey">Bjorklund & Berger Best Current Practice [Page 5]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-6" ></span>
<span class="grey"><a href="./rfc8340">RFC 8340</a> YANG Tree Diagrams March 2018</span>
<span class="h3"><a class="selflink" id="section-2.4" href="#section-2.4">2.4</a>. Collapsed Node Representation</span>
At times when the composition of the nodes within a module schema is
not important in the context of the presented tree, sibling nodes and
their children can be collapsed using the notation "..." in place of
the text lines used to represent the summarized nodes. For example:
+--<node>
| ...
+--<node>
+--<node>
+--<node>
<span class="h3"><a class="selflink" id="section-2.5" href="#section-2.5">2.5</a>. Comments</span>
Single line comments, starting with "//" (possibly indented) and
ending at the end of the line, may be used in the tree notation.
<span class="h3"><a class="selflink" id="section-2.6" href="#section-2.6">2.6</a>. Node Representation</span>
Each node in a YANG module is printed as:
<status>--<flags> <name><opts> <type> <if-features>
<status> is one of:
+ for current
x for deprecated
o for obsolete
<flags> is one of:
rw for configuration data nodes and choice nodes
ro for non-configuration data nodes and choice nodes,
output parameters to rpcs and actions, and
notification parameters
-w for input parameters to rpcs and actions
-u for uses of a grouping
-x for rpcs and actions
-n for notifications
mp for nodes containing a "mount-point" extension statement
Case nodes do not have any <flags>.
<span class="grey">Bjorklund & Berger Best Current Practice [Page 6]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-7" ></span>
<span class="grey"><a href="./rfc8340">RFC 8340</a> YANG Tree Diagrams March 2018</span>
<name> is the name of the node
(<name>) means that the node is a choice node
:(<name>) means that the node is a case node
If the node is augmented into the tree from another module,
its name is printed as <prefix>:<name>, where <prefix> is the
prefix defined in the module where the node is defined.
If the node is a case node, there is no space before the
<name>.
<opts> is one of:
? for an optional leaf, choice, anydata, or anyxml
! for a presence container
* for a leaf-list or list
[<keys>] for a list's keys
/ for a top-level data node in a mounted module
@ for a top-level data node of a module identified in a
mount point parent reference
<type> is the name of the type for leafs and leaf-lists
If the type is a leafref, the type is printed as either
(1) "-> TARGET", where TARGET is the leafref path,
with prefixes removed if possible or (2) "leafref".
<if-features> is the list of features this node depends on,
printed within curly brackets and a question mark "{...}?"
Arbitrary whitespace is allowed between any of the whitespace-
separated fields (e.g., <opts> and <type>). Additional whitespace
may, for example, be used to "column align" fields (e.g., within a
list or container) to improve readability.
<span class="h2"><a class="selflink" id="section-3" href="#section-3">3</a>. Usage Guidelines for RFCs</span>
This section provides general guidelines related to the use of tree
diagrams in RFCs.
<span class="grey">Bjorklund & Berger Best Current Practice [Page 7]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-8" ></span>
<span class="grey"><a href="./rfc8340">RFC 8340</a> YANG Tree Diagrams March 2018</span>
<span class="h3"><a class="selflink" id="section-3.1" href="#section-3.1">3.1</a>. Wrapping Long Lines</span>
Internet-Drafts and RFCs limit the number of characters that may
appear in a line of text to 72 characters. When the tree
representation of a node results in a line being longer than this
limit, the line should be broken between <opts> and <type> or between
<type> and <if-feature>. The new line should be indented so that it
starts below <name> with a whitespace offset of at least two
characters. For example:
notifications:
+---n yang-library-change
+--ro module-set-id
-> /modules-state/module-set-id
Long paths (e.g., leafref paths or augment targets) can be split and
printed on more than one line. For example:
augment /nat:nat/nat:instances/nat:instance/nat:mapping-table
/nat:mapping-entry:
The previously mentioned "pyang" command can be helpful in producing
such output; for example, the notification diagram above was produced
using:
pyang -f tree --tree-line-length 50 ietf-yang-library.yang
When a tree diagram is included as a figure in an Internet-Draft or
RFC, "--tree-line-length 69" works well.
<span class="h3"><a class="selflink" id="section-3.2" href="#section-3.2">3.2</a>. Groupings</span>
If the YANG module is comprised of groupings only, then the tree
diagram should contain the groupings. The "pyang" compiler can be
used to produce a tree diagram with groupings using the
"-f tree --tree-print-groupings" command-line parameters.
<span class="h3"><a class="selflink" id="section-3.3" href="#section-3.3">3.3</a>. Long Diagrams</span>
Tree diagrams can be split into sections to correspond to document
structure. As tree diagrams are intended to provide a simplified
view of a module, diagrams longer than a page should generally be
avoided. If the complete tree diagram for a module becomes too long,
the diagram can be split into several smaller diagrams. For example,
it might be possible to have one diagram with the data node and
another with all notifications. If the data nodes tree is too long,
it is also possible to split the diagram into smaller diagrams for
<span class="grey">Bjorklund & Berger Best Current Practice [Page 8]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-9" ></span>
<span class="grey"><a href="./rfc8340">RFC 8340</a> YANG Tree Diagrams March 2018</span>
different subtrees. When long diagrams are included in a document,
authors should consider whether to include the long diagram in the
main body of the document or in an appendix.
An example of such a split can be found in [<a href="./rfc7407" title=""A YANG Data Model for SNMP Configuration"">RFC7407</a>], where
<a href="#section-2.4">Section 2.4</a> of that document shows the diagram for "engine
configuration":
+--rw snmp
+--rw engine
// more parameters from the "engine" subtree here
Further, <a href="./rfc7407#section-2.5">Section 2.5 of [RFC7407]</a> shows the diagram for "target
configuration":
+--rw snmp
+--rw target* [name]
// more parameters from the "target" subtree here
The previously mentioned "pyang" command can be helpful in producing
such output; for example, the above example was produced using:
pyang -f tree --tree-path /snmp/target ietf-snmp.yang
<span class="h2"><a class="selflink" id="section-4" href="#section-4">4</a>. YANG Schema Mount Tree Diagrams</span>
"YANG schema mount" is defined in [<a href="#ref-SCHEMA-MOUNT">SCHEMA-MOUNT</a>] and warrants some
specific discussion. Schema mount is a generic mechanism that allows
for the mounting of one or more YANG modules at a specified location
of another (parent) schema. The specific location is referred to as
a "mount point", and any container or list node in a schema may serve
as a mount point. Mount points are identified via the inclusion of
the "mount-point" extension statement as a substatement under a
container or list node. Mount point nodes are thus directly
identified in a module schema definition and can be identified in a
tree diagram as indicated above using the "mp" flag.
<span class="grey">Bjorklund & Berger Best Current Practice [Page 9]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-10" ></span>
<span class="grey"><a href="./rfc8340">RFC 8340</a> YANG Tree Diagrams March 2018</span>
In the following example taken from [<a href="#ref-YANG-NIs" title=""YANG Model for Network Instances"">YANG-NIs</a>], "vrf-root" is a
container that includes the "mount-point" extension statement as part
of its definition:
module: ietf-network-instance
+--rw network-instances
+--rw network-instance* [name]
+--rw name string
+--rw enabled? boolean
+--rw description? string
+--rw (ni-type)?
+--rw (root-type)
+--:(vrf-root)
| +--mp vrf-root
<span class="h3"><a class="selflink" id="section-4.1" href="#section-4.1">4.1</a>. Representation of Mounted Schema Trees</span>
The actual modules made available under a mount point are controlled
by a server and are provided to clients. This information is
typically provided via the schema mount module
("ietf-yang-schema-mount") defined in [<a href="#ref-SCHEMA-MOUNT">SCHEMA-MOUNT</a>]. The schema
mount module supports the exposure of both mounted schema and
"parent-references". Parent references are used for XML Path
Language (XPath) evaluation within mounted modules and do not
represent client-accessible paths; the referenced information is
available to clients via the parent schema. Schema mount also
defines an "inline" type of mount point, where mounted modules are
exposed via the YANG library module.
Although the modules made available under a mount point are not
specified in YANG modules that include mount points, the document
defining the module will describe the intended use of the module and
may identify both modules that will be mounted and parent modules
that can be referenced by mounted modules. An example of such a
description can be found in [<a href="#ref-YANG-NIs" title=""YANG Model for Network Instances"">YANG-NIs</a>]. A specific implementation of
a module containing mount points will also support a specific list of
mounted and referenced modules. In describing both intended use and
actual implementations, it is helpful to show how mounted modules
would be instantiated and referenced under a mount point using tree
diagrams.
In such diagrams, the mount point should be treated much like a
container that uses a grouping. The flags should also be set based
on the "config" leaf mentioned above, and the mount-related options
indicated above should be shown for the top-level nodes in a mounted
or referenced module. The following example, taken from [<a href="#ref-YANG-NIs" title=""YANG Model for Network Instances"">YANG-NIs</a>],
<span class="grey">Bjorklund & Berger Best Current Practice [Page 10]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-11" ></span>
<span class="grey"><a href="./rfc8340">RFC 8340</a> YANG Tree Diagrams March 2018</span>
represents the prior example with the YANG modules "ietf-routing"
[<a href="#ref-YANG-Routing">YANG-Routing</a>] and "ietf-ospf" [<a href="#ref-OSPF-YANG">OSPF-YANG</a>] mounted, nodes from the
YANG module "ietf-interfaces" [<a href="./rfc8343" title=""A YANG Data Model for Interface Management"">RFC8343</a>] accessible via a
parent-reference, and "config" indicating "true":
module: ietf-network-instance
+--rw network-instances
+--rw network-instance* [name]
+--rw name string
+--rw enabled? boolean
+--rw description? string
+--rw (ni-type)?
+--rw (root-type)
+--:(vrf-root)
+--mp vrf-root
+--ro rt:routing-state/
| +--ro router-id?
| +--ro control-plane-protocols
| +--ro control-plane-protocol* [type name]
| +--ro ospf:ospf
| +--ro instance* [af]
| ...
+--rw rt:routing/
| +--rw router-id?
| +--rw control-plane-protocols
| +--rw control-plane-protocol* [type name]
| +--rw ospf:ospf
| +--rw instance* [af]
| ...
+--ro if:interfaces@
| ...
+--ro if:interfaces-state@
| ...
It is worth highlighting that the "ietf-ospf" module augments the
"ietf-routing" module, and although it is listed in the schema mount
module (or inline YANG library), there is no special mount-related
notation in the tree diagram.
A mount point definition alone is not sufficient to identify whether
the mounted modules are used for configuration data or for
non-configuration data. This is determined by the
"ietf-yang-schema-mount" module's "config" leaf associated with the
specific mount point and is indicated on the top-level mounted nodes.
<span class="grey">Bjorklund & Berger Best Current Practice [Page 11]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-12" ></span>
<span class="grey"><a href="./rfc8340">RFC 8340</a> YANG Tree Diagrams March 2018</span>
For example, in the above tree, when the "config" leaf for the
"ietf-routing" module indicates "false", the nodes in the
"rt:routing" subtree would have different flags:
+--ro rt:routing/
| +--ro router-id?
| +--ro control-plane-protocols
...
<span class="h2"><a class="selflink" id="section-5" href="#section-5">5</a>. IANA Considerations</span>
This document has no IANA actions.
<span class="h2"><a class="selflink" id="section-6" href="#section-6">6</a>. Security Considerations</span>
There is no security impact related to the tree diagrams defined in
this document.
<span class="h2"><a class="selflink" id="section-7" href="#section-7">7</a>. Informative References</span>
[<a id="ref-OSPF-YANG">OSPF-YANG</a>]
Yeung, D., Qu, Y., Zhang, J., Chen, I., and A. Lindem,
"Yang Data Model for OSPF Protocol", Work in Progress,
<a href="./draft-ietf-ospf-yang-10">draft-ietf-ospf-yang-10</a>, March 2018.
[<a id="ref-PYANG">PYANG</a>] "pyang", February 2018,
<<a href="https://github.com/mbj4668/pyang">https://github.com/mbj4668/pyang</a>>.
[<a id="ref-RFC7407">RFC7407</a>] Bjorklund, M. and J. Schoenwaelder, "A YANG Data Model for
SNMP Configuration", <a href="./rfc7407">RFC 7407</a>, DOI 10.17487/RFC7407,
December 2014, <<a href="https://www.rfc-editor.org/info/rfc7407">https://www.rfc-editor.org/info/rfc7407</a>>.
[<a id="ref-RFC7950">RFC7950</a>] Bjorklund, M., Ed., "The YANG 1.1 Data Modeling Language",
<a href="./rfc7950">RFC 7950</a>, DOI 10.17487/RFC7950, August 2016,
<<a href="https://www.rfc-editor.org/info/rfc7950">https://www.rfc-editor.org/info/rfc7950</a>>.
[<a id="ref-RFC8040">RFC8040</a>] Bierman, A., Bjorklund, M., and K. Watsen, "RESTCONF
Protocol", <a href="./rfc8040">RFC 8040</a>, DOI 10.17487/RFC8040, January 2017,
<<a href="https://www.rfc-editor.org/info/rfc8040">https://www.rfc-editor.org/info/rfc8040</a>>.
[<a id="ref-RFC8343">RFC8343</a>] Bjorklund, M., "A YANG Data Model for Interface
Management", <a href="./rfc8343">RFC 8343</a>, DOI 10.17487/RFC8343, March 2018,
<<a href="https://www.rfc-editor.org/info/rfc8343">https://www.rfc-editor.org/info/rfc8343</a>>.
[<a id="ref-SCHEMA-MOUNT">SCHEMA-MOUNT</a>]
Bjorklund, M. and L. Lhotka, <a style="text-decoration: none" href='https://www.google.com/search?sitesearch=datatracker.ietf.org%2Fdoc%2Fhtml%2F&q=inurl:draft-+%22YANG+Schema+Mount%22'>"YANG Schema Mount"</a>, Work in
Progress, <a href="./draft-ietf-netmod-schema-mount-08">draft-ietf-netmod-schema-mount-08</a>, October 2017.
<span class="grey">Bjorklund & Berger Best Current Practice [Page 12]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-13" ></span>
<span class="grey"><a href="./rfc8340">RFC 8340</a> YANG Tree Diagrams March 2018</span>
[<a id="ref-YANG-NIs">YANG-NIs</a>] Berger, L., Hopps, C., Lindem, A., Bogdanovic, D., and X.
Liu, "YANG Model for Network Instances", Work in
Progress, <a href="./draft-ietf-rtgwg-ni-model-11">draft-ietf-rtgwg-ni-model-11</a>, March 2018.
[<a id="ref-YANG-Routing">YANG-Routing</a>]
Lhotka, L., Lindem, A., and Y. Qu, "A YANG Data Model for
Routing Management (NMDA Version)", Work in Progress,
<a href="./draft-ietf-netmod-rfc8022bis-11">draft-ietf-netmod-rfc8022bis-11</a>, January 2018.
Authors' Addresses
Martin Bjorklund
Tail-f Systems
Email: mbj@tail-f.com
Lou Berger (editor)
LabN Consulting, L.L.C.
Email: lberger@labn.net
Bjorklund & Berger Best Current Practice [Page 13]
</pre>
|