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