123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108 |
- module ttt {
- namespace "urn:ttt";
- prefix ttt;
- import ietf-interfaces {
- prefix ietf-interfaces;
- }
- 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 "/ietf-interfaces:interfaces/ietf-interfaces:interface/ietf-interfaces:name";
- }
- }
- leaf comment {
- type string;
- }
- leaf-list multi {
- ordered-by user;
- type string;
- }
- }
- 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;
- }
- }
- }
|