Cache mismatched augmentations 24/77724/3
authorRobert Varga <robert.varga@pantheon.tech>
Tue, 13 Nov 2018 14:13:41 +0000 (15:13 +0100)
committerTom Pantelis <tompantelis@gmail.com>
Tue, 13 Nov 2018 23:50:21 +0000 (23:50 +0000)
commit9aa1ca4f5147192fe204f5c069e7d25ac8fb4c60
tree0a7b69e88e6b268f282bb0669d8e6f22198783c2
parent43930b8b003788cb676d4d6c7a321ddc8502226e
Cache mismatched augmentations

Address a FIXME around caching of mismatched augmentations, as it
seems openflowplugin is doing this on purpose.

The cache is expected to be needed infrequently in terms of associated
objects as well as modified infrequently, hence we use a space-efficient
ImmutableMap.

JIRA: MDSAL-388
Change-Id: Id86d8c713ee1014d9d4867558032ba3ccd51fc45
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
binding/mdsal-binding-dom-codec/src/main/java/org/opendaylight/mdsal/binding/dom/codec/impl/DataObjectCodecContext.java