X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;ds=sidebyside;f=binding%2Fmdsal-binding-test-model%2Fsrc%2Fmain%2Fyang%2Fopendaylight-test-notification.yang;h=ed3cf36922e4c658b35fd8d1c31b5afa4677156b;hb=480afab4e0a0eb8d64367c0bd12fa3ec892a3383;hp=31ec7aed619c84984c69e0d8b23b835b00b839ed;hpb=8b2c0fd9cde2d277cff6e4cef0b5a1f9672e1d01;p=mdsal.git diff --git a/binding/mdsal-binding-test-model/src/main/yang/opendaylight-test-notification.yang b/binding/mdsal-binding-test-model/src/main/yang/opendaylight-test-notification.yang index 31ec7aed61..ed3cf36922 100644 --- a/binding/mdsal-binding-test-model/src/main/yang/opendaylight-test-notification.yang +++ b/binding/mdsal-binding-test-model/src/main/yang/opendaylight-test-notification.yang @@ -1,5 +1,5 @@ module opendaylight-test-notification { - yang-version 1; + yang-version 1.1; namespace "urn:opendaylight:params:xml:ns:yang:controller:md:sal:test:bi:ba:notification"; prefix "ntf"; @@ -22,4 +22,36 @@ module opendaylight-test-notification { type uint16; } } -} \ No newline at end of file + + container wood { + typedef tree-id { + type uint64; + } + + grouping tree-fell-properties { + // There might have been a mime around, do you care? + leaf hit-mime { + type boolean; + } + } + + notification a-tree-fell { + leaf tree-id { + type tree-id; + } + uses tree-fell-properties; + } + + list tree { + leaf id { + type tree-id; + } + key id; + + notification i-fell { + uses tree-fell-properties; + } + } + } +} +