X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-rest-docgen%2Fsrc%2Ftest%2Fresources%2Fyang%2Ftoaster_short.yang;h=1a4d94d2d98f5310de23ed26373f0e5c2770489e;hb=9ba2b4eca79bcc0e78099b133296801c8d45a6c4;hp=9995a8f1271ea348b835fb8b296937797f944f6d;hpb=c2fd5f62f3b80a7e7b4b7e167349ede433e785d6;p=controller.git diff --git a/opendaylight/md-sal/sal-rest-docgen/src/test/resources/yang/toaster_short.yang b/opendaylight/md-sal/sal-rest-docgen/src/test/resources/yang/toaster_short.yang index 9995a8f127..1a4d94d2d9 100644 --- a/opendaylight/md-sal/sal-rest-docgen/src/test/resources/yang/toaster_short.yang +++ b/opendaylight/md-sal/sal-rest-docgen/src/test/resources/yang/toaster_short.yang @@ -3,7 +3,7 @@ yang-version 1; namespace - "http://netconfcentral.org/ns/toaster"; + "http://netconfcentral.org/ns/toaster2"; prefix toast; @@ -83,6 +83,13 @@ Microsoft Toaster."; } + list toasterSlot { + key "slotId"; + leaf slotId { + type string; + } + } + leaf toasterModelNumber { type DisplayString; config false; @@ -122,6 +129,39 @@ "The darkness factor. Basically, the number of ms to multiple the doneness value by."; } } // container toaster + + list lst { + container cont1 { + container cont11 { + leaf lf111 { + type uint32; + } + leaf lf112 { + type string; + } + } + list lst11 { + leaf lf111 { + type string; + } + } + } + list lst1 { + key "key1 key2"; + leaf key1 { + type int32; + } + leaf key2 { + type int8; + } + leaf lf11 { + type int16; + } + } + leaf lf1 { + type string; + } + } rpc make-toast { description