Gitiles
Code Review
Sign In
gerrit.onosproject.org
/
onos
/
125952302eee7bce92802cebf4757464bebfc405
/
.
/
utils
/
yangutils
/
src
/
test
/
resources
/
LengthRestrictionInTypedefAndTypeValid.yang
blob: eca2691a4ec3fcf9922044f256bca5491c313cf8 [
file
] [
log
] [
blame
]
module
Test
{
yang
-
version
1
;
namespace
http
:
//huawei.com;
prefix
Ant
;
leaf invalid
-
interval
{
type hello
{
length
"min..20 | 201..max"
;
}
}
typedef
hello
{
type
string
{
length
"0..100 | 101..200 | 201..300"
;
}
}
}