mdsaltrace utility for debugging 78/59978/2
authorJosh <jhershbe@redhat.com>
Sun, 11 Dec 2016 08:47:46 +0000 (10:47 +0200)
committerRobert Varga <nite@hq.sk>
Fri, 14 Jul 2017 17:17:49 +0000 (17:17 +0000)
commit1734dccbd833a02b44cc41da1bdf2bf3954ffca6
tree1d346567a980fd20ebe3f388d7c9824b62bb9eef
parent3a10a45e0f78337435c8bc84015c4724a9fa7741
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