I was looking at 
draft-ietf-opsawg-l2nm-15
where

s.7.5.2 has
   +--rw (signaling-option)?              choice
       |     +--:(bgp)                            case
       |     |  ...                                choice bgp-type
       |     +--:(ldp-or-l2tp)                    case

so I expect to see
  choice signaling-option   which I do on page 87
  case bgp                  also on page 87
  ....
  case ldp-or-l2tp          nowhere to be seen.

Some of you will guess what has happened, others of you with a few minutes to 
spare may want to take a look and work it out.  It took me quite a while and it 
would have been much easier if I could link the tree diagram (snippets) to the 
YANG module.  (It could have been worse, there could have been nested 
single-use groupings imported from another I-D but even so it took long 
enough:-(

The answer for me is more comment lines, in the module and in the tree diagram 
so that the     two can be linked together.

Tom Petch

p.s. it is a container, which is valid YANG.
_______________________________________________
netmod mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/netmod

Reply via email to