Bug 9060: TracingBroker with transaction-debug-context-enabled
[controller.git] / opendaylight / md-sal / mdsal-trace / api / src / main / yang / mdsaltrace.yang
index ce72da750811bea070d51aa69ff7aa3130e2bfe3..5c6b09b5bf9db531d01e3b7ff48964ecc1c42b5e 100644 (file)
@@ -18,11 +18,18 @@ module mdsaltrace {
     }
 
     container config {
+        // TODO leaf enabled ...
         leaf-list registration-watches {
             type string;
         }
         leaf-list write-watches {
             type string;
         }
+        leaf transaction-debug-context-enabled {
+            default false;
+            type boolean;
+            description "Enable or disable transaction context debug. This will preserve the call site trace for
+                         transactions, so that the original caller of un-close'd() transaction can be identified";
+        }
     }
 }