Tree
module: mod-1
grouping parms
+-- mod-con-1
| +-- mod-leaf-1-1? uint32
| +-- mod-leaf-1-2? uint32
+-- mod-con-2
+-- mod-leaf-2-1? uint32
+-- mod-leaf-2-2? uint32
+-- (mod-choice)?
+--:(wildcard)
| +-- wildcard? empty
+--:(stream-handle)
+-- stream-handle? empty
module: mod-2
+--rw mod-con-1
| +--rw mod-leaf-1-1? uint32
| +--rw mod-leaf-1-2? uint32
+--rw mod-con-2
+--rw mod-leaf-2-1? uint32
+--rw mod-leaf-2-2? uint32
+--rw (mod-choice)?
+--:(wildcard)
| +--rw wildcard? empty
+--:(stream-handle)
| +--rw stream-handle? empty
+--:(null-handle)
+--rw null-handle? empty
module mod-1 {
yang-version "1.1";
namespace
urn:ieee:exp:yang:mod-1;
prefix m1;
organization
"IEEE";
contact
"IEEE";
description
"augment test module 1";
revision 2021-03-01 {
description
"module 1";
}
grouping parms {
description
"parms";
container mod-con-1 {
description "mod-con-1";
leaf mod-leaf-1-1 {
type uint32;
description
"mod-leaf-1-1";
}
leaf mod-leaf-1-2 {
type uint32;
description
"mod-leaf-1-2";
}
}
container mod-con-2 {
description "mod-con-2";
leaf mod-leaf-2-1 {
type uint32;
description
"mod-leaf-2-1";
}
leaf mod-leaf-2-2 {
type uint32;
description
"mod-leaf-2-1";
}
choice mod-choice {
description "mod-choice";
case wildcard {
leaf wildcard {
type empty;
description
"wildcard";
}
}
case stream-handle {
leaf stream-handle {
type empty;
description
"stream-handle";
}
}
}
}
}
}
module mod-2 {
yang-version "1.1";
namespace
urn:ieee:exp:yang:mod-2;
prefix m2;
import mod-1 {
prefix m1;
}
organization
"IEEE";
contact
"IEEE";
description
"augment test module 2";
revision 2021-03-01 {
description
"module 2";
}
uses m1:parms {
augment
"mod-con-2/mod-choice" {
case null-handle {
leaf null-handle {
type empty;
description
"null-handle";
}
}
}
}
}