blob: d5f346ea1d94b98ec07bc4d0044cc9fb4df6aea5 [file] [log] [blame]
module Test {
yang-version 1;
namespace http://huawei.com;
prefix Ant;
import ietf-yang-types {
prefix "P";
}
typedef Percentage {
type int32;
}
container ospf {
list valid {
key "invalid-interval";
leaf invalid-interval {
type Ant:FirstClass;
}
typedef FirstClass {
type P:PassingClass;
}
}
typedef PassingClass {
type Ant:Percentage;
}
}
}