X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fmdsal-trace%2Fapi%2Fsrc%2Fmain%2Fyang%2Fmdsaltrace.yang;h=3761fa9c1da7318b47a8219e60d467e55ed7a124;hp=ce72da750811bea070d51aa69ff7aa3130e2bfe3;hb=3c955d3078711dfa8ca2daeeceac1cc6811df94a;hpb=0aae219a77e306178b6ea184fa3cbd8ad98e6bce;ds=sidebyside diff --git a/opendaylight/md-sal/mdsal-trace/api/src/main/yang/mdsaltrace.yang b/opendaylight/md-sal/mdsal-trace/api/src/main/yang/mdsaltrace.yang index ce72da7508..3761fa9c1d 100644 --- a/opendaylight/md-sal/mdsal-trace/api/src/main/yang/mdsaltrace.yang +++ b/opendaylight/md-sal/mdsal-trace/api/src/main/yang/mdsaltrace.yang @@ -18,11 +18,22 @@ 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. + NB: This is a different property from the equally named one in etc/org.opendaylight.controller.cluster.datastore.cfg; + that one does something somewhat similar, but serves to include the stack trace on failed transaction submit, + whereas this one is specific to odl-mdsal-trace's trace:transaction leak troubleshooting command."; + // This ^^^ description is also copy/pasted in mdsaltrace_config.xml, and should be kept in line.] + } } }