Subject: [netmod] 6087bis update

From: Kent Watsen <[email-masked]>
Date: Fri, 3 Mar 2017 16:30:27 +0000

Hi Andy,

Lou and I just noticed that Section 3 (YANG Tree Diagrams) is out of
date, as it is missing notation described by `pyang --tree-help` (see
below).  Since this draft is still in AD Review, can you please be
sure to update this section, either now or along with the next update?

Thanks,
Kent    // shepherd

# pyang --tree-help

Each node 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
    ro  for non-configuration data
    -x  for rpcs and actions
    -n  for notifications

  <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>.

  <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

  <type> is the name of the type for leafs and leaf-lists

    If the type is a leafref, the type is printed as "-> TARGET", where
    TARGET is either the leafref path, with prefixed removed if possible.

  <if-features> is the list of features this node depends on, printed
    within curly brackets and a question mark "{...}?"