Gitiles
Code Review
Sign In
gerrit.onosproject.org
/
onos-yang-tools
/
7c6d536a85dcaa3e9047517f388322e75464cc51
/
.
/
compiler
/
base
/
parser
/
src
/
test
/
resources
/
UniqueError.yang
blob: cd15de142ebced753f13e49b8002695f8d78720e [
file
] [
log
] [
blame
]
module
TestUnique
{
yang
-
version
1
;
namespace
http
:
//huawei.com;
prefix
Anim
;
list resources
{
key
"count"
;
leaf count
{
type
int
;
}
unique
"animal/mammal/abc"
;
container animal
{
list mammal
{
key
"abc"
;
leaf abc
{
type
"String"
;
}
}
}
}
}