mdsaltrace utility for debugging 12/49212/18
authorJosh <jhershbe@redhat.com>
Sun, 11 Dec 2016 08:47:46 +0000 (10:47 +0200)
committerMichael Vorburger <vorburger@redhat.com>
Thu, 11 May 2017 10:56:33 +0000 (10:56 +0000)
commit0aae219a77e306178b6ea184fa3cbd8ad98e6bce
tree09c2d2e55ba8b644982cd61019fbcd19d8e2cfc9
parente222d9f4a5b6957853cff9cf73987e6ce0ae3b24
mdsaltrace utility for debugging

Moved back to controller per decision from kernel meeting
a few weeks ago.

TracingBroker logs 'write' operations
and listener registrations to the md-sal. It logs the instance
identifier path, the objects themselves, as well as the stack trace of
the call invoking the registration or write operation. It works by
operating as a "bump on the stack" between the application and actual
DataBroker, intercepting write and registration calls and writing to the
log.`

+ karaf4

Change-Id: Ie7d27901429f6e7bcac7ff62e49e4e3115f5915f
Signed-off-by: Josh <jhershbe@redhat.com>
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
19 files changed:
opendaylight/md-sal/mdsal-artifacts/pom.xml
opendaylight/md-sal/mdsal-trace/api/pom.xml [new file with mode: 0644]
opendaylight/md-sal/mdsal-trace/api/src/main/java/org/opendaylight/controller/md/sal/trace/api/TracingDOMDataBroker.java [new file with mode: 0644]
opendaylight/md-sal/mdsal-trace/api/src/main/yang/mdsaltrace.yang [new file with mode: 0644]
opendaylight/md-sal/mdsal-trace/binding-impl/pom.xml [new file with mode: 0644]
opendaylight/md-sal/mdsal-trace/binding-impl/src/main/resources/org/opendaylight/blueprint/impl-blueprint.xml [new file with mode: 0644]
opendaylight/md-sal/mdsal-trace/deploy-site.xml [new file with mode: 0644]
opendaylight/md-sal/mdsal-trace/dom-impl/pom.xml [new file with mode: 0644]
opendaylight/md-sal/mdsal-trace/dom-impl/src/main/java/org/opendaylight/controller/md/sal/trace/dom/impl/TracingBroker.java [new file with mode: 0644]
opendaylight/md-sal/mdsal-trace/dom-impl/src/main/java/org/opendaylight/controller/md/sal/trace/dom/impl/TracingReadWriteTransaction.java [new file with mode: 0644]
opendaylight/md-sal/mdsal-trace/dom-impl/src/main/java/org/opendaylight/controller/md/sal/trace/dom/impl/TracingWriteTransaction.java [new file with mode: 0644]
opendaylight/md-sal/mdsal-trace/dom-impl/src/main/resources/org/opendaylight/blueprint/impl-blueprint.xml [new file with mode: 0644]
opendaylight/md-sal/mdsal-trace/features/features-mdsal-trace/pom.xml [new file with mode: 0644]
opendaylight/md-sal/mdsal-trace/features/features-mdsal-trace/src/main/features/features.xml [new file with mode: 0644]
opendaylight/md-sal/mdsal-trace/features/features4-mdsal-trace/pom.xml [new file with mode: 0644]
opendaylight/md-sal/mdsal-trace/features/odl-mdsal-trace/pom.xml [new file with mode: 0644]
opendaylight/md-sal/mdsal-trace/features/pom.xml [new file with mode: 0644]
opendaylight/md-sal/mdsal-trace/pom.xml [new file with mode: 0644]
opendaylight/md-sal/pom.xml