Gitiles
Code Review
Sign In
gerrit.onosproject.org
/
onos-yang-tools
/
7980c2593f60620163ae139d1e9086b2590e5c01
/
.
/
compiler
/
base
/
parser
/
src
/
test
/
resources
/
LeafSubStatementWhen.yang
blob: f98076381f0bd5452de0f2a0e1175b8aaf704272 [
file
] [
log
] [
blame
]
module
Test
{
yang
-
version
1
;
namespace
http
:
//huawei.com;
prefix
Ant
;
leaf ifType
{
when
"ifType != ethernet"
{
description
"ifType is not ethernet"
;
}
type enumeration
{
enum
ethernet
;
enum
atm
;
}
}
}