123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122 |
- module ttt {
- namespace "urn:ttt";
- prefix ttt;
- import ietf-interfaces {
- prefix if;
- }
- leaf topleaf {
- type string;
- }
- leaf topleaf2 {
- type string;
- }
- leaf topempty {
- type empty;
- }
- container test {
- list iface {
- key "name";
- leaf name {
- type string;
- }
- leaf comment {
- type string;
- }
- leaf-list multi {
- type string;
- }
- leaf type {
- type enumeration {
- enum ethernet;
- enum ppp;
- enum dummy;
- }
- }
- leaf empty {
- type empty;
- }
- }
- }
- list acl {
- ordered-by user;
- key "name";
- leaf name {
- type string;
- }
- leaf iflink {
- type leafref {
- path "../../test/iface/name";
- }
- }
- leaf absiflink {
- type leafref {
- path "/if:interfaces/if:interface/if:name";
- }
- }
- leaf comment {
- type string;
- }
- leaf-list multi {
- ordered-by user;
- type leafref {
- path "../../test/iface/name";
- }
- }
- }
- list ref {
- ordered-by user;
- key "name";
- leaf name {
- type leafref {
- path "../../test/iface/name";
- }
- }
- }
- list rule {
- key "from to";
- leaf from {
- type string;
- }
- leaf to {
- type string;
- }
- leaf comment {
- type string;
- }
- leaf-list multi {
- ordered-by user;
- type string;
- }
- }
- }
|