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";
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;
+ }
+ }
+ }
+}
+