Added path to child nodes in documentation generator.
[mdsal.git] / code-generator / maven-sal-api-gen-plugin / src / test / resources / doc-gen / network-topology@2013-07-12.yang
index fb18be46bca2eb00e8d9542116d990ad82269d9d..c22258baa237b6abb5615b679b54cafe86d265fe 100644 (file)
@@ -277,6 +277,29 @@ module network-topology  {
                     that serve a purpose other than identifying a particular 
                     topology type.  
                 ";
+                choice node-type {
+                    case type1 {
+                        container c1 {
+                            leaf id {
+                                type int8;
+                            }
+                        }
+                    }
+                    case type2 {
+                        container c2 {
+                            container cc2 {}
+                        }
+                    }
+                    case type3 {
+                        list c3 {
+                            container cc3 {
+                                leaf id {
+                                    type string;
+                                }
+                            }
+                        }
+                    }
+                }
             }   
             list underlay-topology {
                 key "topology-ref";