Gitiles
Code Review
Sign In
gerrit.onosproject.org
/
onos-yang-tools
/
13b4c553b8dc2a3df32a37e0340128fcf40668d6
/
.
/
plugin
/
src
/
test
/
resources
/
LeafSubStatementWhen.yang
blob: 239e0b6ff6320a16a781ccc8759e833e57094480 [
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
;
}
}
}