Gitiles
Code Review
Sign In
gerrit.onosproject.org
/
onos-yang-tools
/
3a3e3260146f2486942e8087f8d2729be1e2eee0
/
.
/
plugin
/
maven
/
src
/
test
/
resources
/
MultiplePatternAndLengthRestrictionValid.yang
blob: 161b558a5b6303fe6157ea0240343b4638841070 [
file
] [
log
] [
blame
]
module
Test
{
yang
-
version
1
;
namespace
http
:
//huawei.com;
prefix
Ant
;
leaf invalid
-
interval
{
type hello
{
pattern
"[a-z]"
;
pattern
"[A-Z]"
;
length
"min..20 | 100..max"
;
}
}
typedef
hello
{
type
string
{
pattern
"[0-9]"
;
pattern
"[\n]"
;
}
}
}